Class: LLMs::Stream::Events::ToolCallArgumentsJsonDelta
- Defined in:
- lib/llms/stream/events.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#json_delta ⇒ Object
readonly
Returns the value of attribute json_delta.
-
#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, json_delta) ⇒ ToolCallArgumentsJsonDelta
constructor
A new instance of ToolCallArgumentsJsonDelta.
Constructor Details
#initialize(message_id, tool_call_id, index, json_delta) ⇒ ToolCallArgumentsJsonDelta
Returns a new instance of ToolCallArgumentsJsonDelta.
61 62 63 64 65 66 67 |
# File 'lib/llms/stream/events.rb', line 61 def initialize(, tool_call_id, index, json_delta) super() @message_id = @tool_call_id = tool_call_id @index = index @json_delta = json_delta end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
60 61 62 |
# File 'lib/llms/stream/events.rb', line 60 def index @index end |
#json_delta ⇒ Object (readonly)
Returns the value of attribute json_delta.
60 61 62 |
# File 'lib/llms/stream/events.rb', line 60 def json_delta @json_delta end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
60 61 62 |
# File 'lib/llms/stream/events.rb', line 60 def @message_id end |
#tool_call_id ⇒ Object (readonly)
Returns the value of attribute tool_call_id.
60 61 62 |
# File 'lib/llms/stream/events.rb', line 60 def tool_call_id @tool_call_id end |