[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72641":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},72641,"SQLBot","dataease\u002FSQLBot","dataease","🔥 基于大模型和 RAG 的智能问数系统，对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.","https:\u002F\u002Fsqlbot.org\u002F",null,"JavaScript",6240,745,43,69,0,32,68,173,96,39.62,"Other",false,"main",[26,27,28,29,30,31,32,33],"chatbi","deepseek","llm","nl2sql","rag","sqlbot","text-to-sql","text2sql","2026-06-12 02:03:06","\u003Cp align=\"center\">\u003Cimg src=\"https:\u002F\u002Fresource-fit2cloud-com.oss-cn-hangzhou.aliyuncs.com\u002Fsqlbot\u002Fsqlbot.png\" alt=\"SQLBot\" width=\"300\" \u002F>\u003C\u002Fp>\n\u003Ch3 align=\"center\">基于大模型和 RAG 的智能问数系统\u003C\u002Fh3>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Ftrendshift.io\u002Frepositories\u002F14540\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Ftrendshift.io\u002Fapi\u002Fbadge\u002Frepositories\u002F14540\" alt=\"dataease%2FSQLBot | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"\u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdataease\u002FSQLBot\u002Freleases\u002Flatest\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fdataease\u002FSQLBot\" alt=\"Latest release\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdataease\u002FSQLBot\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fdataease\u002FSQLBot?color=%231890FF&style=flat-square\" alt=\"Stars\">\u003C\u002Fa>    \n  \u003Ca href=\"https:\u002F\u002Fhub.docker.com\u002Fr\u002Fdataease\u002FSQLbot\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Fdataease\u002Fsqlbot?label=downloads\" alt=\"Download\">\u003C\u002Fa>\u003Cbr\u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"README.md\">\u003Cimg alt=\"中文(简体)\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F中文(简体)-d9d9d9\">\u003C\u002Fa>\n  \u003Ca href=\"\u002Fdocs\u002FREADME.en.md\">\u003Cimg alt=\"English\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FEnglish-d9d9d9\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Chr\u002F>\n\n\nSQLBot 是一款基于大语言模型和 RAG 的智能问数系统，由 DataEase 开源项目组匠心出品。借助 SQLBot，用户可以实现对话式数据分析（ChatBI），快速提炼获取所需的数据信息及可视化图表，并且支持进一步开展智能分析。\n\n## 工作原理\n\n\u003Cimg width=\"1153\" height=\"563\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F8bc40db1-2602-4b68-9802-b9be36281967\" \u002F>\n\n## 核心优势\n\n- **开箱即用**：仅需简单配置大模型与数据源，无需复杂开发，即可快速开启智能问数；依托大模型自然语言理解与 SQL 生成能力，结合 RAG 技术，实现高质量 Text-to-SQL 转换。\n- **安全可控**：提供工作空间级资源隔离机制，构建清晰数据边界，保障数据访问安全；支持细粒度数据权限配置，强化权限管控能力，确保使用过程合规可控。\n- **易于集成**：支持多种集成方式，提供 Web 嵌入、弹窗嵌入、MCP 调用等能力；能够快速嵌入到 n8n、Dify、MaxKB、DataEase 等应用，让各类应用快速拥有智能问数能力。\n- **越问越准**：支持自定义提示词、术语库配置，可维护 SQL 示例校准逻辑，精准匹配业务场景；高效运营，基于用户交互数据持续迭代优化，问数效果随使用逐步提升，越问越准。\n\n## 支持的大模型服务商\n\n| 服务商 | API 兼容 |\n|--------|----------|\n| 阿里云百炼 | OpenAI 兼容 |\n| 千帆大模型 | OpenAI 兼容 |\n| DeepSeek | OpenAI 兼容 |\n| 腾讯混元 | OpenAI 兼容 |\n| 讯飞星火 | OpenAI 兼容 |\n| Gemini | OpenAI 兼容 |\n| OpenAI | 原生 |\n| Kimi | OpenAI 兼容 |\n| 腾讯云 | OpenAI 兼容 |\n| 火山引擎 | OpenAI 兼容 |\n| MiniMax | OpenAI 兼容 |\n| 通用 OpenAI 兼容 | 自定义 |\n\n## 快速开始\n\n### 安装部署\n\n准备一台 Linux 服务器，安装好 [Docker](https:\u002F\u002Fdocs.docker.com\u002Fget-docker\u002F)，执行以下一键安装脚本：\n\n```bash\ndocker run -d \\\n  --name sqlbot \\\n  --restart unless-stopped \\\n  -p 8000:8000 \\\n  -p 8001:8001 \\\n  -v .\u002Fdata\u002Fsqlbot\u002Fexcel:\u002Fopt\u002Fsqlbot\u002Fdata\u002Fexcel \\\n  -v .\u002Fdata\u002Fsqlbot\u002Ffile:\u002Fopt\u002Fsqlbot\u002Fdata\u002Ffile \\\n  -v .\u002Fdata\u002Fsqlbot\u002Fimages:\u002Fopt\u002Fsqlbot\u002Fimages \\\n  -v .\u002Fdata\u002Fsqlbot\u002Flogs:\u002Fopt\u002Fsqlbot\u002Fapp\u002Flogs \\\n  -v .\u002Fdata\u002Fpostgresql:\u002Fvar\u002Flib\u002Fpostgresql\u002Fdata \\\n  --privileged=true \\\n  dataease\u002Fsqlbot\n```\n\n你也可以通过 [1Panel 应用商店](https:\u002F\u002Fapps.fit2cloud.com\u002F1panel) 快速部署 SQLBot。\n\n如果是内网环境，你可以通过 [离线安装包方式](https:\u002F\u002Fcommunity.fit2cloud.com\u002F#\u002Fproducts\u002Fsqlbot\u002Fdownloads) 部署 SQLBot。\n\n### 访问方式\n\n- 在浏览器中打开: http:\u002F\u002F\u003C你的服务器IP>:8000\u002F\n- 用户名: admin\n- 密码: SQLBot@123456\n\n### 联系我们\n\n如你有更多问题，可以加入我们的技术交流群与我们交流。\n\n\u003Cimg width=\"180\" height=\"180\" alt=\"contact_me_qr\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F2594ff29-5426-4457-b051-279855610030\" \u002F>\n\n## UI 展示\n\n  \u003Ctr>\n    \u003Cimg alt=\"q&a\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F55526514-52f3-4cfe-98ec-08a986259280\"   \u002F>\n  \u003C\u002Ftr>\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=dataease\u002Fsqlbot&type=Date)](https:\u002F\u002Fwww.star-history.com\u002F#dataease\u002Fsqlbot&Date)\n\n## 飞致云旗下的其他明星项目\n\n- [DataEase](https:\u002F\u002Fgithub.com\u002Fdataease\u002Fdataease\u002F) - 人人可用的开源 BI 工具\n- [1Panel](https:\u002F\u002Fgithub.com\u002F1panel-dev\u002F1panel\u002F) - 现代化、开源的 Linux 服务器运维管理面板\n- [MaxKB](https:\u002F\u002Fgithub.com\u002F1panel-dev\u002FMaxKB\u002F) - 强大易用的企业级智能体平台\n- [JumpServer](https:\u002F\u002Fgithub.com\u002Fjumpserver\u002Fjumpserver\u002F) - 广受欢迎的开源堡垒机\n- [Cordys CRM](https:\u002F\u002Fgithub.com\u002F1Panel-dev\u002FCordysCRM) - 新一代的开源 AI CRM 系统\n- [Halo](https:\u002F\u002Fgithub.com\u002Fhalo-dev\u002Fhalo\u002F) - 强大易用的开源建站工具\n- [MeterSphere](https:\u002F\u002Fgithub.com\u002Fmetersphere\u002Fmetersphere\u002F) - 新一代的开源持续测试工具\n\n## License\n\n本仓库遵循 [FIT2CLOUD Open Source License](LICENSE) 开源协议，该许可证本质上是 GPLv3，但有一些额外的限制。\n\n你可以基于 SQLBot 的源代码进行二次开发，但是需要遵守以下规定：\n\n- 不能替换和修改 SQLBot 的 Logo 和版权信息；\n- 二次开发后的衍生作品必须遵守 GPL V3 的开源义务。\n\n如需商业授权，请联系 support@fit2cloud.com 。\n","SQLBot 是一款基于大语言模型和 RAG 技术的智能问数系统，能够实现对话式数据分析。其核心功能包括通过自然语言理解生成高质量的 SQL 查询，并支持数据可视化和进一步的智能分析。技术特点方面，SQLBot 提供开箱即用的便捷性，仅需简单配置即可快速启动；同时具备安全可控的数据访问机制和细粒度权限管理，确保数据安全。此外，它还支持多种集成方式，易于嵌入到现有应用中，并且能够根据用户交互持续优化查询准确性。适用于需要高效、直观地从数据库中提取信息并进行分析的各种业务场景。",2,"2026-06-11 03:42:54","high_star"]