How anushreeankola/ai-powered-product-review-analyzer works
Product Review Analyzer is a Streamlit application for analyzing sample or pasted product reviews. Users select analysis features or transformations, view results, compare sample reviews, and can export a report. The app coordinates focused prompt modules, which send requests through a shared Anthropic client. The README documents the comparison and report capabilities; the shown app excerpts do not expose their full implementation, so they remain part of the app node. Links reflect imports and calls visible in the excerpts or SOURCE INDEX.
Main entry points: app.py Review UI, workflow & reports · llm_client.py LLM client · summarize.py Review summaries · infer.py Review insights
Components 9
Review experience
Prompt capabilities
- Review summaries
prompts/summarize.py - Review insights
prompts/infer.py - Review transformations
prompts/transform.py - Customer replies
prompts/expand.py
Model runtime
- LLM client
utils/llm_client.py
Sample content
- Sample reviews
utils/sample_reviews.py
Other components
- Review analyst
- Anthropic Claude API
Connections 11
- Review analyst → Review UI, workflow & reports: uses
README.md - Review UI, workflow & reports → Sample reviews: loads samples
app.py - Review UI, workflow & reports → Review summaries: requests summaries
app.py - Review UI, workflow & reports → Review insights: requests insights
app.py - Review UI, workflow & reports → Review transformations: requests transformations
app.py - Review UI, workflow & reports → Customer replies: requests replies
app.py - Review summaries → LLM client: requests completion
prompts/summarize.py - Review insights → LLM client: requests completion
prompts/infer.py - Review transformations → LLM client: requests completion
prompts/transform.py - Customer replies → LLM client: requests completion
prompts/expand.py - LLM client → Anthropic Claude API: calls API
utils/llm_client.py