openai_struct/models/
model_ids_shared.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/// on openapi.yaml
15///
16/// ```yaml
17/// ModelIdsShared:
18///   example: gpt-4o
19///   anyOf:
20///     - type: string
21///     - type: string
22///       enum:
23///         - gpt-4.1
24///         - gpt-4.1-mini
25///         - gpt-4.1-nano
26///         - gpt-4.1-2025-04-14
27///         - gpt-4.1-mini-2025-04-14
28///         - gpt-4.1-nano-2025-04-14
29///         - o4-mini
30///         - o4-mini-2025-04-16
31///         - o3
32///         - o3-2025-04-16
33///         - o3-mini
34///         - o3-mini-2025-01-31
35///         - o1
36///         - o1-2024-12-17
37///         - o1-preview
38///         - o1-preview-2024-09-12
39///         - o1-mini
40///         - o1-mini-2024-09-12
41///         - gpt-4o
42///         - gpt-4o-2024-11-20
43///         - gpt-4o-2024-08-06
44///         - gpt-4o-2024-05-13
45///         - gpt-4o-audio-preview
46///         - gpt-4o-audio-preview-2024-10-01
47///         - gpt-4o-audio-preview-2024-12-17
48///         - gpt-4o-mini-audio-preview
49///         - gpt-4o-mini-audio-preview-2024-12-17
50///         - gpt-4o-search-preview
51///         - gpt-4o-mini-search-preview
52///         - gpt-4o-search-preview-2025-03-11
53///         - gpt-4o-mini-search-preview-2025-03-11
54///         - chatgpt-4o-latest
55///         - gpt-4o-mini
56///         - gpt-4o-mini-2024-07-18
57///         - gpt-4-turbo
58///         - gpt-4-turbo-2024-04-09
59///         - gpt-4-0125-preview
60///         - gpt-4-turbo-preview
61///         - gpt-4-1106-preview
62///         - gpt-4-vision-preview
63///         - gpt-4
64///         - gpt-4-0314
65///         - gpt-4-0613
66///         - gpt-4-32k
67///         - gpt-4-32k-0314
68///         - gpt-4-32k-0613
69///         - gpt-3.5-turbo
70///         - gpt-3.5-turbo-16k
71///         - gpt-3.5-turbo-0301
72///         - gpt-3.5-turbo-0613
73///         - gpt-3.5-turbo-1106
74///         - gpt-3.5-turbo-0125
75///         - gpt-3.5-turbo-16k-0613
76/// ```
77pub type ModelIdsShared = crate::AssistantSupportedModels;