Package com.tnsai.agents.async
Class ChatOptions
java.lang.Object
com.tnsai.agents.async.ChatOptions
Options for asynchronous chat operations.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatOptions.Builderbuilder()Creates a new builder.static ChatOptionsdefaults()Creates default options.Gets the optional conversation history.Gets the optional max tokens override.Gets the optional system prompt.Gets the optional temperature override.Gets the timeout duration.booleanisStream()Returns true if streaming is enabled.booleanReturns true if tools should be used.
-
Method Details
-
getSystemPrompt
Gets the optional system prompt. -
getHistory
Gets the optional conversation history. -
getTemperature
Gets the optional temperature override. -
getMaxTokens
Gets the optional max tokens override. -
getTimeout
Gets the timeout duration. -
isStream
public boolean isStream()Returns true if streaming is enabled. -
isUseTools
public boolean isUseTools()Returns true if tools should be used. -
defaults
Creates default options. -
builder
Creates a new builder.
-