Class: Cadenya::Models::ObjectiveInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ObjectiveInfo
- Defined in:
- lib/cadenya/models/objective_info.rb,
sig/cadenya/models/objective_info.rbs
Instance Attribute Summary collapse
-
#agent ⇒ Cadenya::ResourceMetadata
Returns the value of attribute agent.
-
#agent_variation ⇒ Cadenya::ResourceMetadata
Returns the value of attribute agent_variation.
-
#created_by ⇒ Cadenya::Models::Profile
A profile identifies a user or non-human principal (such as an API key) at the account level.
-
#current_context_window_id ⇒ String
Returns the value of attribute current_context_window_id.
-
#effective_memory_cascade ⇒ ::Array[Cadenya::MemoryReference]
Returns the value of attribute effective_memory_cascade.
-
#total_context_windows ⇒ Integer
Returns the value of attribute total_context_windows.
-
#total_events ⇒ Integer
Returns the value of attribute total_events.
-
#total_input_tokens ⇒ Integer
Returns the value of attribute total_input_tokens.
-
#total_iterations ⇒ Integer
Returns the value of attribute total_iterations.
-
#total_output_tokens ⇒ Integer
Returns the value of attribute total_output_tokens.
-
#total_tool_calls ⇒ Integer
Returns the value of attribute total_tool_calls.
Instance Method Summary collapse
-
#initialize(agent:, agent_variation:, created_by:, current_context_window_id:, effective_memory_cascade:, total_context_windows:, total_events:, total_input_tokens:, total_iterations:, total_output_tokens:, total_tool_calls:) ⇒ Object
constructor
Some parameter documentations has been truncated, see ObjectiveInfo for more details.
- #to_hash ⇒ {
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(agent:, agent_variation:, created_by:, current_context_window_id:, effective_memory_cascade:, total_context_windows:, total_events:, total_input_tokens:, total_iterations:, total_output_tokens:, total_tool_calls:) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::ObjectiveInfo for more details.
ObjectiveInfo provides read-only aggregated statistics about an objective's execution
|
|
# File 'lib/cadenya/models/objective_info.rb', line 85
|
Instance Attribute Details
#agent ⇒ Cadenya::ResourceMetadata
Returns the value of attribute agent.
21 22 23 |
# File 'sig/cadenya/models/objective_info.rbs', line 21 def agent @agent end |
#agent_variation ⇒ Cadenya::ResourceMetadata
Returns the value of attribute agent_variation.
23 24 25 |
# File 'sig/cadenya/models/objective_info.rbs', line 23 def agent_variation @agent_variation end |
#created_by ⇒ Cadenya::Models::Profile
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
12 |
# File 'lib/cadenya/models/objective_info.rb', line 12 required :created_by, -> { Cadenya::Profile }, api_name: :createdBy |
#current_context_window_id ⇒ String
Returns the value of attribute current_context_window_id.
25 26 27 |
# File 'sig/cadenya/models/objective_info.rbs', line 25 def current_context_window_id @current_context_window_id end |
#effective_memory_cascade ⇒ ::Array[Cadenya::MemoryReference]
Returns the value of attribute effective_memory_cascade.
27 28 29 |
# File 'sig/cadenya/models/objective_info.rbs', line 27 def effective_memory_cascade @effective_memory_cascade end |
#total_context_windows ⇒ Integer
Returns the value of attribute total_context_windows.
29 30 31 |
# File 'sig/cadenya/models/objective_info.rbs', line 29 def total_context_windows @total_context_windows end |
#total_events ⇒ Integer
Returns the value of attribute total_events.
31 32 33 |
# File 'sig/cadenya/models/objective_info.rbs', line 31 def total_events @total_events end |
#total_input_tokens ⇒ Integer
Returns the value of attribute total_input_tokens.
33 34 35 |
# File 'sig/cadenya/models/objective_info.rbs', line 33 def total_input_tokens @total_input_tokens end |
#total_iterations ⇒ Integer
Returns the value of attribute total_iterations.
35 36 37 |
# File 'sig/cadenya/models/objective_info.rbs', line 35 def total_iterations @total_iterations end |
#total_output_tokens ⇒ Integer
Returns the value of attribute total_output_tokens.
37 38 39 |
# File 'sig/cadenya/models/objective_info.rbs', line 37 def total_output_tokens @total_output_tokens end |
#total_tool_calls ⇒ Integer
Returns the value of attribute total_tool_calls.
39 40 41 |
# File 'sig/cadenya/models/objective_info.rbs', line 39 def total_tool_calls @total_tool_calls end |
Instance Method Details
#to_hash ⇒ {
55 |
# File 'sig/cadenya/models/objective_info.rbs', line 55
def to_hash: -> {
|