|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
Dependency injection context passed to nodes during construction. More...
#include <types.h>
Public Attributes | |
| json | extra_config |
| Additional configuration (node-type specific). | |
| std::string | instructions |
| System prompt / instructions for the LLM. | |
| std::string | model |
| Model name override (empty = use provider default). | |
| std::shared_ptr< Provider > | provider |
| LLM provider for making completions. | |
| ProviderControls | provider_controls |
| Explicit typed admission controls, including finite output cap. | |
| std::string | provider_name |
| Identity metadata for an admitted Provider requirement. | |
| std::shared_ptr< const GraphRegistry > | registry |
| Construction-only registry snapshot inherited by built-in subgraphs. | |
| std::vector< ChatTool > | tool_definitions |
| Non-executable metadata for an admitted node's exact Tool requirements. | |
| ToolSet | tools |
| Owned tool collection, shared cheaply across copies of this context, the compiled graph, and the linked engine. | |
Dependency injection context passed to nodes during construction.
Provides the LLM provider, available tools, model name, and any extra configuration a node might need.
| std::string neograph::graph::NodeContext::provider_name |
| std::vector<ChatTool> neograph::graph::NodeContext::tool_definitions |
| ToolSet neograph::graph::NodeContext::tools |
Owned tool collection, shared cheaply across copies of this context, the compiled graph, and the linked engine.
Assignment replaces the context's selection without invalidating earlier compiled engines. Factories may use tools.view() for temporary raw-pointer lookup.