@BoxResourceType(value="ai_agent_ask") public class BoxAIAgentAsk extends BoxAIAgent
BoxAIAgent.Mode
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The type of the AI Ask agent.
|
Constructor and Description |
---|
BoxAIAgentAsk(BoxAIAgentAskBasicText basicText,
BoxAIAgentAskBasicText basicTextMulti,
BoxAIAgentAskLongText longText,
BoxAIAgentAskLongText longTextMulti)
Constructs an AI agent with default settings.
|
BoxAIAgentAsk(JsonObject jsonObject)
Constructs an AI agent with default settings.
|
Modifier and Type | Method and Description |
---|---|
BoxAIAgentAskBasicText |
getBasicText()
Gets the AI agent tool used to handle basic text.
|
BoxAIAgentAskBasicText |
getBasicTextMulti()
Gets the AI agent tool used to handle basic text.
|
JsonObject |
getJSONObject() |
BoxAIAgentAskLongText |
getLongText()
Gets the AI agent tool used to handle longer text.
|
BoxAIAgentAskLongText |
getLongTextMulti()
Gets the AI agent tool used to handle longer text.
|
void |
setBasicText(BoxAIAgentAskBasicText basicText)
Sets the AI agent tool used to handle basic text.
|
void |
setBasicTextMulti(BoxAIAgentAskBasicText basicTextMulti)
Sets the AI agent tool used to handle basic text.
|
void |
setLongText(BoxAIAgentAskLongText longText)
Sets the AI agent tool used to handle longer text.
|
void |
setLongTextMulti(BoxAIAgentAskLongText longTextMulti)
Sets the AI agent tool used to handle longer text.
|
getType, parse, setType
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public static final String TYPE
public BoxAIAgentAsk(BoxAIAgentAskBasicText basicText, BoxAIAgentAskBasicText basicTextMulti, BoxAIAgentAskLongText longText, BoxAIAgentAskLongText longTextMulti)
basicText
- AI agent tool used to handle basic text.basicTextMulti
- AI agent tool used to handle basic text.longText
- AI agent tool used to handle longer text.longTextMulti
- AI agent tool used to handle longer text.public BoxAIAgentAsk(JsonObject jsonObject)
jsonObject
- JSON object representing the AI agent.public BoxAIAgentAskBasicText getBasicText()
public void setBasicText(BoxAIAgentAskBasicText basicText)
basicText
- The AI agent tool used to handle basic text.public BoxAIAgentAskBasicText getBasicTextMulti()
public void setBasicTextMulti(BoxAIAgentAskBasicText basicTextMulti)
basicTextMulti
- The AI agent tool used to handle basic text.public BoxAIAgentAskLongText getLongText()
public void setLongText(BoxAIAgentAskLongText longText)
longText
- The AI agent tool used to handle longer text.public BoxAIAgentAskLongText getLongTextMulti()
public void setLongTextMulti(BoxAIAgentAskLongText longTextMulti)
longTextMulti
- The AI agent tool used to handle longer text.public JsonObject getJSONObject()
getJSONObject
in class BoxAIAgent