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

Public Member Functions

virtual void Activate () override
 

Public Attributes

FOnImage OnCompleted
 

Private Member Functions

void TryToOverrideURL ()
 
void OnCreateImageCompleted (const FImageResponse &Response, const FOpenAIResponseMetadata &ResponseMetadata)
 
void OnRequestError (const FString &URL, const FString &Content)
 

Static Private Member Functions

static UImageActionCreateImage (const FOpenAIImage &Image, const FOpenAIAuth &Auth, const FString &URLOverride)
 

Private Attributes

TObjectPtr< UOpenAIProviderProvider
 
FOpenAIImage Image
 
FOpenAIAuth Auth
 
FString URLOverride {}
 

Member Function Documentation

◆ CreateImage()

UImageAction * UImageAction::CreateImage ( const FOpenAIImage Image,
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: