mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 17:47:44 -05:00
enhancement: non-english youtube rag #804
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 @atassis on GitHub (May 4, 2024).
Originally assigned to: @tjbck on GitHub.
Bug Report
Description
Bug Summary:
If you use RAG for youtube without english translation, but with another language provided- request fails with an error from
youtube-transcript-apiSteps to Reproduce:
try to execute next prompt
#https://www.youtube.com/watch?v=FuRem6-sTmQExpected Behavior:
prefetch the list of languages of the video from the same package with
Actual Behavior:
See the toast error after several seconds.
Environment
Open WebUI Version: 0.1.123
Ollama (if applicable): 0.1.32
Operating System: Fedora 39 (both client and server, different machines)
Browser (if applicable): Chrome (version doesn't matter)
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
I'll provide if needed, seems irrelevant
Docker Container Logs:
I'll provide if needed, seems irrelevant
Screenshots (if applicable):

Installation Method
Docker
Additional Information
The problem is that YoutubeLoader from langchain doesn't handle by himselves the verification that requested (or default
'en') language is provided by the video. We need to handle it by ourselves.@grigio commented on GitHub (May 9, 2024):
@tjbck

I've updated but I always get a similar error
@justinh-rahb commented on GitHub (May 9, 2024):
@grigio You're still requesting
en, change this toit:@grigio commented on GitHub (May 9, 2024):
Thanks, it works. I was thinking that it was managed by the UI language
@atassis commented on GitHub (May 9, 2024):
What about trying to make a separate toggle with automatic language recognition? With the code suggested by me.
@piwawa commented on GitHub (Mar 25, 2025):
How to use this youtube rag function?