Anime Vibe Recommender.
Nov. 2026Built a Retrieval Augmented Generation (RAG) app that turns a plain-words mood like 'rainy night, melancholic, beautiful animation' into six anime picks, each with a one-line reason. An ingest script pulls 3,000 titles from the AniList GraphQL API, cleans the text, embeds each with Gemini (768 dimensions) and stores the vectors in Postgres with pgvector. Retrieval is one SQL function that runs vector similarity (meaning) and full-text search (keywords) side by side, then merges the two ranked lists with Reciprocal Rank Fusion, so exact names and loose vibes both land. The top 20 go to a Gemini Flash re-ranker that picks the best 6 and streams each reason to the browser line by line, with genre, release year and runtime filters. Picks are only accepted if their IDs came back from retrieval, so the model cannot invent a title, and if Gemini is down or rate limited the app falls back to plain search order instead of failing.