TeeWave

Introduction

TeeWave is a T-shirt store management application that leverages LangChain, Streamlit, and Chromadb integration to provide a dynamic and intelligent approach to handling T-shirt store operations. The application utilizes Google’s PaLM large language model (LLM) and a MySQL database to perform various queries and tasks related to T-shirt inventory management.

Features

Dependencies

The project requires the following libraries and packages:

You can install these dependencies using the following command:

pip install -r requirements.txt

Setup

Follow these steps to set up the TeeWave application:

Clone the repository:

git clone <repository_url>
cd teewave

Create a .env file: In the root directory of the project, create a .env file and add the following variables:

plaintext Copy code GOOGLE_API_KEY=your_google_api_key DB_USER=your_db_user DB_PASSWORD=your_db_password DB_HOST=your_db_host DB_NAME=your_db_name

Install dependencies:

pip install -r requirements.txt

Set up the MySQL database: Use the provided SQL schema to create the required tables in your MySQL database. Make sure the database name, user, and password match the settings in your .env file.

Modify the app.py file:

Adjust any configuration settings in the app.py file to match your setup. Usage Run the application:

streamlit run app.py

Interact with the application: Use the provided user interface to perform various tasks and queries.

Troubleshooting Ensure that the Google API key and MySQL database credentials in the .env file are correct and up to date. Double-check your database connection string and the database schema. If you encounter any errors, review the application logs for more details on the issue. Contributions Contributions are welcome! Please submit a pull request with your changes.

License

This project is licensed under the MIT License.