CoolFace
Apppublic

prudhvirekula/muffin-chatbot

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

๐Ÿง 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

  1. 1.Select a customer by index or profile
  2. 2.Ask any question from the suggestions or manually
  3. 3.Muffin responds using LLM + rules + ML insights
  4. 4.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)