prudhvirekula/muffin-chatbot
0
๐ง Muffin โ LLM-Powered Customer Churn & LTV Assistant
Muffin is a conversational AI assistant built with Streamlit and powered by Mistral-7B (via OpenRouter). It explains why customers are likely to churn and provides actionable insights to retain them, combining machine learning predictions with natural language reasoning.
๐ Features
- ๐ Predicts customer churn and lifetime value (LTV)
- ๐ค Chat interface powered by Mistral-7B using OpenRouter API
- ๐ง Answers questions like โWhy is this customer at risk?โ or โHow can we retain them?โ
- ๐งฎ Uses sentence-transformers, scikit-learn, and custom logic for contextual responses
- ๐ณ Fully Dockerized and runs seamlessly on Hugging Face Spaces
๐ How It Works
- Select a customer by index or profile
- Ask any question from the suggestions or manually
- Muffin responds using LLM + rules + ML insights
- Use it to understand churn drivers, LTV trends, and segment behaviors
โ๏ธ Tech Stack
- Python ยท Streamlit ยท Docker
- Scikit-learn ยท LSTM ยท Sentence Transformers
- OpenRouter (Mistral-7B) ยท Requests ยท JSON
- Hosted on Hugging Face Spaces (Docker-based)
