@BoxResourceType(value="ai_agent_extract") public class BoxAIAgentExtract extends BoxAIAgent
BoxAIAgent.Mode
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The type of the AI Ask agent.
|
Constructor and Description |
---|
BoxAIAgentExtract(BoxAIAgentAskBasicText basicText,
BoxAIAgentAskLongText longText)
Constructs an AI agent with default settings.
|
BoxAIAgentExtract(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.
|
JsonObject |
getJSONObject() |
BoxAIAgentAskLongText |
getLongText()
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 |
setLongText(BoxAIAgentAskLongText longText)
Sets the AI agent tool used to handle longer text.
|
getType, parse, setType
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public static final String TYPE
public BoxAIAgentExtract(BoxAIAgentAskBasicText basicText, BoxAIAgentAskLongText longText)
basicText
- AI agent tool used to handle basic text.longText
- AI agent tool used to handle longer text.public BoxAIAgentExtract(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 BoxAIAgentAskLongText getLongText()
public void setLongText(BoxAIAgentAskLongText longText)
longText
- The AI agent tool used to handle longer text.public JsonObject getJSONObject()
getJSONObject
in class BoxAIAgent