Class: Anthropic::Models::Beta::BetaManagedAgentsOutcomeEvaluationResource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsOutcomeEvaluationResource
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#completed_at ⇒ Time?
A timestamp in RFC 3339 format.
-
#description ⇒ String
What the agent should produce.
-
#explanation ⇒ String?
Grader’s verdict text from the most recent evaluation.
-
#iteration ⇒ Integer
0-indexed revision cycle the outcome is currently on.
-
#outcome_id ⇒ String
Server-generated outc_ ID for this outcome.
-
#result ⇒ String
Current evaluation state.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsOutcomeEvaluationResource::Type
Instance Method Summary collapse
-
#initialize(completed_at:, description:, explanation:, iteration:, outcome_id:, result:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsOutcomeEvaluationResource for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(completed_at:, description:, explanation:, iteration:, outcome_id:, result:, type:) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsOutcomeEvaluationResource for more details.
Evaluation state for a single outcome defined via a define_outcome event.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 52
|
Instance Attribute Details
#completed_at ⇒ Time?
A timestamp in RFC 3339 format
11 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 11 required :completed_at, Time, nil?: true |
#description ⇒ String
What the agent should produce.
17 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 17 required :description, String |
#explanation ⇒ String?
Grader’s verdict text from the most recent evaluation. For satisfied, explains why criteria are met; for needs_revision (intermediate), what’s missing; for failed, why unrecoverable.
25 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 25 required :explanation, String, nil?: true |
#iteration ⇒ Integer
0-indexed revision cycle the outcome is currently on.
31 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 31 required :iteration, Integer |
#outcome_id ⇒ String
Server-generated outc_ ID for this outcome.
37 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 37 required :outcome_id, String |
#result ⇒ String
Current evaluation state. ‘pending’ before the agent begins work; ‘running’ while producing or revising; ‘evaluating’ while the grader scores; ‘satisfied’/‘max_iterations_reached’/‘failed’/‘interrupted’ are terminal.
45 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 45 required :result, String |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsOutcomeEvaluationResource::Type
50 |
# File 'lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb', line 50 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsOutcomeEvaluationResource::Type } |