Class: Assistant::TechnicalSupport::CaseReplayConversation::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/assistant/technical_support/case_replay_conversation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conversation_id: nil, answer: nil, tool_trace: [], system_prompt_trace: [], replay_facts: [], outcome_facts: []) ⇒ Result

Returns a new instance of Result.



14
15
16
17
18
19
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 14

def initialize(
  conversation_id: nil, answer: nil, tool_trace: [], system_prompt_trace: [],
  replay_facts: [], outcome_facts: []
)
  super
end

Instance Attribute Details

#answerObject (readonly)

Returns the value of attribute answer

Returns:

  • (Object)

    the current value of answer



6
7
8
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 6

def answer
  @answer
end

#conversation_idObject (readonly)

Returns the value of attribute conversation_id

Returns:

  • (Object)

    the current value of conversation_id



6
7
8
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 6

def conversation_id
  @conversation_id
end

#outcome_factsObject (readonly)

Returns the value of attribute outcome_facts

Returns:

  • (Object)

    the current value of outcome_facts



6
7
8
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 6

def outcome_facts
  @outcome_facts
end

#replay_factsObject (readonly)

Returns the value of attribute replay_facts

Returns:

  • (Object)

    the current value of replay_facts



6
7
8
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 6

def replay_facts
  @replay_facts
end

#system_prompt_traceObject (readonly)

Returns the value of attribute system_prompt_trace

Returns:

  • (Object)

    the current value of system_prompt_trace



6
7
8
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 6

def system_prompt_trace
  @system_prompt_trace
end

#tool_traceObject (readonly)

Returns the value of attribute tool_trace

Returns:

  • (Object)

    the current value of tool_trace



6
7
8
# File 'app/services/assistant/technical_support/case_replay_conversation.rb', line 6

def tool_trace
  @tool_trace
end