RAG Chatbot for Flower Shop Recommendations

RAG Chatbot for Flower Shop Recommendations

← Home

RAG Chatbot for Flower Shop Recommendations

Role
AI Engineer
Keywords
RAG
MongoDB
Vector search
Flask
API
Python
Year
2026
notion image

Table of Contents

About

page icon
Github
page icon
Tech Stack
  • OpenAI
  • OpenRouter
  • MongoDB
  • ngrok
  • Flask
  • Python

Introduction

A simple, naive RAG chatbot that recommends products based on flower shop data. It uses a free LLM, vector search using a Vietnamese embedding model, and simple UI using Streamlit.
Chatbot input and output.
Chatbot input and output.
Translation of the above image:
  • User: I would like to buy flowers for by boyfriend. I prefer a cheap one, below 20 USD.
  • Chatbot: Hi! We currently have a few bouquets such as Baby M107 …

How it works

Basically, the system works as follows:
  • Extract texts about product information, then store in MongoDB Atlas
  • Create vectors for each product using MongoDB Atlas’s native function
  • The chatbot is actually an LLM Wrapper. On inference, the system will:
    • Extract the user’s input prompt, vectorize it, then perform vector search across the MongoDB database.
    • Retrieve the related product(s) information.
    • Modify the user’s input prompt by adding the retrieved information and a command for the chatbot to answer according to the new retrieved product context.
    • Repeat the process for new inputs.

Process

page icon
Description for this project is coming soon … Meanwhile, please check out the demo links above, or check out other projects!

Other Projects

Projects (1)
Gallery view
 

Let’s Work Together

 

Contact Mai

Name
Email*
Phone Number
Message*