How raviprassand/shopping_assistant works
This is a conversational shopping assistant whose implemented workflow is CLI input → LangGraph assistant → product-search tool → SQLite results → conversational output. The README also describes cart, checkout, and order-support capabilities, but the corresponding implementation files are absent from the tree, so those branches are shown as documented but unverified. The graph’s state uses in-memory checkpointing. Evidence is limited to the provided README and source excerpts.
Main entry points: main.py Conversation Graph · utils.py Tool Router · tools.py Product Search · FullStackSQL.db Product Database
Components 13
Conversation
- Shopping CLI
main.py - Conversation Graph
main.py - Assistant Agent
main.py - Groq LLM
- Conversation Memory
main.py - Tool Router
utils.py
Product Search
- Product Search
tools.py - SQL Query Helper
tools.py - Product Database
FullStackSQL.db
Shopping Support
- Cart Management
- Checkout
- Order Support
Other components
- Shopper
Connections 12
- Shopper → Shopping CLI: enters query
main.py - Shopping CLI → Conversation Graph: streams input
main.py - Conversation Graph → Assistant Agent: dispatches
main.py - Assistant Agent → Groq LLM: invokes
main.py - Assistant Agent → Tool Router: routes tool calls
main.py - Tool Router → Product Search: executes tool
main.py - Product Search → SQL Query Helper: runs query
tools.py - SQL Query Helper → Product Database: reads products
tools.py - Conversation Graph → Conversation Memory: checkpoints state
main.py - Shopper → Cart Management: requests changes
README.md - Shopper → Checkout: requests checkout
README.md - Shopper → Order Support: asks order questions
README.md