|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
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". | |
| std::string | kind |
| "text" | "file" | "data" | |
| std::string | media_type |
1.0 Part.media_type for text/data parts (e.g. | |
| json | metadata |
| optional extension bag | |
| std::string | text |
| populated when kind == "text" | |
One content fragment of a Message or Artifact.
Discriminated by kind ∈ {"text", "file", "data"} in the model; on the 1.0 wire the discriminator is implicit (which of text/raw/url/data is set).
| json neograph::a2a::Part::file |
| std::string neograph::a2a::Part::media_type |
1.0 Part.media_type for text/data parts (e.g.
"text/plain"). Empty when absent; never emitted on the 0.3 wire.