openai_struct/models/response_format_json_object.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 ResponseFormatJsonObject : JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// ResponseFormatJsonObject:
20/// type: object
21/// title: JSON object
22/// description: >
23/// JSON object response format. An older method of generating JSON
24/// responses.
25///
26/// Using `json_schema` is recommended for models that support it. Note that
27/// the
28///
29/// model will not generate JSON without a system or user message
30/// instructing it
31///
32/// to do so.
33/// properties:
34/// type:
35/// type: string
36/// description: The type of response format being defined. Always `json_object`.
37/// enum:
38/// - json_object
39/// x-stainless-const: true
40/// required:
41/// - type
42/// ```
43// #[derive(Debug, Serialize, Deserialize)]
44// pub struct ResponseFormatJsonObject {}
45pub type ResponseFormatJsonObject = serde_json::Value;