5#include "Kismet/BlueprintAsyncActionBase.h"
6#include "Provider/Types/Chat/ChatCompletionTypes.h"
7#include "Provider/Types/Chat/ChatCompletionChunkTypes.h"
8#include "Provider/Types/CommonTypes.h"
9#include "ChatCompletionAction.generated.h"
17 UPROPERTY(BlueprintReadOnly, Category =
"OpenAI")
21 UPROPERTY(BlueprintReadOnly, Category = "
OpenAI")
25 UPROPERTY(BlueprintReadOnly, Category = "
OpenAI")
26 FString StreamResponseString{};
28 UPROPERTY(BlueprintReadOnly, Category =
"OpenAI")
31 UPROPERTY(BlueprintReadOnly, Category =
"OpenAI")
46 UPROPERTY(BlueprintAssignable)
47 FOnChatCompletion OnUpdate;
49 virtual void Activate()
override;
56 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly =
"true"), Category =
"OpenAI | Chat")
63 void OnCreateChatCompletionStreamProgresses(
65 void OnCreateChatCompletionStreamCompleted(
67 void OnRequestError(
const FString& URL,
const FString& Content);
72 FString URLOverride{};
Definition: OpenAI.Build.cs:6
Definition: ChatCompletionAction.h:42
Definition: OpenAIProvider.h:45
void CreateChatCompletion(const FChatCompletion &Completion, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:74
Definition: ChatCommonTypes.h:159
Definition: ChatCompletionAction.h:13
Definition: ChatCompletionTypes.h:104
Definition: ChatCompletionChunkTypes.h:77
Definition: CommonTypes.h:11
Definition: CommonTypes.h:28