@BoxResourceType(value="ai_agent_extract_structured") public class BoxAIAgentExtractStructured extends BoxAIAgent
BoxAIAgent.Mode
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The type of the AI Ask agent.
|
Constructor and Description |
---|
BoxAIAgentExtractStructured(BoxAIAgentAskBasicText basicText,
BoxAIAgentAskLongText longText)
Constructs an AI agent with default settings.
|
BoxAIAgentExtractStructured(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 BoxAIAgentExtractStructured(BoxAIAgentAskBasicText basicText, BoxAIAgentAskLongText longText)
basicText
- AI agent tool used to handle basic text.longText
- AI agent tool used to handle longer text.public BoxAIAgentExtractStructured(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