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.
89 |
# File 'sig/types.rbs', line 89
def initialize: (tool_type: ToolType, function: FunctionDefinition) -> void
|
Instance Attribute Details
#function ⇒ FunctionDefinition (readonly)
Returns the value of attribute function.
87 88 89 |
# File 'sig/types.rbs', line 87 def function @function end |
#tool_type ⇒ ToolType (readonly)
Returns the value of attribute tool_type.
86 87 88 |
# File 'sig/types.rbs', line 86 def tool_type @tool_type end |