Package com.uc4.api.objects
Class AIJobAttributes
java.lang.Object
com.uc4.api.objects.AIJobAttributes
Attributes of an AI Job.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the AI Connection object used by this Job.Returns the conversation context mode used by this AI Job.Returns the variable name used to store or retrieve the conversation id.Returns the variable name where the AI response will be stored.Returns the system prompt.getTools()Returns the configuration for AI tools.Returns the user prompt.voidsetConnection(String connection) Sets the name of the AI Connection object to be used by this Job.voidsetConversationContextMode(String conversationContextMode) Sets the conversation context mode for this AI Job.voidsetConversationIdVariable(String conversationIdVariable) Sets the variable name used to store or retrieve the conversation id.voidsetResponseVariable(String responseVariable) Sets the variable name where the AI response will be stored.voidsetSystemPrompt(String systemPrompt) Sets the system prompt.voidSets the AI tools configuration.voidsetUserPrompt(String userPrompt) Sets the user prompt.
-
Method Details
-
getConnection
Returns the name of the AI Connection object used by this Job. -
setConnection
Sets the name of the AI Connection object to be used by this Job. -
getTools
Returns the configuration for AI tools. -
setTools
Sets the AI tools configuration. -
getSystemPrompt
Returns the system prompt. -
setSystemPrompt
Sets the system prompt. -
getUserPrompt
Returns the user prompt. -
setUserPrompt
Sets the user prompt. -
getConversationIdVariable
Returns the variable name used to store or retrieve the conversation id. -
setConversationIdVariable
Sets the variable name used to store or retrieve the conversation id. -
getResponseVariable
Returns the variable name where the AI response will be stored. -
setResponseVariable
Sets the variable name where the AI response will be stored. -
getConversationContextMode
Returns the conversation context mode used by this AI Job.This value defines how the conversation context is handled, for example whether a new conversation is started or an existing conversation is continued.
- Returns:
- the conversation context mode, never null
-
setConversationContextMode
Sets the conversation context mode for this AI Job.The value controls how the conversation context is handled during execution, such as starting a new conversation or reusing an existing one.
- Parameters:
conversationContextMode- the conversation context mode to set
-