Lab build

AI anime recommender

Recommends three anime per query by retrieving synopses from ChromaDB and prompting a Groq Llama model.

Role
Builder, end to end
Group
LLMOps and AIOps
Services
AI & LLM systems · MLOps & cloud

What it does

An anime CSV is cleaned and each title's name, synopsis and genres are combined into one text field, then embedded into a persisted ChromaDB store. A RetrievalQA chain on Groq's llama-3.1-8b-instant returns three numbered recommendations with plot summaries and reasons, served through Streamlit. The app runs on Minikube inside a Google Cloud VM, with cluster monitoring sent to Grafana Cloud through Helm.

What was built

  1. 01

    Build pipeline merges name, synopsis and genres into a combined field and writes a processed CSV.

  2. 02

    CSV rows are embedded with all-MiniLM-L6-v2 and persisted to a local ChromaDB directory.

  3. 03

    Prompt template asks for exactly three titles, each with a short plot summary and match reason, and forbids invented answers.

  4. 04

    Kubernetes Deployment and LoadBalancer Service run the Streamlit image on Minikube, with API keys from a secret.

  5. 05

    Grafana Cloud Kubernetes monitoring is installed into a monitoring namespace with Helm.

The pipeline, layer by layer

Five layers, one pipeline.

  1. L1Data

    • Anime synopsis CSV
    • Combined text field
  2. L2Indexing

    • MiniLM embeddings
    • ChromaDB store
  3. L3Recommendation

    • RetrievalQA recommender
    • Groq Llama 3.1 8B
    • Three-title prompt
  4. L4Serving

    • Streamlit app
    • Minikube on GCP VM
  5. L5Monitoring

    • Grafana Cloud via Helm

Stack

  • LangChain
  • ChromaDB
  • Hugging Face embeddings
  • Groq
  • Llama 3.1
  • Streamlit
  • Docker
  • Kubernetes
  • Minikube
  • Google Cloud VM
  • Grafana Cloud
  • Helm

Next lab build · 06 / 46

AI travel itinerary planner

Generates a day-trip itinerary from a city and interests, with Kubernetes logs shipped to ELK.

Previous: Study Buddy AI quiz generator

Need a system like this in production? Tell us about it.