- Supports importing DDL, DBML, and reverse database parsing, with AI automatically generating business models.
- Provides basic CRUD functionality for business models, AI intelligent analysis, and supports exporting models as DDL, DBML, and synchronizing with databases.
- Combines models and AI to enable natural language data queries, which can be added to the query list and called via API.
- Supports DDL, DBML and database reverse parsing import, AI automatically generates business models.
- Provides basic CRUD functions of business models, AI intelligent analysis, supports model export to DDL, DBML and synchronization with the database.
- Combines models and AI to implement natural language data queries, can be added to the query list and called via API.
- BI analysis, Function call, react code sandbox, supports importing npm packages.
## Application Scenarios🎬
+ From low-code to no-code development.
+ Non-business users can quickly perform data analysis.
+ Non-business personnel can quickly perform data analysis.
+ More application scenarios to be explored...
## Deployment
+ docker compose
```shell
NEXT_PUBLIC_OPEN_AI_API_KEY="sk-..." docker-compose up
```
+ Both chat-query and chat-query-backend support docker build and provide docker images.
## Development Environment Setup
> 👏 Welcome to contribute to the development of Chat-Query.
> 👏 Welcome to participate in the construction of Chat-Query.
+ Backend:
+ Backend:
```js
pnpminstall
pnpmstart:dev
```
- Add environement variables such as OPEN_AI_API_KEY = 'sk-...' to the .env file
- Add in .env file
```shell
#openai
OPEN_AI_API_KEY='sk-...'
MODEL_NAME="gpt-3.5-turbo-16k-0613"
BASE_URL='https://open-ai-xyy.deno.dev/v1'
# database
DB_HOST="139.198.179.193"
DB_PORT=32094
```
+ Frontend
...
...
@@ -40,7 +59,13 @@
pnpm install
pnpm dev
```
- Add OPEN_AI_API_KEY='sk-...' in components/AITool/TOKEN.ts