Rohan Gore

Youtube RAG - Optimisation

byβ€’

⚑ Optimisation & Reliability Update - πŸ”— Chrome Extension

We’ve slashed load times ⏱️ and made translations more dependable 🌐 (currently supports Hindi).

What’s new:

Backend speedups:

  • ⏳ Skip transcript fetch + vector storage for repeat videos (1–20 ms check).

  • ⚑ Faster quick-question generation with a lighter prompt + Gemini 1.5 Flash.

  • πŸ” Reduced similarity search work.

Translation reliability:

  • πŸ“ Translate larger chunks instead of every caption line.

  • ⏰ Hard timeout per translation + circuit breaker to avoid stalls.

  • πŸ“ Bound input size for faster, predictable calls.

▢️ YouTube Video

πŸ’» GitHub

18 views

Add a comment

Replies

Be the first to comment