Skip to content

In this project, a Text-to-SQL chatbot powered by Google Gemini is developed. The chatbot allows users to input plain text queries and generates the corresponding SQL code along with a detailed explanation.

Notifications You must be signed in to change notification settings

thom22/Text-to-SQL-App-Using-Google-Gemini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-to-SQL-App-Using-Google-Gemini

  • This is streamlit based app that enables users to input text in plain english and generate corresponding SQL query code, along with an example of the output and an explanation of the generated code.
  • The app have the workflow shown in the image below, where the user provides a prompt, and Gemini Pro (LLM) interprets it, then generates a SQL query and returns a response. image

To get started, install the necessary packages using pip install as follows:

pip install google-generativeai streamlit

Run the streamlit app in your terminal

streamlit run text_to_sql_app.py

The final Output

text-to-sql-2

Check Out the full article of the project

Click here to check the full article of this project.

About

In this project, a Text-to-SQL chatbot powered by Google Gemini is developed. The chatbot allows users to input plain text queries and generates the corresponding SQL code along with a detailed explanation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published