A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::actions::StreamReference Struct Reference

Locate an auxiliary producer independently of its stream payload. More...

#include <cpp/a11/actions/stream_reference.h>

Public Member Functions

absl::Status Validate () const
 Validate the identifiers independently of source serialization.
 

Public Attributes

std::string producer_id {}
 Stable logical producer identity.
 
std::string parent_producer_id {}
 Enclosing producer, or empty.
 
data::NodeRef node {}
 Node readable in the receiving scope.
 
std::string purpose {}
 Payload protocol, such as llm_usage.
 
data::Chunk source {}
 Opaque source metadata as a JSON object.
 

Friends

bool operator== (const StreamReference &, const StreamReference &)=default
 

Detailed Description

Locate an auxiliary producer independently of its stream payload.

Member Function Documentation

◆ Validate()

absl::Status a11::actions::StreamReference::Validate ( ) const

Validate the identifiers independently of source serialization.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const StreamReference &  ,
const StreamReference &   
)
friend

Member Data Documentation

◆ node

data::NodeRef a11::actions::StreamReference::node {}

Node readable in the receiving scope.

◆ parent_producer_id

std::string a11::actions::StreamReference::parent_producer_id {}

Enclosing producer, or empty.

◆ producer_id

std::string a11::actions::StreamReference::producer_id {}

Stable logical producer identity.

◆ purpose

std::string a11::actions::StreamReference::purpose {}

Payload protocol, such as llm_usage.

◆ source

data::Chunk a11::actions::StreamReference::source {}

Opaque source metadata as a JSON object.


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