5#include "Kismet/BlueprintAsyncActionBase.h"
6#include "Provider/Types/Legacy/CompletionTypes.h"
7#include "Provider/Types/CommonTypes.h"
8#include "CompletionAction.generated.h"
16 UPROPERTY(BlueprintReadOnly, Category =
"OpenAI")
20 UPROPERTY(BlueprintReadOnly, Category = "
OpenAI")
24 UPROPERTY(BlueprintReadOnly, Category = "
OpenAI")
25 FString StreamResponseString{};
27 UPROPERTY(BlueprintReadOnly, Category =
"OpenAI")
30 UPROPERTY(BlueprintReadOnly, Category =
"OpenAI")
34DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(
45 UPROPERTY(BlueprintAssignable)
46 FOnCompletion OnUpdate;
48 virtual void Activate()
override;
55 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly =
"true"), Category =
"OpenAI | Completion")
61 void OnCreateCompletionStreamProgresses(
63 void OnCreateCompletionStreamCompleted(
65 void OnRequestError(
const FString& URL,
const FString& Content);
70 FString URLOverride{};
Definition: OpenAI.Build.cs:6
Definition: CompletionAction.h:41
Definition: OpenAIProvider.h:45
void CreateCompletion(const FCompletion &Completion, const FOpenAIAuth &Auth)
Definition: OpenAIProvider.cpp:55
Definition: CompletionTypes.h:16
Definition: CompletionAction.h:12
Definition: CompletionTypes.h:252
Definition: CompletionTypes.h:264
Definition: CommonTypes.h:11
Definition: CommonTypes.h:28