Class: LLMs::Stream::Events::ToolCallArgumentsUpdated
- Defined in:
- lib/llms/stream/events.rb
Overview
Holds the current parse-attempted state of the arguments object, not a delta
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
-
#tool_call_id ⇒ Object
readonly
Returns the value of attribute tool_call_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(message_id, tool_call_id, index, arguments) ⇒ ToolCallArgumentsUpdated
constructor
A new instance of ToolCallArgumentsUpdated.
Constructor Details
#initialize(message_id, tool_call_id, index, arguments) ⇒ ToolCallArgumentsUpdated
Returns a new instance of ToolCallArgumentsUpdated.
73 74 75 76 77 78 79 |
# File 'lib/llms/stream/events.rb', line 73 def initialize(, tool_call_id, index, arguments) super() @message_id = @tool_call_id = tool_call_id @index = index @arguments = arguments end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
72 73 74 |
# File 'lib/llms/stream/events.rb', line 72 def arguments @arguments end |
#index ⇒ Object (readonly)
Returns the value of attribute index.
72 73 74 |
# File 'lib/llms/stream/events.rb', line 72 def index @index end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
72 73 74 |
# File 'lib/llms/stream/events.rb', line 72 def @message_id end |
#tool_call_id ⇒ Object (readonly)
Returns the value of attribute tool_call_id.
72 73 74 |
# File 'lib/llms/stream/events.rb', line 72 def tool_call_id @tool_call_id end |