Class: LiterLlm::ChatCompletionTool
- Inherits:
-
Object
- Object
- LiterLlm::ChatCompletionTool
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#function ⇒ FunctionDefinition
readonly
Returns the value of attribute function.
-
#tool_type ⇒ ToolType
readonly
Returns the value of attribute tool_type.
Instance Method Summary collapse
-
#initialize ⇒ ChatCompletionTool
constructor
A new instance of ChatCompletionTool.
Constructor Details
#initialize ⇒ ChatCompletionTool
Returns a new instance of ChatCompletionTool.
186 |
# File 'sig/types.rbs', line 186
def initialize: (tool_type: ToolType, function: FunctionDefinition) -> void
|
Instance Attribute Details
#function ⇒ FunctionDefinition (readonly)
Returns the value of attribute function.
184 185 186 |
# File 'sig/types.rbs', line 184 def function @function end |
#tool_type ⇒ ToolType (readonly)
Returns the value of attribute tool_type.
183 184 185 |
# File 'sig/types.rbs', line 183 def tool_type @tool_type end |