Class: LiterLlm::AssistantMessage

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAssistantMessage

Returns a new instance of AssistantMessage.

Parameters:



55
# File 'sig/types.rbs', line 55

def initialize: (?content: AssistantContent, ?name: String, ?tool_calls: Array[ToolCall], ?refusal: String, ?function_call: FunctionCall, ?reasoning_content: String) -> void

Instance Attribute Details

#contentAssistantContent?

Returns the value of attribute content.

Returns:



48
49
50
# File 'sig/types.rbs', line 48

def content
  @content
end

#function_callFunctionCall?

Returns the value of attribute function_call.

Returns:



52
53
54
# File 'sig/types.rbs', line 52

def function_call
  @function_call
end

#nameString?

Returns the value of attribute name.

Returns:

  • (String, nil)


49
50
51
# File 'sig/types.rbs', line 49

def name
  @name
end

#reasoning_contentString?

Returns the value of attribute reasoning_content.

Returns:

  • (String, nil)


53
54
55
# File 'sig/types.rbs', line 53

def reasoning_content
  @reasoning_content
end

#refusalString?

Returns the value of attribute refusal.

Returns:

  • (String, nil)


51
52
53
# File 'sig/types.rbs', line 51

def refusal
  @refusal
end

#tool_callsArray[ToolCall]?

Returns the value of attribute tool_calls.

Returns:



50
51
52
# File 'sig/types.rbs', line 50

def tool_calls
  @tool_calls
end

Instance Method Details

#output_audioArray[AudioContent]

Returns:



60
# File 'sig/types.rbs', line 60

def output_audio: () -> Array[AudioContent]

#output_imagesArray[ImageUrl]

Returns:



59
# File 'sig/types.rbs', line 59

def output_images: () -> Array[ImageUrl]

#reasoning_textString?

Returns:

  • (String, nil)


58
# File 'sig/types.rbs', line 58

def reasoning_text: () -> String?

#refusal_textString?

Returns:

  • (String, nil)


57
# File 'sig/types.rbs', line 57

def refusal_text: () -> String?

#textString?

Returns:

  • (String, nil)


56
# File 'sig/types.rbs', line 56

def text: () -> String?