Class BetaManagedAgentsUserDefineOutcomeEventParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserDefineOutcomeEventParamsParameters for defining an outcome the agent should work toward. The agent begins work on receipt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsUserDefineOutcomeEventParams.BuilderA builder for BetaManagedAgentsUserDefineOutcomeEventParams.
public final classBetaManagedAgentsUserDefineOutcomeEventParams.RubricHow to grade the outcome. Text or file reference.
-
Method Summary
Modifier and Type Method Description final Stringdescription()What the agent should produce. final BetaManagedAgentsUserDefineOutcomeEventParams.Rubricrubric()How to grade the outcome. final Optional<Integer>maxIterations()Eval→revision cycles before giving up. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("user.define_outcome")final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<BetaManagedAgentsUserDefineOutcomeEventParams.Rubric>_rubric()Returns the raw JSON value of rubric. final JsonField<Integer>_maxIterations()Returns the raw JSON value of maxIterations. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsUserDefineOutcomeEventParams.BuildertoBuilder()final BetaManagedAgentsUserDefineOutcomeEventParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsUserDefineOutcomeEventParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsUserDefineOutcomeEventParams. -
-
Method Detail
-
description
final String description()
What the agent should produce. This is the task specification.
-
rubric
final BetaManagedAgentsUserDefineOutcomeEventParams.Rubric rubric()
How to grade the outcome. Text or file reference.
-
maxIterations
final Optional<Integer> maxIterations()
Eval→revision cycles before giving up. Default 3, max 20.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("user.define_outcome")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_rubric
final JsonField<BetaManagedAgentsUserDefineOutcomeEventParams.Rubric> _rubric()
Returns the raw JSON value of rubric.
Unlike rubric, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsUserDefineOutcomeEventParams.Builder toBuilder()
-
validate
final BetaManagedAgentsUserDefineOutcomeEventParams 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 BetaManagedAgentsUserDefineOutcomeEventParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsUserDefineOutcomeEventParams.
The following fields are required:
.description() .rubric()
-
-
-
-