Unreal OpenAI API 1.0.0
Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
AChatGPTWorld Class Reference
Inheritance diagram for AChatGPTWorld:

Protected Member Functions

virtual void BeginPlay () override
 
void SetAuth (const FOpenAIAuth &OpenAIAuth)
 
void SetModel (const FString &ModelName)
 
bool IsInProgress () const
 
void MakeRequest (const FMessage &Message)
 
FMessage GetLastMessage () const
 

Protected Attributes

EMainModelEnum Model {EMainModelEnum::O1}
 
int32 MaxTokens {2000}
 
FOnGPTRequestUpdated OnGPTRequestUpdated
 
FOnGPTRequestCompleted OnGPTRequestCompleted
 

Private Member Functions

void OnRequestCompleted ()
 
void OnRequestUpdated (const FMessage &Message, bool WasError)
 

Private Attributes

FOpenAIAuth OpenAIAuth
 
TObjectPtr< UChatGPTChatGPT
 
bool bIsInProgress {false}
 
FMessage LastMessage
 

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