NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::ChatMessage Struct Reference

A message in the conversation history. More...

#include <types.h>

Public Attributes

std::string content
 Text content of the message.
 
std::vector< std::string > image_urls
 Base64 data URLs or HTTP URLs for vision support.
 
std::string role
 Message role: "user", "assistant", "tool", or "system".
 
std::string tool_call_id
 ID of the tool call being responded to (role == "tool").
 
std::vector< ToolCalltool_calls
 Tool calls made by the assistant (if any).
 
std::string tool_name
 Name of the tool being called.
 

Detailed Description

A message in the conversation history.

Supports all standard roles (user, assistant, tool, system) and multi-modal content via image_urls for vision-capable models.

Definition at line 36 of file types.h.


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