{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/335602b65faf43c795303990177c15f9\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/335602b65faf43c795303990177c15f9-21b71b5a12aa0aaf.gif","duration":386.339,"title":"Game Narrator with AI, RAG, Streaming","description":"This Loom demonstrates an AI-powered game narrator that loads a game world’s rules and generates dynamic, real-time responses. It explains a pipeline where a resource file is chunked, embeddings are created and stored, and retrieval uses cosine similarity followed by cross-encoding for relevance. The talk highlights streaming responses for smoother in-game interaction and covers the architecture using Rack, Lanching, Grok, FastAPI, and MCP, including FastAPI UI layers and Docker-based indexing. It also describes MCP tools like SearchRow and fraction, plus future plans for text-to-speech integration (referencing “11 Laps” or another TTS) and current support for AskPoints and help."}