openai_struct/models/function_call_output_item_param.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 FunctionCallOutputItemParam : The output of a function tool call.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct FunctionCallOutputItemParam {
18 /// The unique ID of the function tool call generated by the model.
19 #[serde(rename = "call_id")]
20 pub call_id: String,
21 #[serde(rename = "id")]
22 pub id: Option<Value>,
23 /// A JSON string of the output of the function tool call.
24 #[serde(rename = "output")]
25 pub output: String,
26 #[serde(rename = "status")]
27 pub status: Option<Value>,
28 /// The type of the function tool call output. Always `function_call_output`.
29 #[serde(rename = "type")]
30 pub _type: String,
31}