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:



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

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

Instance Attribute Details

#functionFunctionDefinition (readonly)

Returns the value of attribute function.

Returns:



87
88
89
# File 'sig/types.rbs', line 87

def function
  @function
end

#tool_typeToolType (readonly)

Returns the value of attribute tool_type.

Returns:



86
87
88
# File 'sig/types.rbs', line 86

def tool_type
  @tool_type
end