Fetching data from the database using natural language.
Author: jaguarliuu
Version: 1.0.1
Type: tool
A tool that converts natural language into secure and optimized SQL queries, supporting multiple mainstream databases including MySQL, PostgreSQL, Oracle, SQL Server, and Chinese domestic databases (GaussDB, KingbaseES, DM).
We are truly grateful for the overwhelming interest in this experimental project. Your feedback is invaluable for improving this plugin. Join our WeChat group for discussions and collaboration opportunities!
Contact:
- Wechat: L1763077056
Compatible with all non-deep-thinking models
| Parameter | Type | Required | Description | Multilingual Support |
|---|---|---|---|---|
| db_type | select | Yes | Database type (MySQL/PostgreSQL/Oracle/SQL Server/GaussDB/KingbaseES/DM) | CN/EN/PT |
| host | string | Yes | Database host/IP address | CN/EN/PT |
| port | number | Yes | Database port (1-65535) | CN/EN/PT |
| db_name | string | Yes | Target database name | CN/EN/PT |
| table_names | string | No | Comma-separated table names (empty for all tables) | CN (format hints) |
| schema_name | string | No | Schema name (PostgreSQL default: public, Oracle/DM: uppercase username) | CN/EN/PT |
| username | string | Yes | Database username | CN/EN/PT |
| password | secret-input | Yes | Database password | CN/EN/PT |
| model | model-selector | Yes | LLM model configuration | CN/EN/PT |
| query | string | Yes | Natural language query statement | CN/EN/PT |
| limit | number | No | Query result limit (1-100000, default 100) | CN/EN/PT |
| result_format | select | No | Result format (JSON/TEXT, default JSON) | CN/EN/PT |
| custom_prompt | string | No | Custom prompt for fine-tuning query generation | CN/EN/PT |
| with_comment | boolean | No | Include database comments in schema metadata | CN/EN/PT |
| Parameter | Type | Required | Description | Multilingual Support |
|---|---|---|---|---|
| db_type | select | Yes | Database type (MySQL/PostgreSQL/Oracle/SQL Server/GaussDB/KingbaseES/DM) | CN/EN/PT |
| host | string | Yes | Database host/IP address | CN/EN/PT |
| port | number | Yes | Database port (1-65535) | CN/EN/PT |
| db_name | string | Yes | Target database name | CN/EN/PT |
| username | string | Yes | Database username | CN/EN/PT |
| password | secret-input | Yes | Database password | CN/EN/PT |
| schema | string | No | Schema name (PostgreSQL default: public, Oracle/DM: uppercase username) | CN/EN/PT |
| sql | string | Yes | SQL query to execute | CN/EN/PT |
| result_format | select | No | Result format (JSON/TEXT/CSV, default JSON) | CN/EN/PT |
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.