Embed chatbi as an iframe inside an existing internal business app so staff can ask plain-language questions about company data.
Connect chatbi to a Postgres database with pgvector and let GLM5 or Qwen Plus translate questions into SQL.
Use the offline mobile speech model to ask questions by voice from a phone and get back a chart.
Plug in your own embedding model (M3E or a cloud equivalent) to control how schema and column metadata are vectorised.
Multi-service stack: JDK 17, Maven, Node, Redis, pgvector via Docker, two SQL imports, plus an LLM and embedding model with credentials.
dbchat, also known as chatbi in some industries, is a Chinese-language project that lets a non-technical user ask questions about a company's business data in plain language and get back tables and charts. The user types or speaks a question, an AI language model converts that question into a SQL database query, the system runs the query against the connected business database through a standard Java database connector, and the answer is shown back as a table, bar chart, or pie chart. Voice input is supported on phones using an offline speech recognition model. The README explains that the project can be embedded into an existing business application as an iframe, with permissions and data source choice controlled by the host system rather than by dbchat itself. This means a company can drop the question-answering feature into a tool its staff already use without giving dbchat any direct control over which data each person can see. The technology stack listed is Spring Boot 3.5 and MyBatis-Plus 3.5 on the Java backend, the langchain4j library version 1.12.2 for connecting to the AI model, and Vue 3 with Element Plus on the frontend. It depends on pgvector, an extension of the PostgreSQL database for storing vector embeddings, and on Redis for caching. The setup instructions cover installing JDK 17, Maven, Node, and Redis, then running a Docker container for pgvector, importing two SQL files, and starting the backend and frontend separately. Recommended AI models are GLM5 or the latest Qwen Plus, with M3E or a cloud-hosted model for the vector embeddings. The author notes that the page design is not yet polished, that a professional frontend developer has been engaged to improve it by the end of the month, and that mobile support for DingTalk, WeChat Official Accounts, and Feishu is planned. The licence is GPL, with paid commercial use offered. Contact is by QQ email.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.