openai_struct/models/
function_parameters.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub FunctionParameters : The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](pub https:///json-schema.org/understanding-json-schema/) for documentation about the format.   Omitting `parameters` defines a function with an empty parameter list.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// FunctionParameters:
20///   type: object
21///   description: >-
22///     The parameters the functions accepts, described as a JSON Schema object.
23///     See the [guide](/docs/guides/function-calling) for examples, and the
24///     [JSON Schema reference](https:///json-schema.org/understanding-json-schema/) for
25///     documentation about the format.
26///
27///
28///     Omitting `parameters` defines a function with an empty parameter list.
29///   additionalProperties: true
30/// ```
31pub type FunctionParameters = serde_json::Value;