This project is an application that uses Google Gemini Pro to convert natural language questions into SQL queries and retrieves data from a SQLite database. The application is implemented using Python and Streamlit.

Follow these steps to set up the Text-To-SQL-LLM-App:
Clone the Repository:
git clone <repository_url>
cd text-to-sql-llm-app
Create a .env file:
In the root directory of the project, create a .env file and add the following variables:
GOOGLE_API_KEY=your_google_api_key
Install Dependencies:
Install the required Python packages from the requirements.txt file:
pip install -r requirements.txt
Set up the SQLite Database:
Use the provided SQL schema to create the required tables in your SQLite database.
Modify the app.py file:
Adjust any configuration settings in the app.py file to match your setup.
Run the application:
Start the application using Streamlit:
streamlit run app.py
Interact with the application:
Use the provided user interface to input natural language questions and retrieve SQL data.
.env file are correct and up to date.Contributions are welcome! Please submit a pull request with your changes.
This project is licensed under the MIT License.