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

Public Member Functions

virtual void Activate () override
 

Public Attributes

FOnCompletion OnUpdate
 

Private Member Functions

void TryToOverrideURL (UOpenAIProvider *Provider)
 
void OnCreateCompletionCompleted (const FCompletionResponse &Response, const FOpenAIResponseMetadata &ResponseMetadata)
 
void OnCreateCompletionStreamProgresses (const TArray< FCompletionStreamResponse > &Responses, const FOpenAIResponseMetadata &ResponseMetadata)
 
void OnCreateCompletionStreamCompleted (const TArray< FCompletionStreamResponse > &Responses, const FOpenAIResponseMetadata &ResponseMetadata)
 
void OnRequestError (const FString &URL, const FString &Content)
 

Static Private Member Functions

static UCompletionActionCreateCompletion (const FCompletion &CompletionRequest, const FOpenAIAuth &Auth, const FString &URLOverride)
 

Private Attributes

FCompletion Completion
 
FOpenAIAuth Auth
 
FString URLOverride {}
 

Member Function Documentation

◆ CreateCompletion()

UCompletionAction * UCompletionAction::CreateCompletion ( const FCompletion CompletionRequest,
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: