Files
more_dots/README.md
T

34 lines
1.2 KiB
Markdown
Raw Normal View History

2026-03-24 18:07:22 +08:00
# APBO Boat Agent
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
基于 LangChain + LangGraph 的问数 Agent 项目,提供 SQL 生成、执行与流式返回能力。
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
## 核心流程
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
完整流程图见 [docs/README.md](./docs/README.md)。
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
主链路:
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
`analyze_intent -> process_input -> normalize_input -> classify_query_mode -> match_table -> load_sql_prompt -> build_sql_plan -> generate_sql -> execute_sql -> generate_response -> update_context`
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
## 顶层模块
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
- [agent/README.md](./agent/README.md):Agent 状态与节点编排
- [api/README.md](./api/README.md):FastAPI 接口层
- [config/README.md](./config/README.md):配置与提示词资源
- [docs/README.md](./docs/README.md):核心流程图
- [examples/README.md](./examples/README.md):最小示例
- [k8s/README.md](./k8s/README.md):部署清单
- [schemas/README.md](./schemas/README.md):请求响应模型
- [scripts/README.md](./scripts/README.md):调试与同步脚本
- [services/README.md](./services/README.md):基础服务层
- [tests/README.md](./tests/README.md):自动化测试
- [tools/README.md](./tools/README.md):工具实现
- [workflows/README.md](./workflows/README.md):工作流管理
2026-02-17 02:31:39 +08:00
2026-03-24 18:07:22 +08:00
## 快速启动
2026-02-17 02:31:39 +08:00
```bash
2026-03-24 18:07:22 +08:00
pip install -r requirements.txt
2026-02-26 13:43:44 +08:00
python server.py
2026-02-17 02:31:39 +08:00
```