Unreal OpenAI API 1.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
UOpenAIProviderFake Class Reference
Inheritance diagram for UOpenAIProviderFake:
UOpenAIProvider

Public Member Functions

void SetResponse (const FString &ResponseStr)
 
- Public Member Functions inherited from UOpenAIProvider
void SetAPI (const TSharedPtr< OpenAI::IAPI > &API)
 
void ListModels (const FOpenAIAuth &Auth)
 
void RetrieveModel (const FString &ModelName, const FOpenAIAuth &Auth)
 
void DeleteFineTunedModel (const FString &ModelID, const FOpenAIAuth &Auth)
 
void CreateCompletion (const FCompletion &Completion, const FOpenAIAuth &Auth)
 
void CreateChatCompletion (const FChatCompletion &Completion, const FOpenAIAuth &Auth)
 
void CreateImage (const FOpenAIImage &Image, const FOpenAIAuth &Auth)
 
void CreateImageEdit (const FOpenAIImageEdit &ImageEdit, const FOpenAIAuth &Auth)
 
void CreateImageVariation (const FOpenAIImageVariation &ImageVariation, const FOpenAIAuth &Auth)
 
void CreateEmbeddings (const FEmbeddings &Embeddings, const FOpenAIAuth &Auth)
 
void CreateSpeech (const FSpeech &Speech, const FOpenAIAuth &Auth)
 
void CreateAudioTranscription (const FAudioTranscription &AudioTranscription, const FOpenAIAuth &Auth)
 
void CreateAudioTranslation (const FAudioTranslation &AudioTranslation, const FOpenAIAuth &Auth)
 
void ListFiles (const FOpenAIAuth &Auth)
 
void UploadFile (const FUploadFile &UploadFile, const FOpenAIAuth &Auth)
 
void DeleteFile (const FString &FileID, const FOpenAIAuth &Auth)
 
void RetrieveFile (const FString &FileID, const FOpenAIAuth &Auth)
 
void RetrieveFileContent (const FString &FileID, const FOpenAIAuth &Auth)
 
void CreateModerations (const FModerations &Moderations, const FOpenAIAuth &Auth)
 
void CreateFineTuningJob (const FFineTuningJob &FineTuningJob, const FOpenAIAuth &Auth)
 
void ListFineTuningJobs (const FOpenAIAuth &Auth, const FFineTuningQueryParameters &FineTuningQueryParameters={})
 
void ListFineTuningEvents (const FString &FineTuningJobID, const FOpenAIAuth &Auth, const FFineTuningQueryParameters &FineTuningQueryParameters={})
 
void ListFineTuningCheckpoints (const FString &FineTuningJobID, const FOpenAIAuth &Auth, const FFineTuningQueryParameters &FineTuningQueryParameters={})
 
void RetrieveFineTuningJob (const FString &FineTuningJobID, const FOpenAIAuth &Auth)
 
void CancelFineTuningJob (const FString &FineTuneID, const FOpenAIAuth &Auth)
 
void CreateBatch (const FCreateBatch &CreateBatch, const FOpenAIAuth &Auth)
 
void RetrieveBatch (const FString &BatchId, const FOpenAIAuth &Auth)
 
void CancelBatch (const FString &BatchId, const FOpenAIAuth &Auth)
 
void ListBatch (const FListBatch &ListBatch, const FOpenAIAuth &Auth)
 
void CreateUpload (const FCreateUpload &CreateUpload, const FOpenAIAuth &Auth)
 
void AddUploadPart (const FString &UploadId, const FAddUploadPart &AddUploadPart, const FOpenAIAuth &Auth)
 
void CompleteUpload (const FString &UploadId, const FCompleteUpload &CompleteUpload, const FOpenAIAuth &Auth)
 
void CancelUpload (const FString &UploadId, const FOpenAIAuth &Auth)
 
void CreateAssistant (const FCreateAssistant &CreateAssistant, const FOpenAIAuth &Auth)
 
void ListAssistants (const FListAssistants &ListAssistants, const FOpenAIAuth &Auth)
 
void RetrieveAssistant (const FString &AssistantId, const FOpenAIAuth &Auth)
 
void ModifyAssistant (const FString &AssistantId, const FModifyAssistant &ModifyAssistant, const FOpenAIAuth &Auth)
 
void DeleteAssistant (const FString &AssistantId, const FOpenAIAuth &Auth)
 
void SetLogEnabled (bool LogEnabled)
 
FOnRequestError & OnRequestError ()
 

Private Member Functions

virtual TSharedRef< IHttpRequest, ESPMode::ThreadSafe > CreateRequest () const override
 

Private Attributes

FString ReponseData
 

Member Function Documentation

◆ CreateRequest()

virtual TSharedRef< IHttpRequest, ESPMode::ThreadSafe > UOpenAIProviderFake::CreateRequest ( ) const
inlineoverrideprivatevirtual

Reimplemented from UOpenAIProvider.


The documentation for this class was generated from the following file: