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

Public Member Functions

virtual void Activate () override
 

Public Attributes

FOnRetrieveModel OnCompleted
 

Private Member Functions

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

Static Private Member Functions

static URetrieveModelActionRetrieveModel (const FString &ModelName, const FOpenAIAuth &Auth, const FString &URLOverride)
 

Private Attributes

FString ModelName
 
FOpenAIAuth Auth
 
FString URLOverride {}
 

Member Function Documentation

◆ RetrieveModel()

URetrieveModelAction * URetrieveModelAction::RetrieveModel ( const FString &  ModelName,
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: