5#include "CoreMinimal.h"
6#include "ChatGPT/BaseService.h"
8#include "WorldTimeService.generated.h"
37 virtual bool Init(
const OpenAI::ServiceSecrets& Secrets)
override {
return true; }
39 virtual FString Description()
const override;
40 virtual FString FunctionName()
const override;
41 virtual void Call(
const TSharedPtr<FJsonObject>& Args,
const FString& ToolID)
override;
43 virtual FString Name()
const override {
return "Time"; };
44 virtual FString TooltipDescription()
const override {
return "World time from http://worldtimeapi.org"; };
47 virtual FString MakeFunction()
const override;
50 void OnRequestCompleted(FHttpRequestPtr Request, FHttpResponsePtr Response,
bool WasSuccessful);
Definition: BaseService.h:16
Definition: WorldTimeService.h:33
Definition: WorldTimeService.h:12