public class BoxAIExtractStructuredResponse extends BoxJSONObject
| Constructor and Description |
|---|
BoxAIExtractStructuredResponse(String json)
Constructs a BoxAIResponse object.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
getAnswer()
Gets the answer of the AI.
|
String |
getCompletionReason()
Gets reason the response finishes.
|
Date |
getCreatedAt()
Gets the ISO date formatted timestamp of when the answer to the prompt was created.
|
JsonObject |
getSourceJson()
Gets the source JSON of the AI response.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObjectpublic BoxAIExtractStructuredResponse(String json)
public JsonObject getSourceJson()
public JsonObject getAnswer()
public String getCompletionReason()
public Date getCreatedAt()