-
Install Dependencies
# Backend pip install flask flask-cors openai # Frontend cd frontend npm install
-
Configure Environment
- Set up your OpenAI API key in
BackEnd.py - Ensure your product database is properly configured in
products.json
- Set up your OpenAI API key in
-
Run the Application
# Start Backend Server python BackEnd.py # Start Frontend Development Server cd frontend npm start
-
Direct Mode
- Type product queries directly
- Use filters to refine search results
- Click on products to view details
-
Interactive Mode
- Engage in natural conversation about products
- Receive personalized recommendations
- Get detailed product information through chat
/frontend- React frontend application/src- Source codeApp.js- Main application componentApp.css- Styling
BackEnd.py- Flask server and API endpointsproducts.json- Product database
Feel free to submit issues and enhancement requests!