๐—”๐—ฑ๐—ฑ๐—ถ๐—ป๐—ด ๐—ฌ๐—ผ๐˜‚๐—ง๐˜‚๐—ฏ๐—ฒ ๐—ฉ๐—ถ๐—ฑ๐—ฒ๐—ผ๐˜€ ๐˜๐—ผ ๐—”๐—œ ๐—ง๐˜‚๐˜๐—ผ๐—ฟ๐—ถ๐—ฎ๐—น๐˜€

I wanted to add YouTube videos to AI tutorial answers. I used Gemini LLM and a YouTube search service.

My first try failed. Gemini picked keywords too broad. A question about Python websites gave me general website videos. I spent three hours fixing this.

I changed the prompt. Gemini now recognizes when a user wants a tutorial. It creates specific keywords for those requests. I also added filters. I check video length and titles for words like guide or tutorial.

The system is now stable. Your users get relevant videos.

Here is what you should remember:

Source: https://dev.to/junhee916/automatically-attaching-youtube-video-footers-to-ai-tutorial-questions-gemini-llm-youtube-search-5df2

Optional learning community: https://t.me/GyaanSetuAi