Class BetaManagedAgentsUserDefineOutcomeEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserDefineOutcomeEventEcho of a
user.define_outcomeinput event. Carries the server-generatedoutcome_idthat subsequentspan.outcome_evaluation_*events reference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsUserDefineOutcomeEvent.BuilderA builder for BetaManagedAgentsUserDefineOutcomeEvent.
public final classBetaManagedAgentsUserDefineOutcomeEvent.RubricRubric for grading the quality of an outcome.
public final classBetaManagedAgentsUserDefineOutcomeEvent.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final Stringdescription()What the agent should produce. final Optional<Integer>maxIterations()Evaluate-then-revise cycles before giving up. final StringoutcomeId()Server-generated outc_ID for this outcome.final OffsetDateTimeprocessedAt()A timestamp in RFC 3339 format final BetaManagedAgentsUserDefineOutcomeEvent.Rubricrubric()Rubric for grading the quality of an outcome. final BetaManagedAgentsUserDefineOutcomeEvent.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<Integer>_maxIterations()Returns the raw JSON value of maxIterations. final JsonField<String>_outcomeId()Returns the raw JSON value of outcomeId. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<BetaManagedAgentsUserDefineOutcomeEvent.Rubric>_rubric()Returns the raw JSON value of rubric. final JsonField<BetaManagedAgentsUserDefineOutcomeEvent.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsUserDefineOutcomeEvent.BuildertoBuilder()final BetaManagedAgentsUserDefineOutcomeEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsUserDefineOutcomeEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsUserDefineOutcomeEvent. -
-
Method Detail
-
description
final String description()
What the agent should produce. Copied from the input event.
-
maxIterations
final Optional<Integer> maxIterations()
Evaluate-then-revise cycles before giving up. Default 3, max 20.
-
outcomeId
final String outcomeId()
Server-generated
outc_ID for this outcome. Referenced byspan.outcome_evaluation_*events and the session'soutcome_evaluationslist.
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
rubric
final BetaManagedAgentsUserDefineOutcomeEvent.Rubric rubric()
Rubric for grading the quality of an outcome.
-
type
final BetaManagedAgentsUserDefineOutcomeEvent.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_maxIterations
final JsonField<Integer> _maxIterations()
Returns the raw JSON value of maxIterations.
Unlike maxIterations, this method doesn't throw if the JSON field has an unexpected type.
-
_outcomeId
final JsonField<String> _outcomeId()
Returns the raw JSON value of outcomeId.
Unlike outcomeId, this method doesn't throw if the JSON field has an unexpected type.
-
_processedAt
final JsonField<OffsetDateTime> _processedAt()
Returns the raw JSON value of processedAt.
Unlike processedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_rubric
final JsonField<BetaManagedAgentsUserDefineOutcomeEvent.Rubric> _rubric()
Returns the raw JSON value of rubric.
Unlike rubric, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsUserDefineOutcomeEvent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsUserDefineOutcomeEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsUserDefineOutcomeEvent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsUserDefineOutcomeEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsUserDefineOutcomeEvent.
The following fields are required:
.id() .description() .maxIterations() .outcomeId() .processedAt() .rubric() .type()
-
-
-
-