Review Tagger
Tag each customer review with a one or two-word topic, such as Delivery or Sizing.
#about
Gives every review a one or two-word tag for its main topic, such as "Delivery", "Build Quality", "Sizing" or "Value".
Reviews go to an OpenAI GPT model in batches, 25 at a time by default.
Each batch gets up to three attempts, five seconds apart, and any review still untagged is left blank for you to check.
Tags are free-form, so run them through the Tag Consolidator to group them into broader categories.
Run it locallyRequires an API key
- Platform
- Streamlit app you run on your own machine (needs Python 3.x)
- Input
- CSV with a column containing review textOpenAI API key
- Output
- CSV (tagged_reviews.csv) with all original columns plus a Tag column holding a one or two-word topic label per review. On screen: row count, rows tagged, unique tags and a warning for untagged rows.
- Category
- Content
Use cases
- First-pass review classification before deeper analysis
- Identifying recurring product issues from customer feedback
- Grouping reviews by topic for sentiment reporting
- Feeding into the Tag Consolidator for higher-level categories
#features
- Batch processing with configurable size (5-100, default 25)
- JSON response format for reliable parsing
- Up to 3 attempts per batch, 5 seconds apart
- Model selection: GPT Luna (default) or GPT Terra
- Automatic review column detection (default: Review)
- Failed tags left blank with summary counts for manual review
- Progress tracking with batch counter
#how-to-use
- Enter your OpenAI API key in the sidebar
- Choose a model (GPT Luna, the default, is recommended for cost; GPT Terra is the alternative)
- Upload your CSV and select the review text column
- Adjust batch size if needed (default 25)
- Click Tag Reviews and monitor progress
- Download the results CSV with the new Tag column
#faq
- How many different tags will I get, and can I supply my own list?
- Tags are free-form. The model picks a one or two-word label for each review with no fixed list, so near-duplicates such as Delivery and Shipping are likely across a large file. There is no setting for your own list. Run the result through the Tag Consolidator to group similar tags into broader categories.
- What happens when a review cannot be tagged?
- If the model leaves an ID out of its response, or if the API call still fails after 3 attempts (with a 5 second wait between them), the Tag column for those rows is left blank. The app displays a warning with the untagged count so you can review them manually or re-run.
- Can a review receive more than one tag?
- No. The system prompt explicitly instructs the model to choose the single most dominant topic and return exactly one tag of one or two words. If a review spans multiple topics, only the primary one is captured. For broader categorisation, pair this tool with the Tag Consolidator.
- Why does the Reviews Tagged figure match my row count?
- That figure is the number of rows in the file, not the number that received a tag. Successfully Tagged is the real count, and the warning below it shows how many rows were left blank. Reviews are sent in batches of 25 by default; you can set 5 to 100.
- Which models are available?
- The app offers GPT Luna (the default) and GPT Terra. The command line version reads the OPENAI_API_KEY environment variable and defaults to gpt-6-luna; pass --model gpt-6.1-terra to use the other model.
/contact
Want me to run this for you? I run this tool as a managed service, or build something custom around your data. You get the insights without touching the code.