Class BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSpanOutcomeEvaluationEndEvent.BuilderA builder for BetaManagedAgentsSpanOutcomeEvaluationEndEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder id(String id)
Unique identifier for this event.
-
id
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
explanation
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder explanation(String explanation)
Human-readable explanation of the verdict. For
needs_revision, describes which criteria failed and why.
-
explanation
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder explanation(JsonField<String> explanation)
Sets Builder.explanation to an arbitrary JSON value.
You should usually call Builder.explanation with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
iteration
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder iteration(Integer iteration)
0-indexed revision cycle, matching the corresponding
span.outcome_evaluation_start.
-
iteration
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder iteration(JsonField<Integer> iteration)
Sets Builder.iteration to an arbitrary JSON value.
You should usually call Builder.iteration with a well-typed Int value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outcomeEvaluationStartId
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder outcomeEvaluationStartId(String outcomeEvaluationStartId)
The id of the corresponding
span.outcome_evaluation_startevent.
-
outcomeEvaluationStartId
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder outcomeEvaluationStartId(JsonField<String> outcomeEvaluationStartId)
Sets Builder.outcomeEvaluationStartId to an arbitrary JSON value.
You should usually call Builder.outcomeEvaluationStartId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outcomeId
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder outcomeId(String outcomeId)
The
outc_ID of the outcome being evaluated.
-
outcomeId
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder outcomeId(JsonField<String> outcomeId)
Sets Builder.outcomeId to an arbitrary JSON value.
You should usually call Builder.outcomeId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processedAt
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder processedAt(OffsetDateTime processedAt)
A timestamp in RFC 3339 format
-
processedAt
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder processedAt(JsonField<OffsetDateTime> processedAt)
Sets Builder.processedAt to an arbitrary JSON value.
You should usually call Builder.processedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
result
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder result(String result)
Evaluation verdict. 'satisfied': criteria met, session goes idle. 'needs_revision': criteria not met, another revision cycle follows. 'max_iterations_reached': evaluation budget exhausted with criteria still unmet — one final acknowledgment turn follows before the session goes idle, but no further evaluation runs. 'failed': grader determined the rubric does not apply to the deliverables. 'interrupted': user sent an interrupt while evaluation was in progress.
-
result
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder result(JsonField<String> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder type(BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Type type)
-
type
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder type(JsonField<BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
usage
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder usage(BetaManagedAgentsSpanModelUsage usage)
Token usage for a single model request.
-
usage
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder usage(JsonField<BetaManagedAgentsSpanModelUsage> usage)
Sets Builder.usage to an arbitrary JSON value.
You should usually call Builder.usage with a well-typed BetaManagedAgentsSpanModelUsage value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent build()
Returns an immutable instance of BetaManagedAgentsSpanOutcomeEvaluationEndEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .explanation() .iteration() .outcomeEvaluationStartId() .outcomeId() .processedAt() .result() .type() .usage()
-
-
-
-