Class: LiterLlm::StreamDelta
- Inherits:
-
Object
- Object
- LiterLlm::StreamDelta
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String?
readonly
Returns the value of attribute content.
-
#function_call ⇒ StreamFunctionCall?
readonly
Returns the value of attribute function_call.
-
#reasoning_content ⇒ String?
readonly
Returns the value of attribute reasoning_content.
-
#refusal ⇒ String?
readonly
Returns the value of attribute refusal.
-
#role ⇒ String?
readonly
Returns the value of attribute role.
-
#tool_calls ⇒ Array[StreamToolCall]?
readonly
Returns the value of attribute tool_calls.
Instance Method Summary collapse
-
#initialize ⇒ StreamDelta
constructor
A new instance of StreamDelta.
Constructor Details
#initialize ⇒ StreamDelta
Returns a new instance of StreamDelta.
828 |
# File 'sig/types.rbs', line 828
def initialize: (?role: String, ?content: String, ?tool_calls: Array[StreamToolCall], ?function_call: StreamFunctionCall, ?refusal: String, ?reasoning_content: String) -> void
|
Instance Attribute Details
#content ⇒ String? (readonly)
Returns the value of attribute content.
822 823 824 |
# File 'sig/types.rbs', line 822 def content @content end |
#function_call ⇒ StreamFunctionCall? (readonly)
Returns the value of attribute function_call.
824 825 826 |
# File 'sig/types.rbs', line 824 def function_call @function_call end |
#reasoning_content ⇒ String? (readonly)
Returns the value of attribute reasoning_content.
826 827 828 |
# File 'sig/types.rbs', line 826 def reasoning_content @reasoning_content end |
#refusal ⇒ String? (readonly)
Returns the value of attribute refusal.
825 826 827 |
# File 'sig/types.rbs', line 825 def refusal @refusal end |
#role ⇒ String? (readonly)
Returns the value of attribute role.
821 822 823 |
# File 'sig/types.rbs', line 821 def role @role end |
#tool_calls ⇒ Array[StreamToolCall]? (readonly)
Returns the value of attribute tool_calls.
823 824 825 |
# File 'sig/types.rbs', line 823 def tool_calls @tool_calls end |