Method: OpenApiOpenAIClient::FunctionObject#parameters
- Defined in:
- lib/openapi_openai/models/function_object.rb
#parameters ⇒ Object
The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/text-generation/function-calling) for examples, and the [JSON Schema reference](json-schema.org/understanding-json-schema/) for documentation about the format. Omitting ‘parameters` defines a function with an empty parameter list.
25 26 27 |
# File 'lib/openapi_openai/models/function_object.rb', line 25 def parameters @parameters end |