How tanujkumar24/shopgenie_project works
Project type and purpose
• ShopGenie is a full-stack Python application that provides both a CLI (app.py) and a Streamlit web frontend (frontend/streamlit_app.py).
• Its purpose is to let users search for mobile products, run AI-powered comparisons (using LangChain + Groq), suggest YouTube videos, and deliver a comparison report via email.
File structure
• Top-level files:
• app.py – entry point for the CLI
• requirements.txt, .gitignore, README.md
• Directories by concern:
• frontend/ – Streamlit UI
• llm/ – LLM integrations: prompts, model wrappers, response parsers
• search/ – real-time web search module
• data/ – YouTube Data API client
• utils/ – email service (SMTP report delivery)
README for additional insights
• Tech stack: Python 3.10+, LangChain, Groq, Tavily, YouTube Data API, Pydantic, Streamlit
• Key flows: product search → AI comparison → email report → YouTube suggestions
• No persistent database; data flows through in-memory and third-party APIs.
Detail without overcomplicating
• Every Python module as its own block or grouped into its service layer.
• Clearly where environment variables (API keys) feed into each service.