Module: Rach::Function::ClassMethods
- Defined in:
- lib/rach/function.rb
Instance Method Summary collapse
Instance Method Details
permalink #function_schema ⇒ Object
[View source]
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/rach/function.rb', line 23 def function_schema schema = new.schema { type: "function", function: { name: new.function_name, description: new.function_description, parameters: prepare_schema_for_function(schema) } } end |