Automatically Attaching YouTube Video Footers to Tutorial-Style Questions: An Integration Log of gemini_llm_service & youtube_search_service
I've been developing a feature to automatically attach YouTube video footers to AI tutorial questions. My initial thought was simple: find a YouTube video relevant to the question and display it as a footer.
Attempts and Pitfalls
My first approach was to have gemini_llm_service understand the intent of the question and then use those keywords to search for videos via youtube_search_service. However, this turned out to be harder than I expected.
When questions were a bit ambiguous, gemini_llm_service often extracted irrelevant keywords. For example, for a question like "How to build a website with Python," just searching with the keyword "website" would yield overly general results.








