|
| 1 | +# PerplexiCart – AI Powered Value Aligned Shopping Assistant |
| 2 | + |
| 3 | +<p> |
| 4 | + <img src="https://ucarecdn.com/064a61a4-86a3-42e1-a52e-4dd8cbba3adc/perplexicart.jpg" width="40%" /> |
| 5 | + <img src="https://ucarecdn.com/6489c8df-4e6c-48eb-91fd-e4b9b75e7528/perplexicart1.jpg" width="50%" /> |
| 6 | +</p> |
| 7 | + |
| 8 | +**Description** |
| 9 | +PerplexiCart is an AI-powered shopping assistant that helps users make *informed* and *value-aligned* purchasing decisions. Powered by the **Perplexity Sonar API**, it analyzes products across the web and delivers structured insights, including prioritized recommendations, pros/cons, trade-off analysis, and user sentiment — all tailored to the user’s stated preferences (e.g. “Eco-Friendly”, “Made in India”, “Durability”, etc.) and context. |
| 10 | + |
| 11 | +**Key Features & Use Cases** |
| 12 | +- Intelligent product recommendations (beyond simple spec comparison) |
| 13 | +- Priority-based value alignment (Best Value, Eco-Friendly, Ethical, Durability, Made in India) |
| 14 | +- Contextual personalization (e.g. skin type, usage patterns, region) |
| 15 | +- Structured research output: |
| 16 | + - Research summary |
| 17 | + - Top product recommendations |
| 18 | + - Value alignment & reasoning |
| 19 | + - Pros / Cons |
| 20 | + - Key specifications |
| 21 | + - User sentiment & community insights (Reddit, Quora, etc.) |
| 22 | + - Trade-off analysis |
| 23 | + - General buying tips |
| 24 | + |
| 25 | +**🔗 Live Demo** |
| 26 | +https://perplexicart.vercel.app/ |
| 27 | + |
| 28 | +**📂 GitHub Repository** |
| 29 | +https://github.com/fizakhan90/perplexicart |
| 30 | + |
| 31 | +**How the Sonar API Is Used** |
| 32 | +PerplexiCart integrates the **Perplexity Sonar API** as its core intelligence engine: |
| 33 | + |
| 34 | +- **Dynamic prompt engineering** — Prompts are customized based on the user’s search query, selected priority, and optional context. |
| 35 | +- **Structured JSON responses** — We enforce a strict JSON schema via the `response_format` parameter to ensure consistent structured output. |
| 36 | +- **Live web research** — The API is instructed to search e-commerce platforms, forums (Reddit, Quora), review blogs, and sustainability reports. |
| 37 | +- **Semantic analysis** — Extracts product alignment, pros/cons, user sentiment, and cites relevant sources for transparency. |
| 38 | +- **Frontend delivery** — The FastAPI backend parses the structured response and serves it to the Next.js frontend for a clean, user-friendly display. |
| 39 | + |
0 commit comments