@BoxResourceType(value="ai_agent_text_gen") public class BoxAIAgentTextGen extends BoxAIAgent
BoxAIAgent.Mode
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The type of the AI Agent for generating text.
|
Constructor and Description |
---|
BoxAIAgentTextGen(BoxAIAgentTextGenBasicGen basicGen)
Constructs an AI agent with default settings.
|
BoxAIAgentTextGen(JsonObject jsonObject)
Constructs an AI agent with default settings.
|
Modifier and Type | Method and Description |
---|---|
BoxAIAgentTextGenBasicGen |
getBasicGen()
Gets the basic generator used for the AI Agent for generating text.
|
JsonObject |
getJSONObject() |
void |
setBasicGen(BoxAIAgentTextGenBasicGen basicGen)
Sets the basic generator used for the AI Agent for generating text.
|
getType, parse, setType
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public static final String TYPE
public BoxAIAgentTextGen(BoxAIAgentTextGenBasicGen basicGen)
basicGen
- The basic generator used for the AI Agent for generating text.public BoxAIAgentTextGen(JsonObject jsonObject)
jsonObject
- JSON object representing the AI agent.public BoxAIAgentTextGenBasicGen getBasicGen()
public void setBasicGen(BoxAIAgentTextGenBasicGen basicGen)
basicGen
- The basic generator used for the AI Agent for generating text.public JsonObject getJSONObject()
getJSONObject
in class BoxAIAgent