openai_struct/models/
chat_completion_message_tool_calls.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
11use crate::ChatCompletionMessageToolCall;
12/// pub ChatCompletionMessageToolCalls : The tool calls generated by the model, such as function calls.
13
14#[allow(unused_imports)]
15use serde_json::Value;
16
17/// # on openapi.yaml
18///
19/// ```yaml
20/// ChatCompletionMessageToolCalls:
21///   type: array
22///   description: The tool calls generated by the model, such as function calls.
23///   items:
24///     $ref: "#/components/schemas/ChatCompletionMessageToolCall"
25/// ```
26#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
27pub struct ChatCompletionMessageToolCalls(Vec<ChatCompletionMessageToolCall>);