This application allows users to query a database containing information about their database, including their brands, colors, sizes, prices,stock quantities as well as their Business insights in simple natural language
-
Clone this repository to your local machine:
git clone (https://github.com/joelsiby02/ConvoQuery.git)
-
Navigate to the project directory:
cd ConvoQuery
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up the environment variables by creating a
.env
file in the project root directory and adding the following variables:DB_USER=<database_username> DB_PASSWORD=<database_password> DB_HOST=<database_host> DB_NAME=<database_name> GOOGLE_API_KEY=<your_google_api_key> "https://makersuite.google.com/" !!! #replace with your database's and llm key !!!
-
Run the application:
streamlit run app.py
-
Access the application in your web browser at
http://localhost:5000
. -
Enter your query in the text input field and click the "Submit" button to execute the query.
-
To retrieve the price of a small size Adidas white T-shirt:
What is the cost of a small size Adidas White T-Shirt?
-
To list all available T-shirt brands:
Print all brand names from t_shirts?
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
This Project is designed as Team6 mini Project