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.RubricRubric for grading the quality of an outcome.
public final classBetaManagedAgentsUserDefineOutcomeEventParams.Type
-
Method Summary
-
-
Method Detail
-
description
final String description()
What the agent should produce. This is the task specification.
-
rubric
final BetaManagedAgentsUserDefineOutcomeEventParams.Rubric rubric()
Rubric for grading the quality of an outcome.
-
type
final BetaManagedAgentsUserDefineOutcomeEventParams.Type type()
-
maxIterations
final Optional<Integer> maxIterations()
Eval→revision cycles before giving up. Default 3, max 20.
-
_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.
-
_type
final JsonField<BetaManagedAgentsUserDefineOutcomeEventParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, 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() .type()
-
-
-
-