Class: LiterLlm::ChatCompletionTool

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChatCompletionTool

Returns a new instance of ChatCompletionTool.

Parameters:



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

def initialize: (tool_type: ToolType, function: FunctionDefinition) -> void

Instance Attribute Details

#functionFunctionDefinition (readonly)

Returns the value of attribute function.

Returns:



184
185
186
# File 'sig/types.rbs', line 184

def function
  @function
end

#tool_typeToolType (readonly)

Returns the value of attribute tool_type.

Returns:



183
184
185
# File 'sig/types.rbs', line 183

def tool_type
  @tool_type
end