SaleGPT ๐ฆ๐ SaleGPT is an intelligent order management assistant designed to help users manage order data stored in a CSV file. This project leverages the power of Python, Pandas, and an advanced large language model (LLM) to provide insights and efficient order management.
Features โจ ๐ Order Management: Automatically add, update, and delete orders based on user queries.
๐ค Case-Insensitive Search: Handle customer names, phone numbers, and addresses case-insensitively and allow partial matching.
โก Efficient Data Processing: Use efficient data indexing and filtering techniques to process information.
๐ ๏ธ Data Conversion and Processing: Validate and convert input data to ensure validity.
๐ก๏ธ Error Handling: Validate inputs to prevent potential errors and ensure data integrity.
Data Structure ๐๏ธ Order data is stored in a CSV file and loaded into a Pandas DataFrame with the following columns:
order_id: A unique identifier for each order (8 alphanumeric characters) customer_name: The name of the customer (string) phone_number: The customer's phone number (string) address: The customer's shipping address (string) order_details: Details of the order (string) preferred_delivery_time: The preferred delivery time specified by the customer (datetime) Installation ๐ ๏ธ To use SaleGPT, follow these steps:
Clone the repository:
bash Copy code git clone https://github.com/your-username/SaleGPT.git cd SaleGPT Create and activate a virtual environment:
bash
Copy code
python -m venv venv
source venv/bin/activate # On Windows, use venv\Scripts\activate
Install dependencies:
bash Copy code pip install -r requirements.txt
Usage ๐ .......
.......
Contributions ๐ค We welcome contributions to this project. Please submit Pull Requests or report issues via our GitHub repository.
License ๐ This project is licensed under the MIT License. See the LICENSE file for more details.