Unreal OpenAI API 1.0.0
ChatParser.h
1// OpenAI Sample, Copyright LifeEXE. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Provider/Types/Chat/ChatCommonTypes.h"
7
8namespace OpenAI
9{
10class OPENAI_API ChatParser
11{
12public:
13 static FString ChatCompletionToJsonRepresentation(const FChatCompletion& ChatCompletion);
14 static bool CleanChunkResponseString(FString& IncomeString, bool& LastString);
15};
16} // namespace OpenAI
Definition: ChatParser.h:11
Definition: OpenAI.Build.cs:6
Definition: ChatCommonTypes.h:159