Data structures
Data Structures
Function Definition
FLLMFunctionDefinition
USTRUCT(BlueprintType)
struct FLLMFunctionDefinition
{
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Definition")
FString Name;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Definition")
FString Description;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Definition")
TArray<FLLMFunctionParameter> Parameters;
};
Function Parameter
FLLMFunctionParameter
USTRUCT(BlueprintType)
struct FLLMFunctionParameter
{
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Parameter")
FString Name;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Parameter")
ELLMFunctionParameterType Type; // String, Number, Integer, Boolean, Array, Object
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Parameter")
FString Description;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Parameter")
bool bIsRequired;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Parameter")
FString DefaultValue;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Parameter")
TArray<FString> AllowedValues; // Optional enum values
};
Parameter Type Enum
ELLMFunctionParameterType
UENUM(BlueprintType)
enum class ELLMFunctionParameterType : uint8
{
String,
Number,
Integer,
Boolean,
Array,
Object
};
AI Provider Enum
EAIProvider
UENUM(BlueprintType)
enum class EAIProvider : uint8
{
None, // Not connected to any provider
OpenAI, // OpenAI cloud service
LocalAI, // LocalAI local/offline service
Grok // Grok (xAI) cloud service with web search
};
Function Call
FLLMFunctionCall
USTRUCT(BlueprintType)
struct FLLMFunctionCall
{
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Call")
FString CallId;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Call")
FString Name;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Function Call")
FString ArgumentsJson;
};