Class: LLMs::Stream::Events::ToolCallStarted
- Defined in:
- lib/llms/stream/events.rb
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.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#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, name, arguments) ⇒ ToolCallStarted
constructor
A new instance of ToolCallStarted.
Constructor Details
#initialize(message_id, tool_call_id, index, name, arguments) ⇒ ToolCallStarted
Returns a new instance of ToolCallStarted.
49 50 51 52 53 54 55 56 |
# File 'lib/llms/stream/events.rb', line 49 def initialize(, tool_call_id, index, name, arguments) super() @message_id = @tool_call_id = tool_call_id @index = index @name = name @arguments = arguments end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
48 49 50 |
# File 'lib/llms/stream/events.rb', line 48 def arguments @arguments end |
#index ⇒ Object (readonly)
Returns the value of attribute index.
48 49 50 |
# File 'lib/llms/stream/events.rb', line 48 def index @index end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
48 49 50 |
# File 'lib/llms/stream/events.rb', line 48 def @message_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
48 49 50 |
# File 'lib/llms/stream/events.rb', line 48 def name @name end |
#tool_call_id ⇒ Object (readonly)
Returns the value of attribute tool_call_id.
48 49 50 |
# File 'lib/llms/stream/events.rb', line 48 def tool_call_id @tool_call_id end |