explaingit

amazinghorseli/rednote-insight

Analysis updated 2026-05-18

58PythonAudience · pm founderComplexity · 3/5Setup · moderate

TLDR

A Python tool that analyzes Xiaohongshu product reviews to answer questions about brands and generate market reports on customer complaints.

Mindmap

mindmap
  root((rednote insight))
    What it does
      Analyzes Xiaohongshu reviews
      Answers brand questions
      Generates market reports
    Tech stack
      Python
      ChromaDB
      Streamlit
    Use cases
      Ask which brand is best reviewed
      Get top complaints for a category
      Import your own review data
    Audience
      Sellers
      Product sourcers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Ask a natural-language question about which brand gets the best reviews in a product category.

USE CASE 2

Generate a market report showing the top three customer complaints and unmet needs for a category.

USE CASE 3

Import your own CSV or Excel file of reviews to analyze instead of the built-in data.

USE CASE 4

Auto-generate sample posts with AI when a product category has no data yet.

What is it built with?

PythonChromaDBStreamlit

How does it compare?

amazinghorseli/rednote-insightlittlepeachs/naturepanelforgecp-cp/liveedit
Stars585859
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity3/54/55/5
Audiencepm founderresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an API key for an OpenAI-compatible AI provider, the README is written primarily in Chinese.

In plain English

RedNote Insight is a Python tool for analyzing product reviews from Xiaohongshu, the Chinese social platform that combines Instagram-style posts with e-commerce. It is aimed at people who sell or source products and want to find out what customers actually complain about or ask for in a given product category, without reading hundreds of posts by hand. The tool has two modes. In question-and-answer mode, you ask a natural-language question like "which brand of magnetic sensor lights gets the best reviews?" and the system searches its internal knowledge base of posts to give you a structured answer with pros and cons per brand. In insight mode, you type a product category name and the tool produces a structured market report: the top three user complaints (each with an estimated frequency), unmet needs, competitor positioning, and a scoring of the market opportunity. If the knowledge base does not yet contain data for the category you typed, the tool automatically generates a set of representative posts using the AI model and adds them to the database before running the analysis. This means you are not limited to the categories already loaded. Under the hood the tool stores posts in a local vector database (ChromaDB) and uses a combination of keyword search and semantic similarity to find relevant content, then reranks the results with a second AI model before passing them to the language model. Multiple specialized AI agents handle different steps: one routes the query, one analyzes comments, one aggregates patterns, and one writes the final report. All of this runs in a single Python process with no need for Docker, a separate database server, or any other external service. You can load your own data by importing a CSV or Excel file of posts. The app runs in a web browser via Streamlit. It supports any AI API provider that is compatible with the OpenAI format, including DeepSeek, SiliconFlow, and others. The README is written primarily in Chinese.

Copy-paste prompts

Prompt 1
Help me set up this Streamlit app and connect it to an OpenAI-compatible API key.
Prompt 2
Show me how to import my own product review CSV file into this tool's knowledge base.
Prompt 3
Explain how this repo's question-and-answer mode differs from its insight mode.
Prompt 4
Walk me through how this tool reranks search results before generating a market report.

Frequently asked questions

What is rednote-insight?

A Python tool that analyzes Xiaohongshu product reviews to answer questions about brands and generate market reports on customer complaints.

What language is rednote-insight written in?

Mainly Python. The stack also includes Python, ChromaDB, Streamlit.

How hard is rednote-insight to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is rednote-insight for?

Mainly pm founder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.