public class AiAsk extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
AiAsk.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AiAskAgent |
aiAgent |
protected List<AiDialogueHistory> |
dialogueHistory
The history of prompts and answers previously passed to the LLM.
|
protected Boolean |
includeCitations
A flag to indicate whether citations should be returned.
|
protected List<AiItemAsk> |
items
The items to be processed by the LLM, often files.
|
protected EnumWrapper<AiAskModeField> |
mode
Box AI handles text documents with text representations up to 1MB in size, or a maximum of 25
files, whichever comes first.
|
protected String |
prompt
The prompt provided by the client to be answered by the LLM.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
AiAsk(AiAsk.Builder builder) |
|
AiAsk(AiAskModeField mode,
String prompt,
List<AiItemAsk> items) |
|
AiAsk(EnumWrapper<AiAskModeField> mode,
String prompt,
List<AiItemAsk> items) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AiAskAgent |
getAiAgent() |
List<AiDialogueHistory> |
getDialogueHistory() |
Boolean |
getIncludeCitations() |
List<AiItemAsk> |
getItems() |
EnumWrapper<AiAskModeField> |
getMode() |
String |
getPrompt() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final EnumWrapper<AiAskModeField> mode
protected final String prompt
protected List<AiDialogueHistory> dialogueHistory
protected Boolean includeCitations
protected AiAskAgent aiAgent
public AiAsk(AiAskModeField mode, String prompt, List<AiItemAsk> items)
public AiAsk(EnumWrapper<AiAskModeField> mode, String prompt, List<AiItemAsk> items)
protected AiAsk(AiAsk.Builder builder)
public EnumWrapper<AiAskModeField> getMode()
public List<AiDialogueHistory> getDialogueHistory()
public Boolean getIncludeCitations()
public AiAskAgent getAiAgent()