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

One content fragment of a Message or Artifact. More...

#include <types.h>

Static Public Member Functions

static Part text_part (std::string s)
 Convenience: TextPart of given content.
 

Public Attributes

json data
 populated when kind == "data" (arbitrary JSON)
 
json file
 populated when kind == "file" (FileWithBytes/Uri)
 
std::string kind
 "text" | "file" | "data"
 
json metadata
 optional extension bag
 
std::string text
 populated when kind == "text"
 

Detailed Description

One content fragment of a Message or Artifact.

Discriminated by kind ∈ {"text", "file", "data"}.

Definition at line 49 of file types.h.


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