Class: Assistant::TechnicalSupport::CaseReplayRunner::Result
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::CaseReplayRunner::Result
- Defined in:
- app/services/assistant/technical_support/case_replay_runner.rb
Overview
Immutable replay execution result.
Instance Attribute Summary collapse
-
#answer ⇒ Object
readonly
Returns the value of attribute answer.
-
#conversation_id ⇒ Object
readonly
Returns the value of attribute conversation_id.
-
#system_prompt_trace ⇒ Object
readonly
Returns the value of attribute system_prompt_trace.
-
#tool_trace ⇒ Object
readonly
Returns the value of attribute tool_trace.
Instance Method Summary collapse
-
#initialize(conversation_id: nil, answer: nil, tool_trace: [], system_prompt_trace: []) ⇒ Result
constructor
Builds a replay execution result.
Constructor Details
#initialize(conversation_id: nil, answer: nil, tool_trace: [], system_prompt_trace: []) ⇒ Result
Builds a replay execution result.
25 |
# File 'app/services/assistant/technical_support/case_replay_runner.rb', line 25 def initialize(conversation_id: nil, answer: nil, tool_trace: [], system_prompt_trace: []) = super |
Instance Attribute Details
#answer ⇒ Object (readonly)
Returns the value of attribute answer
18 19 20 |
# File 'app/services/assistant/technical_support/case_replay_runner.rb', line 18 def answer @answer end |
#conversation_id ⇒ Object (readonly)
Returns the value of attribute conversation_id
18 19 20 |
# File 'app/services/assistant/technical_support/case_replay_runner.rb', line 18 def conversation_id @conversation_id end |
#system_prompt_trace ⇒ Object (readonly)
Returns the value of attribute system_prompt_trace
18 19 20 |
# File 'app/services/assistant/technical_support/case_replay_runner.rb', line 18 def system_prompt_trace @system_prompt_trace end |
#tool_trace ⇒ Object (readonly)
Returns the value of attribute tool_trace
18 19 20 |
# File 'app/services/assistant/technical_support/case_replay_runner.rb', line 18 def tool_trace @tool_trace end |