Skip to content

This LLM enabled chatbot that helps answer customer questions for Paderno kitchen products on Canadian Tire Corporation website.

Notifications You must be signed in to change notification settings

vbabashov/product_llm_qa_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Assistant Chatbot with Retrieval Augmented Generation (RAG) using Cohere, LangChain, Weaviate and Streamlit

Shopping Assistant Chatbot (Python)

Problem Statement:

The Retrieval Augmented Engine (RAG) is an effective solution for document retrieval, summarization, and interactive Q&A sessions. This initiative leverages LangChain, Streamlit, and Weaviate to deliver a smooth web application that enables users to execute these operations. With RAG, users can effortlessly upload numerous PDF files, create vector embeddings for the text in these documents, and engage in dialogues with the content of the documents. For a more engaging user experience, the conversation history is also retained

The goal of this repo is to develop a proof-of-concept LLM chatbot that assists customers visiting the Canadian Tire Website and app to search and shop for products.

1. Prerequisites:


Before running the project, make sure you have the following prerequisites:

  • Python 3.8+
  • LangChain
  • Streamlit
  • Weaviate URL & API Key
  • Cohere API Key

2. Usage:


  1. Create virtual environment

     `python3 -m venv env`
    
  2. Activate virtual environment

     `source ./env/bin/activate`
    
  3. Install dependencies

     `pip install -r requirements.txt`
    
  4. Start application

     `streamlit run src/streamlit.py`
    

3. Demo:

QA1

4. Future Enhancements:

  • Incorporate product user manual pdf documents
  • Function calling to decide which documents to refer depending on user query or task
  • Develop agent to dynamically to decide how to respond to user’s query by using an LLM to choose a sequence of actions (product selection and placement of order)
  • Handle post-purchase customer complaints (e.g., refunds, replacements, etc)
  • Evaluate the RAG using the RAGAS framework

About

This LLM enabled chatbot that helps answer customer questions for Paderno kitchen products on Canadian Tire Corporation website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published