openai_struct/models/fine_tune_chat_request_input.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 FineTuneChatRequestInput : The per-line training example of a fine-tuning input file for chat models using the supervised method.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct FineTuneChatRequestInput {
18 /// A list of functions the model may generate JSON inputs for.
19 #[serde(rename = "functions")]
20 pub functions: Option<Vec<crate::models::ChatCompletionFunctions>>,
21 #[serde(rename = "messages")]
22 pub messages: Option<Vec<Value>>,
23 #[serde(rename = "parallel_tool_calls")]
24 pub parallel_tool_calls: Option<crate::models::ParallelToolCalls>,
25 /// A list of tools the model may generate JSON inputs for.
26 #[serde(rename = "tools")]
27 pub tools: Option<Vec<crate::models::ChatCompletionTool>>,
28}