5#include "CoreMinimal.h"
6#include "GameFramework/Info.h"
7#include "Provider/Types/CommonTypes.h"
8#include "APIOverview.generated.h"
13enum class EAPIOverviewAction : uint8
18 CreateCompletionRequest,
19 CreateChatCompletionRequest,
28 CreateAudioTranscriptionVerbose,
58UCLASS(Blueprintable, BlueprintType)
66 UPROPERTY(EditAnywhere, Category =
"OpenAI")
67 EAPIOverviewAction Action;
70 virtual void BeginPlay()
override;
78 TMap<EAPIOverviewAction, TFunction<void()>> ActionMap;
82 void DeleteFinedTuneModel();
84 void CreateCompletionRequest();
85 void CreateChatCompletionRequest();
87 void CreateImageDALLE2();
88 void CreateImageDALLE3();
97 void CreateAudioTranscriptionVerbose();
110 void RetriveFineTuningJob();
129 void OnRequestError(
const FString& URL,
const FString& Content);
131 void SetYourOwnAPI();
Definition: APIOverview.h:60
Definition: OpenAIProvider.h:45
void CreateAudioTranscription(const FAudioTranscription &AudioTranscription, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:172
void RetrieveFileContent(const FString &FileID, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:261
void DeleteFile(const FString &FileID, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:245
void ListFineTuningCheckpoints(const FString &FineTuningJobID, const FOpenAIAuth &Auth, const FFineTuningQueryParameters &FineTuningQueryParameters={})
Definition: OpenAIProvider.cpp:301
void RetrieveFile(const FString &FileID, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:253
void CancelUpload(const FString &UploadId, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:395
void UploadFile(const FUploadFile &UploadFile, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:226
void DeleteAssistant(const FString &AssistantId, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:438
void ListFiles(const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:219
void CreateImageEdit(const FOpenAIImageEdit &ImageEdit, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:101
void CreateEmbeddings(const FEmbeddings &Embeddings, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:158
void CreateBatch(const FCreateBatch &CreateBatch, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:330
void CreateImageVariation(const FOpenAIImageVariation &ImageVariation, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:132
void AddUploadPart(const FString &UploadId, const FAddUploadPart &AddUploadPart, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:368
void CreateSpeech(const FSpeech &Speech, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:165
void ModifyAssistant(const FString &AssistantId, const FModifyAssistant &ModifyAssistant, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:429
void ListBatch(const FListBatch &ListBatch, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:353
void CreateAudioTranslation(const FAudioTranslation &AudioTranslation, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:196
void RetrieveBatch(const FString &BatchId, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:337
void CancelFineTuningJob(const FString &FineTuneID, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:322
void RetrieveModel(const FString &ModelName, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:37
void CreateUpload(const FCreateUpload &CreateUpload, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:361
void ListFineTuningEvents(const FString &FineTuningJobID, const FOpenAIAuth &Auth, const FFineTuningQueryParameters &FineTuningQueryParameters={})
Definition: OpenAIProvider.cpp:291
void ListAssistants(const FListAssistants &ListAssistants, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:411
void DeleteFineTunedModel(const FString &ModelID, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:47
void CompleteUpload(const FString &UploadId, const FCompleteUpload &CompleteUpload, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:387
void RetrieveAssistant(const FString &AssistantId, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:420
void CreateFineTuningJob(const FFineTuningJob &FineTuningJob, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:276
void CreateModerations(const FModerations &Moderations, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:269
void CreateAssistant(const FCreateAssistant &CreateAssistant, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:403
void ListFineTuningJobs(const FOpenAIAuth &Auth, const FFineTuningQueryParameters &FineTuningQueryParameters={})
Definition: OpenAIProvider.cpp:283
void CancelBatch(const FString &BatchId, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:345
void ListModels(const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:30
Definition: CommonTypes.h:11