Unreal OpenAI API 1.0.0
ModelTypes.h
1// OpenAI, Copyright LifeEXE. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "ModelTypes.generated.h"
7
8UENUM(BlueprintType)
9enum class EAllModelEnum : uint8
10{
11 Whisper_1,
12 GPT_3_5_Turbo,
13 GPT_3_5_Turbo_16k,
14 GPT_3_5_Turbo_Instruct_0914,
15 GPT_3_5_Turbo_Instruct,
16 Text_Embedding_Ada_002,
17 Babbage_002,
18 Davinci_002,
19 GPT_4,
20 GPT_4_0613,
21 DALL_E_2,
22 DALL_E_3,
23 GPT_4_1106_Preview,
24 GPT_3_5_Turbo_1106,
25 TTS_1,
26 TTS_1_HD,
27 TTS_1_1106,
28 TTS_1_HD_1106,
29 Text_Embedding_3_Large,
30 GPT_3_5_Turbo_0125,
31 Text_Embedding_3_Small,
32 GPT_4_0125_Preview,
33 GPT_4_Turbo_Preview,
34 GPT_4O_2024_05_13,
35 GPT_4O,
36 GPT_4_Turbo_2024_04_09,
37 GPT_4_Turbo,
38 GPT_4O_Mini,
39 GPT_4O_Mini_2024_07_18,
40 ChatGPT_4O_Latest,
41 GPT_4O_2024_08_06,
42 O1_Preview,
43 O1_Preview_2024_09_12,
44 O1_Mini,
45 O1_Mini_2024_09_12,
46 GPT_4O_Audio_Preview,
47 GPT_4O_Audio_Preview_2024_10_01,
48 GPT_4O_Realtime_Preview,
49 GPT_4O_Realtime_Preview_2024_10_01,
50 GPT_4O_Mini_Realtime_Preview_2024_12_17,
51 GPT_4O_Mini_Realtime_Preview,
52 GPT_4O_Mini_Audio_Preview_2024_12_17,
53 GPT_4O_Mini_Audio_Preview,
54 Omni_Moderation_Latest,
55 Omni_Moderation_2024_09_26,
56 GPT_4O_Audio_Preview_2024_12_17,
57 O1,
58 O1_2024_12_17,
59 O3_Mini_2025_01_31,
60 O3_Mini,
61 GPT_4O_2024_11_20,
62 GPT_4O_Realtime_Preview_2024_12_17,
63 O4_Mini_Deep_Research,
64 GPT_4O_Audio_Preview_2025_06_03,
65 GPT_4O_Mini_Transcribe,
66 GPT_4O_Mini_TTS,
67 GPT_4O_Mini_Search_Preview,
68 GPT_4O_Search_Preview,
69 GPT_4O_Mini_Search_Preview_2025_03_11,
70 GPT_4O_Search_Preview_2025_03_11,
71 O1_Pro_2025_03_19,
72 O1_Pro,
73 GPT_4O_Transcribe,
74 GPT_4_1_Nano_2025_04_14,
75 GPT_4_1_2025_04_14,
76 GPT_4_1,
77 GPT_4_1_Mini,
78 GPT_4_1_Mini_2025_04_14,
79 GPT_4_1_Nano,
80 O4_Mini,
81 O4_Mini_2025_04_16,
82 GPT_Image_1,
83 Computer_Use_Preview,
84 Computer_Use_Preview_2025_03_11,
85 GPT_4O_Realtime_Preview_2025_06_03,
86 Codex_Mini_Latest,
87 O4_Mini_Deep_Research_2025_06_26,
88 GPT_4_0314
89};
90
91UENUM(BlueprintType)
92enum class EMainModelEnum : uint8
93{
94 GPT_4O,
95 GPT_4,
96 GPT_4_1106_Preview,
97 GPT_4_0613,
98 GPT_4O_Mini,
99 GPT_3_5_Turbo,
100 GPT_3_5_Turbo_Instruct,
101 O1_Mini,
102 O1,
103 O3,
104 O3_Mini,
105 GPT_4_5_Preview,
106 GPT_4_1,
107 GPT_4_1_Mini,
108 GPT_4_1_Nano,
109 O4_Mini
110};
111
113// REQUEST TYPES
115
116// ... nothing
117
119// RESPONSE TYPES
121
122USTRUCT(BlueprintType)
124{
125 GENERATED_BODY()
129 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
130 FString ID;
131
135 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
136 int32 Created{};
137
141 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
142 FString Object;
143
147 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
148 FString Owned_By;
149};
150
151USTRUCT(BlueprintType)
153{
154 GENERATED_BODY()
155
156 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
157 FString Object;
158
159 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
160 TArray<FOpenAIModel> Data;
161};
162
163USTRUCT(BlueprintType)
165{
166 GENERATED_BODY()
167};
168
169USTRUCT(BlueprintType)
171{
172 GENERATED_BODY()
173
174 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
175 FString Id;
176
177 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
178 FString Object;
179
180 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
181 FString Deleted;
182};
Definition: OpenAI.Build.cs:6
Definition: ModelTypes.h:171
Definition: ModelTypes.h:153
Definition: ModelTypes.h:124
Definition: ModelTypes.h:165