Index

A B C D E F G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

applyOptions(OllamaRequest, GenerateOptions, GenerateOptions) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
applyOptions(OllamaRequest, GenerateOptions, GenerateOptions) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
applyOptions(OllamaRequest, GenerateOptions, GenerateOptions) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
Apply GenerateOptions to OllamaRequest.
applyOptions(OllamaRequest, OllamaOptions, OllamaOptions) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
Apply OllamaOptions to the request.
applyOptions(OllamaRequest, OllamaOptions, OllamaOptions) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
Apply OllamaOptions to the request.
applyOptions(OllamaRequest, OllamaOptions, OllamaOptions) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
Apply OllamaOptions to OllamaRequest.
applyToolChoice(OllamaRequest, ToolChoice) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
applyToolChoice(OllamaRequest, ToolChoice) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
applyToolChoice(OllamaRequest, ToolChoice) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
Apply tool choice configuration to OllamaRequest.
applyTools(OllamaRequest, List<ToolSchema>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
applyTools(OllamaRequest, List<ToolSchema>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
applyTools(OllamaRequest, List<ToolSchema>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
Apply tools to OllamaRequest.

B

baseUrl(String) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 
baseUrl(String) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient.Builder
 
build() - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential.Builder
 
build() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
build() - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 
build() - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient.Builder
 
build() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
builder() - Static method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential
 
builder() - Static method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
builder() - Static method in class io.agentscope.extensions.model.ollama.OllamaChatModel
Creates a new builder for OllamaChatModel.
builder() - Static method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Create a new builder for OllamaHttpClient.
builder() - Static method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
Builder() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
Builder() - Constructor for class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 
Builder() - Constructor for class io.agentscope.extensions.model.ollama.OllamaHttpClient.Builder
 
Builder() - Constructor for class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
buildRequest(String, List<OllamaMessage>, boolean, OllamaOptions, OllamaOptions, List<ToolSchema>, ToolChoice) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
Build a complete OllamaRequest for the API call.
buildRequest(String, List<OllamaMessage>, boolean, OllamaOptions, OllamaOptions, List<ToolSchema>, ToolChoice) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
Build a complete OllamaRequest for the API call.

C

call(String, Object) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Make a synchronous API call to specific endpoint.
call(String, Object, Class<T>) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Make a synchronous API call to specific endpoint with custom response type.
chat(OllamaRequest) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Make a synchronous Chat API call.
chat(List<Msg>, GenerateOptions) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel
Chat with the model using default options.
chat(List<Msg>, OllamaOptions) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel
Chat with the model using Ollama-specific options.
CHAT_ENDPOINT - Static variable in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Chat API endpoint.
close() - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Close the transport.
contextWindowSize(int) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 
convertImageBlockToBase64(ImageBlock) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMediaConverter
Convert ImageBlock to Base64 string for Ollama API.
convertMessage(Msg) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMessageConverter
Converts an AgentScope Msg object to an OllamaMessage object.
convertToolCalls(List<ToolUseBlock>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
Convert ToolUseBlock list to OllamaToolCall list.
convertToolResultToString(List<ContentBlock>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
Convert list of content blocks (usually from tool result) to string.
convertTools(List<ToolSchema>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
Converts a list of AgentScope ToolSchema objects to OllamaTool objects.
copy() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
create(String) - Method in class io.agentscope.extensions.model.ollama.OllamaModelProvider
 
create(String, ModelCreationContext) - Method in class io.agentscope.extensions.model.ollama.OllamaModelProvider
 

D

DEFAULT_BASE_URL - Static variable in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Default base URL for Ollama API.
defaultOptions(OllamaOptions) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 
deserialize(JsonParser, DeserializationContext) - Method in class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkOptionDeserializer
 
DISABLED - Static variable in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Constant representing the disabled state for thinking.
doFormat(List<Msg>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
doFormat(List<Msg>) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel
 

E

embed(OllamaEmbeddingRequest) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Make a synchronous Embed API call.
EMBED_ENDPOINT - Static variable in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Embed API endpoint.
enabled() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Returns the value of the enabled record component.
ENABLED - Static variable in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Constant representing the enabled state for thinking.
equals(Object) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
equals(Object) - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Indicates whether some other object is "equal to" this one.
executionConfig(ExecutionConfig) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

F

F16_KV - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
f16KV(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
format(Object) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
format(Object) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
FORMAT - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
formatter(Formatter<OllamaMessage, OllamaResponse, OllamaRequest>) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 
FREQUENCY_PENALTY - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
frequencyPenalty(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
fromGenerateOptions(GenerateOptions) - Static method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
Converts generic GenerateOptions to OllamaOptions.
fromOptions(OllamaOptions) - Static method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 

G

getArguments() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaFunction
 
getBaseUrl() - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Get the base URL.
getChatModelClass() - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential
 
getContent() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getCreatedAt() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getDescription() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
getDone() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getDoneReason() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getEmbeddings() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
getError() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getEvalCount() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getEvalDuration() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getExecutionConfig() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getF16KV() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getFormat() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getFormat() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getFrequencyPenalty() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getFunction() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaTool
 
getFunction() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolCall
 
getHost() - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential
 
getImages() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getInput() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
getKeepAlive() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
getKeepAlive() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getKeepAlive() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getKey() - Method in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
getLoadDuration() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
getLoadDuration() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getLogitsAll() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getLowVRAM() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getMainGPU() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getMaxTokens() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getMessage() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getMessages() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getMinP() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getMirostat() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getMirostatEta() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getMirostatTau() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getModel() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
getModel() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
getModel() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getModel() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getModel() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getModelName() - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel
 
getName() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaFunction
 
getName() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getName() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
getNumBatch() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getNumCtx() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getNumGPU() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getNumKeep() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getNumPredict() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getNumThread() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getOptions() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
getOptions() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getParameters() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
getPenalizeNewline() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getPresencePenalty() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getPromptEvalCachedCount() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getPromptEvalCount() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
getPromptEvalCount() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getPromptEvalDuration() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getRepeatLastN() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getRepeatPenalty() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getResponseBody() - Method in exception io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
 
getRole() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getSeed() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getStatusCode() - Method in exception io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
 
getStop() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getStopSequences() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getStream() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getTemperature() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getTfsZ() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getThink() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getThinking() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getThinkOption() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getToolCallId() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getToolCalls() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
getToolChoice() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getTools() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
getTopK() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getTopP() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getTotalDuration() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
getTotalDuration() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
getTruncate() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
getTruncate() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getType() - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential
 
getType() - Method in class io.agentscope.extensions.model.ollama.dto.OllamaTool
 
getTypicalP() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getUseMLock() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getUseMMap() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getUseNUMA() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
getVocabOnly() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 

H

hashCode() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
hashCode() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Returns a hash code value for this object.
hashCode() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Returns a hash code value for this object.
HIGH - Static variable in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Predefined constant for high-effort thinking.
host(String) - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential.Builder
 
httpTransport(HttpTransport) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
Sets the HTTP transport to use.

I

id(String) - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential.Builder
 
io.agentscope.extensions.model.ollama - package io.agentscope.extensions.model.ollama
 
io.agentscope.extensions.model.ollama.credential - package io.agentscope.extensions.model.ollama.credential
 
io.agentscope.extensions.model.ollama.dto - package io.agentscope.extensions.model.ollama.dto
 
io.agentscope.extensions.model.ollama.formatter - package io.agentscope.extensions.model.ollama.formatter
 
io.agentscope.extensions.model.ollama.options - package io.agentscope.extensions.model.ollama.options
 
isStreaming() - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel
 

K

KEEP_ALIVE - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
keepAlive(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
keepAlive(String) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

L

level() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Returns the value of the level record component.
LOGITS_ALL - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
logitsAll(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
LOW - Static variable in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Predefined constant for low-effort thinking.
LOW_VRAM - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
lowVRAM(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

M

MAIN_GPU - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
mainGPU(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
MEDIUM - Static variable in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Predefined constant for medium-effort thinking.
merge(GenerateOptions) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
Merges the given GenerateOptions into a new instance, with the given options taking precedence.
merge(OllamaOptions) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
Merges the given options into a new instance, with the given options taking precedence.
mergeToMessage(List<Msg>, Function<Msg, String>, Function<List<ContentBlock>, String>, String) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaConversationMerger
 
messages(List<OllamaMessage>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
MIN_P - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
minP(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
mirostat(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
MIROSTAT - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
MIROSTAT_ETA - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
MIROSTAT_TAU - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
mirostatEta(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
mirostatTau(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
model(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
model(String) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
MODEL - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
modelName(String) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
 

N

NUM_BATCH - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
NUM_CTX - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
NUM_GPU - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
NUM_KEEP - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
NUM_PREDICT - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
NUM_THREAD - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
NUMA - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
numBatch(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
numCtx(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
numGPU(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
numKeep(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
numPredict(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
numThread(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

O

OllamaChatFormatter - Class in io.agentscope.extensions.model.ollama.formatter
Formatter for Ollama Chat API.
OllamaChatFormatter() - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
OllamaChatFormatter(boolean) - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
OllamaChatModel - Class in io.agentscope.extensions.model.ollama
AgentScope ChatModel implementation for Ollama.
OllamaChatModel(String, String, OllamaOptions) - Constructor for class io.agentscope.extensions.model.ollama.OllamaChatModel
Creates a new OllamaChatModel with default settings.
OllamaChatModel(String, String, OllamaOptions, Formatter<OllamaMessage, OllamaResponse, OllamaRequest>, HttpTransport) - Constructor for class io.agentscope.extensions.model.ollama.OllamaChatModel
Creates a new OllamaChatModel.
OllamaChatModel(String, String, OllamaOptions, Formatter<OllamaMessage, OllamaResponse, OllamaRequest>, HttpTransport, boolean) - Constructor for class io.agentscope.extensions.model.ollama.OllamaChatModel
Creates a new OllamaChatModel with an explicit streaming mode.
OllamaChatModel.Builder - Class in io.agentscope.extensions.model.ollama
 
OllamaConversationMerger - Class in io.agentscope.extensions.model.ollama.formatter
Merges multi-agent conversation messages for Ollama API.
OllamaConversationMerger(String) - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaConversationMerger
 
OllamaCredential - Class in io.agentscope.extensions.model.ollama.credential
Credential for the Ollama local server (connection settings only).
OllamaCredential.Builder - Class in io.agentscope.extensions.model.ollama.credential
 
OllamaEmbeddingRequest - Class in io.agentscope.extensions.model.ollama.dto
Ollama embedding request DTO.
OllamaEmbeddingRequest() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
OllamaEmbeddingRequest(String, List<String>) - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
OllamaEmbeddingResponse - Class in io.agentscope.extensions.model.ollama.dto
Ollama embedding response DTO.
OllamaEmbeddingResponse() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
OllamaFunction - Class in io.agentscope.extensions.model.ollama.dto
Ollama function execution DTO.
OllamaFunction() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaFunction
 
OllamaFunction(String, Map<String, Object>) - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaFunction
 
OllamaHttpClient - Class in io.agentscope.extensions.model.ollama
HTTP client for Ollama API.
OllamaHttpClient(HttpTransport, String) - Constructor for class io.agentscope.extensions.model.ollama.OllamaHttpClient
Create a new OllamaHttpClient.
OllamaHttpClient.Builder - Class in io.agentscope.extensions.model.ollama
Builder for OllamaHttpClient.
OllamaHttpClient.OllamaHttpException - Exception in io.agentscope.extensions.model.ollama
Exception thrown when Ollama HTTP operations fail.
OllamaHttpException(String) - Constructor for exception io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
 
OllamaHttpException(String, int, String) - Constructor for exception io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
 
OllamaHttpException(String, String, String) - Constructor for exception io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
 
OllamaHttpException(String, Throwable) - Constructor for exception io.agentscope.extensions.model.ollama.OllamaHttpClient.OllamaHttpException
 
OllamaMediaConverter - Class in io.agentscope.extensions.model.ollama.formatter
Handles media content conversion for Ollama API.
OllamaMediaConverter() - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaMediaConverter
 
OllamaMessage - Class in io.agentscope.extensions.model.ollama.dto
Ollama chat message DTO.
OllamaMessage() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
OllamaMessage(String, String) - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
OllamaMessageConverter - Class in io.agentscope.extensions.model.ollama.formatter
Converter for transforming AgentScope Msg objects to OllamaMessage objects.
OllamaMessageConverter() - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaMessageConverter
 
OllamaModelProvider - Class in io.agentscope.extensions.model.ollama
Ollama provider registered through ServiceLoader.
OllamaModelProvider() - Constructor for class io.agentscope.extensions.model.ollama.OllamaModelProvider
 
OllamaMultiAgentFormatter - Class in io.agentscope.extensions.model.ollama.formatter
Ollama formatter for multi-agent conversations.
OllamaMultiAgentFormatter() - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
Create a OllamaMultiAgentFormatter with default conversation history prompt.
OllamaMultiAgentFormatter(boolean) - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
OllamaMultiAgentFormatter(String) - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
Create a OllamaMultiAgentFormatter with custom conversation history prompt.
OllamaMultiAgentFormatter(String, boolean) - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
OllamaOptions - Class in io.agentscope.extensions.model.ollama.options
AgentScope implementation of Ollama model configuration options.
OllamaOptions() - Constructor for class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
OllamaOptions.Builder - Class in io.agentscope.extensions.model.ollama.options
 
OllamaOptions.ParamKey - Enum Class in io.agentscope.extensions.model.ollama.options
Keys for Ollama parameters.
OllamaRequest - Class in io.agentscope.extensions.model.ollama.dto
Ollama chat request DTO.
OllamaRequest() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
OllamaRequest.Builder - Class in io.agentscope.extensions.model.ollama.dto
 
OllamaResponse - Class in io.agentscope.extensions.model.ollama.dto
Ollama chat response DTO.
OllamaResponse() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
OllamaResponseParser - Class in io.agentscope.extensions.model.ollama.formatter
Parser for converting OllamaResponse objects to AgentScope ChatResponse objects.
OllamaResponseParser() - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaResponseParser
 
OllamaTool - Class in io.agentscope.extensions.model.ollama.dto
Ollama tool definition DTO.
OllamaTool() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaTool
 
OllamaTool(OllamaToolFunction) - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaTool
 
OllamaToolCall - Class in io.agentscope.extensions.model.ollama.dto
Ollama tool call DTO.
OllamaToolCall() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaToolCall
 
OllamaToolCall(OllamaFunction) - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaToolCall
 
OllamaToolFunction - Class in io.agentscope.extensions.model.ollama.dto
Ollama tool function definition DTO.
OllamaToolFunction() - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
OllamaToolFunction(String, String, Map<String, Object>) - Constructor for class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
OllamaToolsHelper - Class in io.agentscope.extensions.model.ollama.formatter
Helper class for managing Ollama tool conversions and options application.
OllamaToolsHelper() - Constructor for class io.agentscope.extensions.model.ollama.formatter.OllamaToolsHelper
 
options(Map<String, Object>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 

P

parseResponse(OllamaResponse) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaResponseParser
Parses an OllamaResponse object into a ChatResponse object.
parseResponse(OllamaResponse, Instant) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaChatFormatter
 
parseResponse(OllamaResponse, Instant) - Method in class io.agentscope.extensions.model.ollama.formatter.OllamaMultiAgentFormatter
 
PENALIZE_NEWLINE - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
penalizeNewline(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
PRESENCE_PENALTY - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
presencePenalty(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
providerId() - Method in class io.agentscope.extensions.model.ollama.OllamaModelProvider
 
proxy(ProxyConfig) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
Sets the proxy configuration for HTTP traffic.

R

REPEAT_LAST_N - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
REPEAT_PENALTY - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
repeatLastN(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
repeatPenalty(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

S

seed(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
SEED - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
serialize(ThinkOption, JsonGenerator, SerializerProvider) - Method in class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkOptionSerializer
 
setArguments(Map<String, Object>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaFunction
 
setContent(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setCreatedAt(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setDescription(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
setDone(Boolean) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setDoneReason(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setEmbeddings(List<float[]>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
setError(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setEvalCount(Integer) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setEvalDuration(Long) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setExecutionConfig(ExecutionConfig) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setF16KV(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setFormat(Object) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setFormat(Object) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setFrequencyPenalty(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setFunction(OllamaFunction) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolCall
 
setFunction(OllamaToolFunction) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaTool
 
setImages(List<String>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setInput(List<String>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
setKeepAlive(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
setKeepAlive(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setKeepAlive(String) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setLoadDuration(Long) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
setLoadDuration(Long) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setLogitsAll(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setLowVRAM(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setMainGPU(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setMaxTokens(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setMessage(OllamaMessage) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setMessages(List<OllamaMessage>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setMinP(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setMirostat(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setMirostatEta(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setMirostatTau(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setModel(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
setModel(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
setModel(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setModel(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setModel(String) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setName(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaFunction
 
setName(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setName(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
setNumBatch(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setNumCtx(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setNumGPU(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setNumKeep(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setNumPredict(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setNumThread(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setOptions(Map<String, Object>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
setOptions(Map<String, Object>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setParameters(Map<String, Object>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaToolFunction
 
setPenalizeNewline(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setPresencePenalty(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setPromptEvalCachedCount(Integer) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setPromptEvalCount(Integer) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
setPromptEvalCount(Integer) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setPromptEvalDuration(Long) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setRepeatLastN(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setRepeatPenalty(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setRole(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setSeed(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setStop(List<String>) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setStopSequences(List<String>) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setStream(Boolean) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setTemperature(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setTfsZ(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setThink(Object) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setThinking(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setThinkOption(ThinkOption) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setToolCallId(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setToolCalls(List<OllamaToolCall>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaMessage
 
setToolChoice(Object) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setTools(List<OllamaTool>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest
 
setTopK(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setTopP(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setTotalDuration(Long) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingResponse
 
setTotalDuration(Long) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaResponse
 
setTruncate(Boolean) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaEmbeddingRequest
 
setTruncate(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setType(String) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaTool
 
setTypicalP(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setUseMLock(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setUseMMap(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setUseNUMA(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
setVocabOnly(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
stop(List<String>) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
STOP - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
stream(boolean) - Method in class io.agentscope.extensions.model.ollama.OllamaChatModel.Builder
Sets whether streaming should be enabled.
stream(OllamaRequest) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient
Make a streaming Chat API call.
stream(Boolean) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
supports(String) - Method in class io.agentscope.extensions.model.ollama.OllamaModelProvider
 

T

temperature(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
TEMPERATURE - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
TFS_Z - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
tfsZ(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
think(Object) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
THINK - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
ThinkBoolean(boolean) - Constructor for record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Creates an instance of a ThinkBoolean record class.
ThinkLevel(String) - Constructor for record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Constructs a new ThinkLevel with validation.
thinkOption(ThinkOption) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
ThinkOption - Interface in io.agentscope.extensions.model.ollama.options
Defines the configuration contract for the "thinking" capability (Chain of Thought) in AgentScope's Ollama integration.
ThinkOption.ThinkBoolean - Record Class in io.agentscope.extensions.model.ollama.options
Implementation of ThinkOption representing a binary state (Enabled/Disabled).
ThinkOption.ThinkLevel - Record Class in io.agentscope.extensions.model.ollama.options
Implementation of ThinkOption representing a specific level of reasoning effort.
ThinkOption.ThinkOptionDeserializer - Class in io.agentscope.extensions.model.ollama.options
Custom deserializer implementation for ThinkOption.
ThinkOption.ThinkOptionSerializer - Class in io.agentscope.extensions.model.ollama.options
Custom serializer implementation for ThinkOption.
ThinkOptionDeserializer() - Constructor for class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkOptionDeserializer
 
ThinkOptionSerializer() - Constructor for class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkOptionSerializer
 
toBuilder() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
 
toGenerateOptions() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
Converts this OllamaOptions to generic GenerateOptions.
toJsonValue() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
 
toJsonValue() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
 
toJsonValue() - Method in interface io.agentscope.extensions.model.ollama.options.ThinkOption
Transforms the current option into a format compatible with the Ollama JSON API.
toMap() - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions
Serializes the OllamaOptions into a Map representation.
toolChoice(Object) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
tools(List<OllamaTool>) - Method in class io.agentscope.extensions.model.ollama.dto.OllamaRequest.Builder
 
TOP_K - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
TOP_P - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
topK(Integer) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
topP(Double) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
toString() - Method in class io.agentscope.extensions.model.ollama.credential.OllamaCredential
 
toString() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkBoolean
Returns a string representation of this record class.
toString() - Method in record class io.agentscope.extensions.model.ollama.options.ThinkOption.ThinkLevel
Returns a string representation of this record class.
transport(HttpTransport) - Method in class io.agentscope.extensions.model.ollama.OllamaHttpClient.Builder
 
truncate(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
TRUNCATE - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
TYPE - Static variable in class io.agentscope.extensions.model.ollama.credential.OllamaCredential
 
TYPICAL_P - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
typicalP(Float) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

U

USE_MLOCK - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
USE_MMAP - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
useMLock(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
useMMap(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
useNUMA(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 

V

valueOf(String) - Static method in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
Returns an array containing the constants of this enum class, in the order they are declared.
VOCAB_ONLY - Enum constant in enum class io.agentscope.extensions.model.ollama.options.OllamaOptions.ParamKey
 
vocabOnly(Boolean) - Method in class io.agentscope.extensions.model.ollama.options.OllamaOptions.Builder
 
A B C D E F G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form