The BuyBuddy is a Chat Bot that utilizes the ChatGPT language model to provide users with information and assistance related to online shopping and e-commerce. It is designed to engage in natural language conversations and help users with various e-commerce-related queries, such as finding products, making purchase recommendations, answering shopping-related questions, and more. This documentation outlines how to set up, configure, and use BuyBuddy.
1. Introduction
2. Installation
4. Usage
The Ecommerce Chatbot is a conversational AI application built using the ChatGPT language model developed by OpenAI. Its primary purpose is to assist users with e-commerce-related inquiries and engage in meaningful conversations to provide shopping recommendations, tips, and information.
-
Natural Language Understanding: The bot is trained to understand and respond to a wide range of e-commerce and shopping-related queries in natural language.
-
Product Recommendations: The bot can suggest products based on user preferences, search queries, or browsing history.
-
Shopping Assistance: Users can ask for assistance with making purchases, finding the best deals, and tracking orders.
-
Product Information: The bot can provide detailed information about products, including specifications, prices, and customer reviews.
-
Shopping Tips: Users can inquire about shopping tips, discount codes, and online shopping best practices.
- Python 3.6 or later
- OpenAI GPT-3 API Key (Sign up on the OpenAI website to obtain an API key)
- Textbase - Textbase is a framework for building chatbots using NLP and ML.
- Poetry (you might have to install Poetry first).
git clone https://github.com/deveshXm/E-Commerce-Chatbot.git
poetry shell
poetry install
cd travel-bot
poetry shell
poetry install
Before running the Travel Bot, you need to configure the API key for the OpenAI GPT-3 API, Airtable Key, Rapid API Key
Replace the following with API Keys in .env
OPENAI_API_KEY="openai_api_key"
RAPID_API_KEY="rapid_api_key"
poetry run python textbase/textbase_cli.py test main.py
Now go to http://localhost:4000 and start chatting with your bot! The bot will automatically reload when you change the code.
Engage in natural language conversations with the bot. For example:
- "I want to buy a shaving creamm?"
Contributions are welcome! Please open an issue or a pull request.