Class BetaManagedAgentsDeploymentUserDefineOutcomeEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeploymentUserDefineOutcomeEventAn outcome the agent should work toward. The agent begins work on receipt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsDeploymentUserDefineOutcomeEvent.BuilderA builder for BetaManagedAgentsDeploymentUserDefineOutcomeEvent.
public final classBetaManagedAgentsDeploymentUserDefineOutcomeEvent.RubricHow to grade the outcome. Text or file reference.
-
Method Summary
Modifier and Type Method Description final Stringdescription()What the agent should produce. final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.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<BetaManagedAgentsDeploymentUserDefineOutcomeEvent.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 BetaManagedAgentsDeploymentUserDefineOutcomeEvent.BuildertoBuilder()final BetaManagedAgentsDeploymentUserDefineOutcomeEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsDeploymentUserDefineOutcomeEvent. -
-
Method Detail
-
description
final String description()
What the agent should produce. This is the task specification.
-
rubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.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<BetaManagedAgentsDeploymentUserDefineOutcomeEvent.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 BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent 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 BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsDeploymentUserDefineOutcomeEvent.
The following fields are required:
.description() .rubric()
-
-
-
-