Author: hologres_dev
Version: 0.1.0
Type: Tool
A tool that converts natural language into secure and optimized SQL queries supporting Hologres syntax. This plugin has been launched on the official Dify marketplace. You can directly use the hologres_text2data on the official marketplace.
- Introduce the
hologres_text2dataplugin. - Complete basic parameter configuration.
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| db_type | Select | Yes | Database type (hologres) |
| host | String | Yes | Database host address |
| port | Number | Yes | Database port (1-65535) |
| db_name | String | Yes | Target database name |
| table_name | String | No | Multiple tables separated by commas (empty for all databases) |
-
Select a model
TheQwen2.5-72b-instructmodel is recommended. Other models can be tried independently. DeepSeek models are not supported. -
Use natural language to generate SQL query statements.
- Introduce the
hologres_excute_sqlplugin. - Complete basic parameter configuration.
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| db_type | Select | Yes | Database type (hologres) |
| host | String | Yes | Database host address |
| port | Number | Yes | Database port (1-65535) |
| db_name | String | Yes | Target database name |
| sql | String | Yes | SQL query statement |
- Click "Execute" to run the SQL statement.
This plugin is developed by Alibaba Cloud and based on https://github.com/jaguarliuu/rookie_text2data program. Code is distributed under the Apache License (Version 2.0).