Simple experiment for question answering on YouTube videos using embeddings and the top n YouTube search result transcripts.
Take a question and optionally a YouTube search query (otherwise an LLM will auto-generate one), will compile transcripts for each video result, generate an embedding index using the transcripts and then answer the question using the relevant embeddings.
Returns both a string response and a list of sources that were used for the answer.
1 comment
[ 4.4 ms ] story [ 14.2 ms ] threadTake a question and optionally a YouTube search query (otherwise an LLM will auto-generate one), will compile transcripts for each video result, generate an embedding index using the transcripts and then answer the question using the relevant embeddings.
Returns both a string response and a list of sources that were used for the answer.