Class: LiterLlm::StreamDelta
- Inherits:
-
Object
- Object
- LiterLlm::StreamDelta
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String?
Returns the value of attribute content.
-
#function_call ⇒ StreamFunctionCall?
Returns the value of attribute function_call.
-
#reasoning_content ⇒ String?
Returns the value of attribute reasoning_content.
-
#refusal ⇒ String?
Returns the value of attribute refusal.
-
#role ⇒ String?
Returns the value of attribute role.
-
#tool_calls ⇒ Array[StreamToolCall]?
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.
236 |
# File 'sig/types.rbs', line 236
def initialize: (?role: String, ?content: String, ?tool_calls: Array[StreamToolCall], ?function_call: StreamFunctionCall, ?refusal: String, ?reasoning_content: String) -> void
|
Instance Attribute Details
#content ⇒ String?
Returns the value of attribute content.
230 231 232 |
# File 'sig/types.rbs', line 230 def content @content end |
#function_call ⇒ StreamFunctionCall?
Returns the value of attribute function_call.
232 233 234 |
# File 'sig/types.rbs', line 232 def function_call @function_call end |
#reasoning_content ⇒ String?
Returns the value of attribute reasoning_content.
234 235 236 |
# File 'sig/types.rbs', line 234 def reasoning_content @reasoning_content end |
#refusal ⇒ String?
Returns the value of attribute refusal.
233 234 235 |
# File 'sig/types.rbs', line 233 def refusal @refusal end |
#role ⇒ String?
Returns the value of attribute role.
229 230 231 |
# File 'sig/types.rbs', line 229 def role @role end |
#tool_calls ⇒ Array[StreamToolCall]?
Returns the value of attribute tool_calls.
231 232 233 |
# File 'sig/types.rbs', line 231 def tool_calls @tool_calls end |