Skip to main content

ChatMessage Struct

Declaration

struct simaai::neat::genai::ChatMessage { ... }

Included Headers

#include <GenAITypes.h>

Public Member Attributes Index

std::stringrole
std::stringcontent
ImageListimages
booluse_cached_images = false
Jsontool_calls = Json::array()
std::optional< std::string >tool_call_id
std::optional< std::string >name

Definition at line 81 of file GenAITypes.h.

Public Member Attributes

content

std::string simaai::neat::genai::ChatMessage::content

Definition at line 83 of file GenAITypes.h.

83 std::string content;

images

ImageList simaai::neat::genai::ChatMessage::images

Definition at line 84 of file GenAITypes.h.

name

std::optional<std::string> simaai::neat::genai::ChatMessage::name

Definition at line 88 of file GenAITypes.h.

88 std::optional<std::string> name;

role

std::string simaai::neat::genai::ChatMessage::role

Definition at line 82 of file GenAITypes.h.

82 std::string role;

tool_call_id

std::optional<std::string> simaai::neat::genai::ChatMessage::tool_call_id

Definition at line 87 of file GenAITypes.h.

87 std::optional<std::string> tool_call_id;

tool_calls

Json simaai::neat::genai::ChatMessage::tool_calls = Json::array()

Definition at line 86 of file GenAITypes.h.

86 Json tool_calls = Json::array();

use_cached_images

bool simaai::neat::genai::ChatMessage::use_cached_images = false

Definition at line 85 of file GenAITypes.h.

85 bool use_cached_images = false;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.