public static class AiExtractStructuredResponse.Builder extends NullableFieldTracker
| Modifier and Type | Field and Description |
|---|---|
protected AiAgentInfo |
aiAgentInfo |
protected Map<String,Object> |
answer |
protected String |
completionReason |
protected Map<String,Object> |
confidenceScore |
protected OffsetDateTime |
createdAt |
protected Map<String,Object> |
reference |
explicitlySetNullableFields| Constructor and Description |
|---|
Builder(Map<String,Object> answer,
OffsetDateTime createdAt) |
| Modifier and Type | Method and Description |
|---|---|
AiExtractStructuredResponse.Builder |
aiAgentInfo(AiAgentInfo aiAgentInfo) |
AiExtractStructuredResponse |
build() |
AiExtractStructuredResponse.Builder |
completionReason(String completionReason) |
AiExtractStructuredResponse.Builder |
confidenceScore(Map<String,Object> confidenceScore) |
AiExtractStructuredResponse.Builder |
reference(Map<String,Object> reference) |
getExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final OffsetDateTime createdAt
protected String completionReason
protected Map<String,Object> confidenceScore
protected AiAgentInfo aiAgentInfo
public Builder(Map<String,Object> answer, OffsetDateTime createdAt)
public AiExtractStructuredResponse.Builder completionReason(String completionReason)
public AiExtractStructuredResponse.Builder confidenceScore(Map<String,Object> confidenceScore)
public AiExtractStructuredResponse.Builder reference(Map<String,Object> reference)
public AiExtractStructuredResponse.Builder aiAgentInfo(AiAgentInfo aiAgentInfo)
public AiExtractStructuredResponse build()