DEV Community

Cover image for ๐Ÿš€ Building an AI-Powered Anime Recommender with LLMs, LangChain, Streamlit & Kubernetes
Latchu@DevOps
Latchu@DevOps

Posted on

๐Ÿš€ Building an AI-Powered Anime Recommender with LLMs, LangChain, Streamlit & Kubernetes

Hey Devs! ๐Ÿ‘‹

Iโ€™m currently working on an exciting hands-on project that blends the power of LLMOps and DevOps: an AI-powered Anime Recommender System.

Though the project is still a work in progress, I wanted to share what Iโ€™m exploring:

  • The architecture and toolchain I'm using ๐Ÿงฑ
  • The technologies Iโ€™m learning along the way ๐Ÿงฐ
  • And why this is such an exciting learning opportunity ๐Ÿ’ก

I believe in learning in public, so hereโ€™s a peek behind the scenes!


๐ŸŽฏ Project Goal

The goal is to build a recommender system that

  • Uses Groq LLM APIs and HuggingFace embeddings
  • Stores vector data in ChromaDB
  • Communicates with LLMs using LangChain
  • Has an interactive UI built in Streamlit
  • Is deployed on GCP VM via Docker + Kubernetes
  • And monitored with Grafana Cloud

๐Ÿ› ๏ธ Tech Stack

Category Tools/Technologies
LLM & Embeddings Groq API, HuggingFace
GenAI Framework LangChain
Vector Store ChromaDB
Frontend/UI Streamlit
Containerization Docker
Orchestration Kubernetes (via Minikube)
Deployment Platform GCP VM
Monitoring Grafana Cloud
CLI Kubectl
Version Control & CI/CD GitHub

๐Ÿ”„ Architecture (Work in Progress)

_Hereโ€™s the architectural flow Iโ€™m working
_
Project Setup

  • Groq API, HuggingFace API
  • Logging, Custom Exception Handling
  • Virtual Environment, Project Structure

Core Engine

  • Configuration and Data Loading
  • Embedding storage using ChromaDB
  • Prompt templating
  • Recommender Class logic
  • Training & Recommendation process

UI and Deployment

  • Streamlit App as frontend
  • Dockerizing the app
  • Deploying on Minikube within a GCP VM
  • Monitoring Kubernetes metrics with Grafana Cloud

๐Ÿ“š What Iโ€™m Learning

โœ… Integrating Groq and HuggingFace for LLM-based workflows
โœ… Creating prompt pipelines with LangChain
โœ… Managing embeddings using ChromaDB
โœ… Deploying containerized apps using Docker on Kubernetes
โœ… Running K8s inside GCP VM with Minikube
โœ… Setting up Grafana Cloud dashboards for cluster observability
โœ… CI/CD and GitHub-based DevOps flows for MLOps/LLMOps


๐Ÿ“Œ Whatโ€™s Next

  • Finalizing the embedding + recommender pipeline
  • Adding GitHub Actions CI/CD
  • Creating APIs for interaction
  • Hosting a public demo
  • Publishing full documentation and source code

๐Ÿ’ก Why Share This Now?

This isnโ€™t a finished project. Iโ€™m posting while I explore and build โ€” because

  • Feedback makes me better
  • Others might benefit from this stack
  • It keeps me accountable and motivated

๐Ÿ’ฌ Stay Tuned for Part 2

In the next post, Iโ€™ll share

  • Source code and repo walkthrough
  • API endpoints for recommendations
  • LLM prompt tuning strategies
  • Live monitoring via Grafana Cloud

Thanks for reading! ๐Ÿ™

If youโ€™re working on something similar or want to explore LLMOps, feel free to drop your thoughts and ideas in the comments!

Letโ€™s connect ๐Ÿš€

Top comments (0)