Unreal OpenAI API 1.0.0
Loading...
Searching...
No Matches
FMessage Struct Reference

Public Attributes

FString Content
TArray< FMessageContentContentArray
FString Role
FOptionalString Name
FOptionalString Refusal
TArray< FToolCallsTool_Calls
FOptionalString Tool_Call_ID

Member Data Documentation

◆ Content

FString FMessage::Content

The contents of the message. content is required for all messages, and may be null for assistant messages with function calls.

◆ ContentArray

TArray<FMessageContent> FMessage::ContentArray

An array of content parts with a defined type, each can be of type text or image_url when passing in images. You can pass multiple images by adding multiple image_url content parts. Image input is only supported when using the gpt-4o model.

◆ Name

FOptionalString FMessage::Name

An optional name for the participant. Provides the model information to differentiate between participants of the same role.

◆ Refusal

FOptionalString FMessage::Refusal

The refusal message generated by the model (response-only).

◆ Role

FString FMessage::Role

The role of the messages author. One of system, user, assistant, or tool.

◆ Tool_Call_ID

FOptionalString FMessage::Tool_Call_ID

Tool call that this message is responding to.

◆ Tool_Calls

TArray<FToolCalls> FMessage::Tool_Calls

The tool calls generated by the model, such as function calls.


The documentation for this struct was generated from the following file: