mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #8231] [CLOSED] feat: Add YouTube Video Ingestion Support in Knowledge Base subsystem #37815
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8231
Author: @juananpe
Created: 12/31/2024
Status: ❌ Closed
Base:
dev← Head:addyoutube📝 Commits (3)
ba3fe33feat: Add YouTube Video Ingestion Support in Knowledge Base subsystem49f4621feat: Update CitationsModal to use source_url for YouTube documents and file_id for othersf0f7a56fix: improve YouTube transcript handling for manual captions📊 Changes
8 files changed (+465 additions, -41 deletions)
View changed files
📝
backend/open_webui/retrieval/loaders/youtube.py(+107 -8)📝
backend/open_webui/routers/retrieval.py(+203 -28)📝
src/lib/apis/retrieval/index.ts(+3 -2)📝
src/lib/components/chat/Messages/CitationsModal.svelte(+3 -1)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+53 -1)📝
src/lib/components/workspace/Knowledge/KnowledgeBase/AddContentMenu.svelte(+10 -0)➕
src/lib/components/workspace/Knowledge/KnowledgeBase/AddYoutubeModal.svelte(+83 -0)📝
src/lib/i18n/locales/en-US/translation.json(+3 -1)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Added support for ingesting YouTube videos into the knowledge base, allowing users to add videos by URL and automatically retrieve transcriptions with timestamps for deep linking.
Description
This PR implements support for ingesting YouTube videos into the knowledge base. Users can now add YouTube videos by their URL, and the system will automatically retrieve the video's transcription, process it, and store it in ChromaDB with timestamps for deep linking.
Key Features:
Technical Details:
UI Changes:
Aditional details
This feature has been asked in https://github.com/open-webui/open-webui/discussions/6333
Screenshots or Videos
https://github.com/user-attachments/assets/5c8468ee-7e06-4e0e-a5cf-d3c32b74299a
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.