Skip to content

master-boda/Chatbot-ECommerce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Chatbot with LangChain 🤖🛒

Welcome to the E-commerce Chatbot project! This chatbot leverages the power of LangChain to create a dynamic, interactive shopping assistant capable of managing products, clients, and orders. By integrating Tools, Chains, and Agents, this chatbot can perform complex tasks like order creation and query handling, all through natural language interactions.

Project Structure

root/
├── app.py                # Main Streamlit application script.
├── dev.py                # Development script for testing chatbot.                   
├── requirements.txt      # Python dependencies.
├── .gitignore            # Standard .gitignore file.
├── README.md             # Comprehensive project documentation.
├── company_name/         # Replace "company_name" with your company name.
│   ├──  __init__.py      # Package initialization, expose bot and dev_bot.
│   ├── chatbot/          # Chatbot modules and assets.
│   │   ├── bot.py        # Core chatbot logic.
│   │   ├── dev_bot.py    # Development chatbot for testing.
│   │   ├── memory.py     # Chatbot memory.
│   │   ├── chains/       # Custom LangChain chains.
│   │   │   └── *.py      # Chain modules.
│   │   ├── tools/        # Utility scripts.
│   │   │   └── *.py      # Utility modules.
│   │   ├── agents/       # Custom agents.
│   │   │   └── *.py      # Agent modules.
│   │   ├── rag/          # RAG-related modules for retrieval-augmented generation.
│   │   │   └── *.py      # Scripts for retrieval, embedding, ranking, QA pipelines, and utilities.
│   │   ├── router/       # Intent router.
│   │   │   └── *.py      # Intent router developement. 
│   │   │   └── *.ipynb   # Intent routing training and evaluation. And to create synthetic data.
│   ├── pages/            # Streamlit app pages.
│   │   └── *.py          # Page modules.
│   ├── data/             # Data and scripts.
│   │   │── loader.py     # Functions to load data.
│   │   ├── database/     # Database files/scripts.
│   │   │   ├── *.db      # SQLite databases.
│   │   │   ├── *.ipynb   # Scripts for database creation.
│   │   ├── pdfs/         # PDFs and embedding scripts.
│   │   │   ├── *.pdf     # PDF files.
│   │   │   └── *.ipynb   # PDF processing scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.1%
  • Jupyter Notebook 30.9%