openai_struct/models/realtime_response_create_params_tools.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#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct RealtimeResponseCreateParamsTools {
16 /// Parameters of the function in JSON Schema.
17 #[serde(rename = "parameters")]
18 pub parameters: Option<Value>,
19 /// The description of the function, including guidance on when and how to call it, and guidance about what to tell the user when calling (if anything).
20 #[serde(rename = "description")]
21 pub description: Option<String>,
22 /// The name of the function.
23 #[serde(rename = "name")]
24 pub name: Option<String>,
25 /// The type of the tool, i.e. `function`.
26 #[serde(rename = "type")]
27 pub _type: Option<String>,
28}