How dsunsamg/seller-bot works
seller-bot is a small Flask web app that helps a buyer compose seller feedback. The buyer submits information through the chat endpoint; Flask advances through the prompts, stores answers in the bot’s in-memory context, and requests a generated message at the final step. The bot calls Anthropic’s Claude API, then Flask returns the result. The README provides no further capability details, and the template’s contents were not excerpted, so its client-side behavior is not mapped.
Main entry points: app.py Flask routes · feedback_bot.py Feedback bot · index.html Chat page · config.py API key settings
Components 6
Web interface
- Chat page
index.html - Flask routes
app.py
Feedback workflow
- Feedback bot
feedback_bot.py
Model integration
- API key settings
config.py - Anthropic Claude API
Other components
- Buyer
Connections 7
- Buyer → Flask routes: submits chat
app.py - Flask routes → Chat page: renders page
app.py - Flask routes → Feedback bot: collects answers
app.py - Flask routes → Feedback bot: requests prompts
app.py - Flask routes → Feedback bot: generates feedback
app.py - Feedback bot → API key settings: imports key
feedback_bot.py - Feedback bot → Anthropic Claude API: requests generation
feedback_bot.py