|
My Project
|
Namespaces | |
| namespace | lg_agent |
| namespace | lg_agent.web_helper_graph |
Functions | |
| WebSearchHelperOutput | lg_agent.web_helper_graph.format_web_output (WebSearchHelperState state) |
| lg_agent.web_helper_graph.tool_route (WebSearchHelperState state) | |
Variables | |
| lg_agent.web_helper_graph.PARENT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) | |
| lg_agent.web_helper_graph.CONFIG_PATH = os.path.join(PARENT_DIR, "config.json") | |
| lg_agent.web_helper_graph.CONFIG = json.load(f) | |
| lg_agent.web_helper_graph.LOOP_CONFIG = CONFIG["loop_limits"] | |
| lg_agent.web_helper_graph.tool_node = ToolNode(web_tools) | |
| lg_agent.web_helper_graph.graph_builder = StateGraph(WebSearchHelperState, output_schema=WebSearchHelperOutput) | |
| lg_agent.web_helper_graph.web_graph = graph_builder.compile() | |