Unreal OpenAI API 1.0.0
|
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 UCompletionAction * | CreateCompletion (const FCompletion &CompletionRequest, const FOpenAIAuth &Auth, const FString &URLOverride) |
Private Attributes | |
FCompletion | Completion |
FOpenAIAuth | Auth |
FString | URLOverride {} |
|
staticprivate |
URLOverride | Allows 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. |