NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::a2a::StructuredOutputAdapter Class Referencefinal

Adapt one JSON-valued graph output channel into a versioned A2A DataPart. More...

#include <server.h>

Inheritance diagram for neograph::a2a::StructuredOutputAdapter:
[legend]
Collaboration diagram for neograph::a2a::StructuredOutputAdapter:
[legend]

Public Member Functions

std::optional< Artifact > build_output_artifact (const neograph::json &output, const std::string &task_id) const override
 Optionally promote a graph output into a typed A2A artifact.
 
std::string input_channel () const override
 Channel name to write the inbound user text into (default "prompt").
 
std::string output_channel () const override
 Channel name to read the agent's text response from (default "response").
 
- Public Member Functions inherited from neograph::a2a::GraphAgentAdapter
virtual neograph::json build_initial_state (const std::string &user_text) const
 Hook to populate the initial graph state.
 
virtual neograph::json build_resume_value (const Message &message) const
 The value a follow-up message to an INPUT_REQUIRED task resumes the interrupted run with (spec 3.4.3).
 

Detailed Description

Adapt one JSON-valued graph output channel into a versioned A2A DataPart.

Definition at line 116 of file server.h.


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