TabulaRAG
A fast-ingesting tabular data MCP RAG tool backed with cell citations.
= 18" />
快速启动(见下文)
- 构建和启动服务:
./scripts/dev-up.sh
- 验证后端:
http://localhost:8000/health curl http://localhost:8000/health/deps
- 停止服务:
./scripts/dev-down.sh
- 流日志:
./scripts/dev-logs.sh 或 ./scripts/dev-logs.sh backend
服务:
- 前端:
localhost:5173 - 后端:
localhost:8000 - Postgres:
localhost:5433 - 问题:
localhost:6333
摄入(CSV/TSV)
上传表格以供摄入:
curl -F "file=@/path/to/data.csv" \
-F "dataset_name=my_table" \
-F "has_header=true" \
-F "delimiter=," \
http://localhost:8000/ingest笔记:
- 仅限UTF-8 CSV/TSV。
delimiter支持,或选项卡。如果省略,则会自动检测。
通过外部工具连接
TabulaRAG公开了两个端点,用于与AI助手和工具运行器集成:
| 类型 | URL |
|---|---|
| OpenAPI | http://localhost:8000/openapi.json |
| MCP(流式HTTP) | http://localhost:8000/mcp |
注: 如果您的客户端在浏览器外运行(例如在Docker或桌面应用程序内),请替换localhost使用您机器的本地IP地址。跑ipconfig(Windows)或ifconfig(Mac/Linux)找到它。
