GeminiPro LLM converts natural language queries to SQL commands, GeminiPro generates SQL, executes it, and returns results. This simplifies data retrieval by eliminating the need for SQL expertise and streamlines database operations securely and efficiently.
Clone the repository
Project repo: https://github.com/codeakki/TextToSQLUsingGENAI.git
conda create -n venv python=3.9 -y
conda activate venv
pip install -r requirements.txt
GOOGLE_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# Finally run the following command
python app.py
Now,
open up localhost:
https://huggingface.co/spaces/codeakki/TextToSQLUsingGENAI/tree/main
- Python
- Streamlit
- google-generativeai
- SqlLite