AI Review Management System
A review intelligence platform built over about ten months. It scrapes reviews from many websites, cleans them, extracts structured sentiment with an LLM, and indexes them in Pinecone with product and category metadata. A per-product chatbot then answers questions from those reviews, finding them with semantic and keyword search together.
- Role
- Main developer
- Team
- 3 developers
- Timeline
- About 10 months
- Stack
- Python · LangChain · OpenAI · Pinecone · FastAPI · AWS EC2

Problem
The business had a large body of customer reviews across many products, categories and websites, almost all of it unstructured text. Reading it by hand did not scale, keyword search missed paraphrased answers, and a general chatbot would answer from its training data instead of from what customers actually wrote. The system had to collect the reviews, make them consistent, analyse them, and retrieve the right ones for each question.
Approach
Architecture
How the system fits together, in two views.
Decisions
- Hybrid retrieval, not vector search aloneOver: Pure semantic searchExperiments showed vector similarity handled paraphrased questions but could miss exact product names, model numbers and terms. Lexical search covers exactly that gap, so both run on every question.
- Filter by metadata before rankingWith many products and categories in one corpus, searching everything pulled in reviews of the wrong product. Storing product and category metadata with each vector lets retrieval start from the right subset.
- Structured output for review analysisOver: Free-form LLM textDownstream code needs sentiment in a predictable shape. A schema turns the LLM into a dependable step in a data pipeline instead of text that has to be parsed.
- Pinecone for the final systemOver: ChromaDB, FAISSAll three were tried during retrieval experiments; Pinecone became the vector store for the deployed system.
- Tracing from the startAn answer depends on the query, filters, retrieved reviews, prompt and model. Langfuse traces make each of those visible, which ordinary request logs do not.
Technology
- Language
- Python
- Extraction
- Selenium, Playwright
- Data
- pandas, scikit-learn, Matplotlib
- LLM
- OpenAI API with LangChain
- Retrieval
- Pinecone with metadata filtering, semantic + lexical hybrid search
- Evaluated
- Pinecone, ChromaDB and FAISS
- Observability
- Langfuse tracing
- Serving
- FastAPI on AWS EC2
Outcome
2024My role
Main developer in a team of three, working across the core AI and backend workflow. The split of individual components inside the team is not claimed here.
- Review extraction and data cleaning
- LLM structured-output experiments
- Vector database evaluation
- Metadata-aware, hybrid retrieval
- Product-specific chatbot
- Langfuse tracing
- FastAPI backend and EC2 deployment


