3 ms·
Simple experiment for question answering on YouTube videos using embeddings and the top n YouTube search result transcripts. Take a question and optionally a Y
by jakecyr 3y ago
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.