NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
plan_execute_graph.h
Go to the documentation of this file.
1
28#pragma once
29
31
32namespace neograph::graph {
33
48std::unique_ptr<GraphEngine> create_plan_execute_graph(
49 std::shared_ptr<Provider> provider,
50 std::vector<std::unique_ptr<Tool>> tools,
51 const std::string& planner_prompt,
52 const std::string& executor_prompt,
53 const std::string& responder_prompt,
54 const std::string& model = "",
55 int max_step_iterations = 5);
56
57} // namespace neograph::graph
Main graph execution engine with super-step loop and HITL support.
std::unique_ptr< GraphEngine > create_plan_execute_graph(std::shared_ptr< Provider > provider, std::vector< std::unique_ptr< Tool > > tools, const std::string &planner_prompt, const std::string &executor_prompt, const std::string &responder_prompt, const std::string &model="", int max_step_iterations=5)
Build a Plan-and-Execute graph.