Skip to content

A python script that generate sql query based on natural language and extract data from database

Notifications You must be signed in to change notification settings

milkfish033/Fish_sql

Repository files navigation

Fish_sql

Contact info: [email protected]

What does this project do🐟:

(i)Generating Mysql Query by calling LLM model

(ii)Excute query and return the result back

-------------------------------------------------------------------------------------------------------------

What's new🐡:

06/25/2024: Add doubao directory: using doubao llm to test

06/20/2024: Use llamaindex agent to refine generating Sql query (Check nl2sql.py)

-------------------------------------------------------------------------------------------------------------

Bibliography🐠:

(i) LlamaIndex text-to-sql: https://docs.llamaindex.ai/en/stable/examples/index_structs/struct_indices/SQLIndexDemo/

(ii) Text retrieval: https://modelscope.cn/models/iic/nlp_gte_sentence-embedding_chinese-base

(iii) Doubao llm: https://www.volcengine.com/product/doubao

About

A python script that generate sql query based on natural language and extract data from database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published