Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.12 KB

File metadata and controls

26 lines (16 loc) · 1.12 KB

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.