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

Public Member Functions

virtual void Activate () override
 

Public Attributes

FOnUploadFile OnCompleted
 

Private Member Functions

void TryToOverrideURL (UOpenAIProvider *Provider)
 
void OnUploadFileCompleted (const FUploadFileResponse &Response, const FOpenAIResponseMetadata &ResponseMetadata)
 
void OnRequestError (const FString &URL, const FString &Content)
 

Static Private Member Functions

static UUploadFileActionUploadFile (const FUploadFile &File, const FOpenAIAuth &Auth, const FString &URLOverride)
 

Private Attributes

FUploadFile File
 
FOpenAIAuth Auth
 
FString URLOverride {}
 

Member Function Documentation

◆ UploadFile()

UUploadFileAction * UUploadFileAction::UploadFile ( const FUploadFile File,
const FOpenAIAuth Auth,
const FString &  URLOverride 
)
staticprivate
Parameters
URLOverrideAllows for the specification of a custom endpoint. This is beneficial when using a proxy. If this functionality is not required, this parameter can be left blank.

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