|
My Project
|
Namespaces | |
| namespace | lg_agent |
| namespace | lg_agent.db_helper_graph |
Functions | |
| DatabaseHelperOutput | lg_agent.db_helper_graph.format_db_output (DatabaseHelperState state) |
| lg_agent.db_helper_graph.tool_route (DatabaseHelperState state) | |
Variables | |
| lg_agent.db_helper_graph.PARENT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) | |
| lg_agent.db_helper_graph.CONFIG_PATH = os.path.join(PARENT_DIR, "config.json") | |
| lg_agent.db_helper_graph.CONFIG = json.load(f) | |
| lg_agent.db_helper_graph.LOOP_CONFIG = CONFIG["loop_limits"] | |
| lg_agent.db_helper_graph.tool_node = ToolNode(db_tools) | |
| lg_agent.db_helper_graph.alt_tool_node = ToolNode(alt_db_tools) | |
| lg_agent.db_helper_graph.graph_builder = StateGraph(DatabaseHelperState, output_schema=DatabaseHelperOutput) | |
| lg_agent.db_helper_graph.db_graph = graph_builder.compile() | |