bytesc/data-copilot

✨ 大语言模型 (LLM) 的自然语言数据库查询系统 (RAG) Natural Language Database Query System (RAG) based on LLM✨ (with README in English) 🚩 通过自然语言提问,使用大语言模型智能解析数据库结构,对数据进行智能多表结构化查询和统计计算,根据查询结果智能绘制多种图表。 Pywebio 交互式前端网页,不必须 openai api,支持 qwen glm 等多种模型,100%纯 Python 代码。

35
/ 100
Emerging

Implements iterative error-correction via exception/assertion feedback loops and multi-threaded concurrent querying to improve LLM output stability, while using DataFrame operations and word embeddings with vector databases to safely map natural language to executable Python code without SQL injection risk. Built on Pywebio for the frontend, supports multiple LLM providers (OpenAI-compatible APIs, Alibaba Qwen, Hugging Face models), and integrates Pygwalker for interactive visualization of multi-table query results.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 9 / 25

How are scores calculated?

Stars

64

Forks

5

Language

Python

License

MIT

Last pushed

May 27, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/bytesc/data-copilot"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.