public class AiExtractStructuredResponse extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
AiExtractStructuredResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AiAgentInfo |
aiAgentInfo |
protected Map<String,Object> |
answer |
protected String |
completionReason
The reason the response finishes.
|
protected Map<String,Object> |
confidenceScore
The confidence score levels and numeric values for each extracted field as a JSON dictionary.
|
protected OffsetDateTime |
createdAt
The ISO date formatted timestamp of when the answer to the prompt was created.
|
protected Map<String,Object> |
reference
The reference for each extracted field as a JSON dictionary.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
AiExtractStructuredResponse(AiExtractStructuredResponse.Builder builder) |
|
AiExtractStructuredResponse(Map<String,Object> answer,
OffsetDateTime createdAt) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AiAgentInfo |
getAiAgentInfo() |
Map<String,Object> |
getAnswer() |
String |
getCompletionReason() |
Map<String,Object> |
getConfidenceScore() |
OffsetDateTime |
getCreatedAt() |
Map<String,Object> |
getReference() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final OffsetDateTime createdAt
protected String completionReason
protected Map<String,Object> confidenceScore
protected Map<String,Object> reference
protected AiAgentInfo aiAgentInfo
public AiExtractStructuredResponse(Map<String,Object> answer, OffsetDateTime createdAt)
protected AiExtractStructuredResponse(AiExtractStructuredResponse.Builder builder)
public OffsetDateTime getCreatedAt()
public String getCompletionReason()
public Map<String,Object> getConfidenceScore()
public Map<String,Object> getReference()
public AiAgentInfo getAiAgentInfo()