Class AgentConnectionChatOptions
java.lang.Object
com.flowable.agent.engine.impl.model.agentconnection.AgentConnectionChatOptions
- All Implemented Interfaces:
org.springframework.ai.chat.prompt.ChatOptions, org.springframework.ai.model.ModelOptions, org.springframework.ai.model.tool.StructuredOutputChatOptions, org.springframework.ai.model.tool.ToolCallingChatOptions
public class AgentConnectionChatOptions
extends Object
implements org.springframework.ai.model.tool.ToolCallingChatOptions, org.springframework.ai.model.tool.StructuredOutputChatOptions
- Author:
- Prathamesh Mane
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.ai.chat.prompt.ChatOptions
org.springframework.ai.chat.prompt.ChatOptions.BuilderNested classes/interfaces inherited from interface org.springframework.ai.model.tool.ToolCallingChatOptions
org.springframework.ai.model.tool.ToolCallingChatOptions.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.ai.chat.model.ChatModelprotected final org.springframework.ai.chat.prompt.ChatOptionsFields inherited from interface org.springframework.ai.model.tool.ToolCallingChatOptions
DEFAULT_TOOL_EXECUTION_ENABLED -
Constructor Summary
ConstructorsConstructorDescriptionAgentConnectionChatOptions(org.springframework.ai.chat.prompt.ChatOptions chatOptions, org.springframework.ai.chat.model.ChatModel chatModel) -
Method Summary
Modifier and TypeMethodDescriptioncopy()org.springframework.ai.chat.model.ChatModelorg.springframework.ai.chat.prompt.ChatOptionsgetModel()List<org.springframework.ai.tool.ToolCallback> getTopK()getTopP()voidsetInternalToolExecutionEnabled(Boolean internalToolExecutionEnabled) voidsetOutputSchema(String outputSchema) voidsetToolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) voidsetToolContext(Map<String, Object> toolContext) voidsetToolNames(Set<String> toolNames)
-
Field Details
-
chatOptions
protected final org.springframework.ai.chat.prompt.ChatOptions chatOptions -
chatModel
protected final org.springframework.ai.chat.model.ChatModel chatModel
-
-
Constructor Details
-
AgentConnectionChatOptions
public AgentConnectionChatOptions(org.springframework.ai.chat.prompt.ChatOptions chatOptions, org.springframework.ai.chat.model.ChatModel chatModel)
-
-
Method Details
-
getChatOptions
public org.springframework.ai.chat.prompt.ChatOptions getChatOptions() -
getChatModel
public org.springframework.ai.chat.model.ChatModel getChatModel() -
getModel
- Specified by:
getModelin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getFrequencyPenalty
- Specified by:
getFrequencyPenaltyin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getMaxTokens
- Specified by:
getMaxTokensin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getPresencePenalty
- Specified by:
getPresencePenaltyin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getStopSequences
-
getTemperature
- Specified by:
getTemperaturein interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getTopK
- Specified by:
getTopKin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getTopP
- Specified by:
getTopPin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
copy
- Specified by:
copyin interfaceorg.springframework.ai.chat.prompt.ChatOptions
-
getToolCallbacks
- Specified by:
getToolCallbacksin interfaceorg.springframework.ai.model.tool.ToolCallingChatOptions
-
setToolCallbacks
- Specified by:
setToolCallbacksin interfaceorg.springframework.ai.model.tool.ToolCallingChatOptions
-
getToolNames
-
setToolNames
-
getInternalToolExecutionEnabled
- Specified by:
getInternalToolExecutionEnabledin interfaceorg.springframework.ai.model.tool.ToolCallingChatOptions
-
setInternalToolExecutionEnabled
- Specified by:
setInternalToolExecutionEnabledin interfaceorg.springframework.ai.model.tool.ToolCallingChatOptions
-
getToolContext
-
setToolContext
-
getOutputSchema
- Specified by:
getOutputSchemain interfaceorg.springframework.ai.model.tool.StructuredOutputChatOptions
-
setOutputSchema
- Specified by:
setOutputSchemain interfaceorg.springframework.ai.model.tool.StructuredOutputChatOptions
-