mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 01:54:38 -05:00
feat: youtube video rag #784
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tjbck on GitHub (May 1, 2024).
Originally assigned to: @tjbck on GitHub.
@woutervdijke commented on GitHub (May 3, 2024):
With this RAG it's not currently possible to import non-English YouTube videos? When I try to add one, it gives the following error:
Something went wrong :/ Could not retrieve a transcript for the video https://www.youtube.com/watch?v=Cp-SysUm2KU! This is most likely caused by: No transcripts were found for any of the requested language codes: ['en'] For this video ( [id] ) transcripts are available in the following languages: (MANUALLY CREATED) - nl ("Dutch")[TRANSLATABLE] (GENERATED) - nl ("Dutch (auto-generated)")[TRANSLATABLE] (TRANSLATION LANGUAGES) - af ("Afrikaans") - ak ("Akan") [....] yo ("Yoruba") - zu ("Zulu")English is the default setting of the Langchain YouTube loader, according to this page of the docs, but the loader does have a
languageand atranslationparameter.Is there a way to change the requested language codes, in settings or while uploading? Or should this be a new feature request?
@thebetauser commented on GitHub (May 4, 2024):
Hello,
There are multiple shortening services for youtube links, the most common one is "youtu.be" can we add a check to this line to include "youtu.be"?