Class: Assistant::TechnicalSupport::ResponseGroundingToolResult::Result
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::ResponseGroundingToolResult::Result
- Defined in:
- app/services/assistant/technical_support/response_grounding_tool_result.rb
Instance Attribute Summary collapse
-
#citation_urls ⇒ Object
readonly
Returns the value of attribute citation_urls.
-
#consumed_chars ⇒ Object
readonly
Returns the value of attribute consumed_chars.
-
#entry ⇒ Object
readonly
Returns the value of attribute entry.
-
#tool_call_id ⇒ Object
readonly
Returns the value of attribute tool_call_id.
-
#truncated ⇒ Object
readonly
Returns the value of attribute truncated.
Instance Method Summary collapse
-
#initialize(entry: nil, citation_urls: [], tool_call_id: nil, consumed_chars: 0, truncated: nil) ⇒ Result
constructor
Builds immutable evidence for one tool result.
Constructor Details
#initialize(entry: nil, citation_urls: [], tool_call_id: nil, consumed_chars: 0, truncated: nil) ⇒ Result
Builds immutable evidence for one tool result.
25 |
# File 'app/services/assistant/technical_support/response_grounding_tool_result.rb', line 25 def initialize(entry: nil, citation_urls: [], tool_call_id: nil, consumed_chars: 0, truncated: nil) = super |
Instance Attribute Details
#citation_urls ⇒ Object (readonly)
Returns the value of attribute citation_urls
17 18 19 |
# File 'app/services/assistant/technical_support/response_grounding_tool_result.rb', line 17 def citation_urls @citation_urls end |
#consumed_chars ⇒ Object (readonly)
Returns the value of attribute consumed_chars
17 18 19 |
# File 'app/services/assistant/technical_support/response_grounding_tool_result.rb', line 17 def consumed_chars @consumed_chars end |
#entry ⇒ Object (readonly)
Returns the value of attribute entry
17 18 19 |
# File 'app/services/assistant/technical_support/response_grounding_tool_result.rb', line 17 def entry @entry end |
#tool_call_id ⇒ Object (readonly)
Returns the value of attribute tool_call_id
17 18 19 |
# File 'app/services/assistant/technical_support/response_grounding_tool_result.rb', line 17 def tool_call_id @tool_call_id end |
#truncated ⇒ Object (readonly)
Returns the value of attribute truncated
17 18 19 |
# File 'app/services/assistant/technical_support/response_grounding_tool_result.rb', line 17 def truncated @truncated end |