Unreal OpenAI API 1.0.0
FileTypes.h
1// OpenAI, Copyright LifeEXE. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "FileTypes.generated.h"
7
9// REQUEST TYPES
11
12UENUM(BlueprintType)
13enum class EUploadFilePurpose : uint8
14{
15 Assistants = 0,
16 Vision,
17 Batch,
18 FineTune
19};
20
26USTRUCT(BlueprintType)
28{
29 GENERATED_BODY()
30
31
34 UPROPERTY(BlueprintReadWrite, Category = "OpenAI | Required")
35 FString File;
36
45 UPROPERTY(BlueprintReadWrite, Category = "OpenAI | Required")
46 FString Purpose;
47};
48
50// RESPONSE TYPES
52
53USTRUCT(BlueprintType)
55{
56 GENERATED_BODY()
57
58
61 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
62 FString ID;
63
67 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
68 FString Object;
69
73 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
74 int32 Bytes{};
75
79 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
80 int32 Created_At{};
81
85 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
86 FString FileName;
87
92 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
93 FString Purpose;
94};
95
96USTRUCT(BlueprintType)
98{
99 GENERATED_BODY()
100
101
105 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
106 FString Status;
107
113 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
114 FString Status_Details;
115};
116
117USTRUCT(BlueprintType)
119{
120 GENERATED_BODY()
121
122 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
123 FString Object;
124
125 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
126 TArray<FOpenAIFile> Data;
127};
128
129USTRUCT(BlueprintType)
131{
132 GENERATED_BODY()
133};
134
135USTRUCT(BlueprintType)
137{
138 GENERATED_BODY()
139
140 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
141 FString ID;
142
143 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
144 FString Object;
145
146 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
147 bool Deleted{};
148};
149
150USTRUCT(BlueprintType)
152{
153 GENERATED_BODY()
154};
155
156USTRUCT(BlueprintType)
158{
159 GENERATED_BODY()
160
161 UPROPERTY(BlueprintReadOnly, Category = "OpenAI")
162 FString Content;
163};
Definition: OpenAI.Build.cs:6
Definition: FileTypes.h:137
Definition: FileTypes.h:119
Definition: FileTypes.h:55
Definition: FileTypes.h:98
Definition: FileTypes.h:158
Definition: FileTypes.h:152
Definition: FileTypes.h:28
Definition: FileTypes.h:131