Unreal OpenAI API 1.0.0
Loading...
Searching...
No Matches
USpeechAction Class Reference
Inheritance diagram for USpeechAction:
UOpenAIActionBase

Public Member Functions

virtual void Activate () override

Public Attributes

FOnSpeech OnCompleted

Private Member Functions

void OnCreateSpeechCompleted (const FSpeechResponse &Response, const FOpenAIResponseMetadata &ResponseMetadata)
virtual void OnRequestError (const FString &URL, const FString &Content) override
virtual void SetEndpoint (OpenAI::V1::FOpenAIEndpoints &Endpoints, const FString &URL) const override

Static Private Member Functions

static USpeechActionCreateSpeech (const FSpeech &Speech, const FOpenAIAuth &Auth, const FString &URLOverride, const FSpeechSettings &Settings)

Private Attributes

FSpeech Speech
FSpeechSettings Settings

Additional Inherited Members

Protected Member Functions inherited from UOpenAIActionBase
UOpenAIProviderCreateProvider ()
Protected Attributes inherited from UOpenAIActionBase
FOpenAIAuth Auth
FString URLOverride

Member Function Documentation

◆ CreateSpeech()

USpeechAction * USpeechAction::CreateSpeech ( const FSpeech & Speech,
const FOpenAIAuth & Auth,
const FString & URLOverride,
const FSpeechSettings & Settings )
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.

◆ OnRequestError()

void USpeechAction::OnRequestError ( const FString & URL,
const FString & Content )
overrideprivatevirtual

Reimplemented from UOpenAIActionBase.

◆ SetEndpoint()

void USpeechAction::SetEndpoint ( OpenAI::V1::FOpenAIEndpoints & Endpoints,
const FString & URL ) const
overrideprivatevirtual

Reimplemented from UOpenAIActionBase.


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