RedisVentures / redis-langchain-chatbot

In this tutorial we build a conversational retail shopping assistant that helps customers find items of interest that are buried in a product catalog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build an Ecommerce Chatbot with Redis, LangChain, and OpenAI

Powered by Redis, LangChain, and OpenAI

In this tutorial we build a conversational retail shopping assistant that helps customers find items of interest that are buried in a product catalog. Our chatbot will take user input, find relevant products, and present the information in a friendly and detailed manner.

The source code here goes along with this Redis blog post. Try various prompt-engineering techniques to improve on this prototype for your use case!

Getting Started

  1. Get an OpenAI API Key.
  2. Add the API key to the docker-compose.yml file here in the repo.
  3. Start up the docker compose environment:
    docker compose up

Coming Soon

  • Extensions to LangChain + Redis integration for conversational memory storage
  • Have an idea or contribution to make this even better? Open an issue -- let's collaborate!

About

In this tutorial we build a conversational retail shopping assistant that helps customers find items of interest that are buried in a product catalog.


Languages

Language:Jupyter Notebook 100.0%