Originally created by @bboysoulcn on GitHub (May 9, 2024).
Bug Report
Description
Bug Summary:
youtube rag error
video url
https://www.youtube.com/watch?v=frcird_ffyc
Steps to Reproduce:
error information
ERROR:apps.rag.main:The content provided is empty. Please ensure that there is text or data present before proceeding.
Traceback (most recent call last):
File "/app/backend/apps/rag/main.py", line 532, in store_youtube_video
store_data_in_vector_db(data, collection_name, overwrite=True)
File "/app/backend/apps/rag/main.py", line 618, in store_data_in_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
ValueError: The content provided is empty. Please ensure that there is text or data present before proceeding.
INFO: 103.143.161.60:0 - "POST /rag/api/v1/youtube HTTP/1.1" 400 Bad Request
Environment
ghcr.io/open-webui/open-webui:0.1.124
Originally created by @bboysoulcn on GitHub (May 9, 2024).
# Bug Report
## Description
**Bug Summary:**
youtube rag error
video url
`https://www.youtube.com/watch?v=frcird_ffyc`
**Steps to Reproduce:**
error information
```bash
ERROR:apps.rag.main:The content provided is empty. Please ensure that there is text or data present before proceeding.
Traceback (most recent call last):
File "/app/backend/apps/rag/main.py", line 532, in store_youtube_video
store_data_in_vector_db(data, collection_name, overwrite=True)
File "/app/backend/apps/rag/main.py", line 618, in store_data_in_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
ValueError: The content provided is empty. Please ensure that there is text or data present before proceeding.
```
`INFO: 103.143.161.60:0 - "POST /rag/api/v1/youtube HTTP/1.1" 400 Bad Request`
## Environment
`ghcr.io/open-webui/open-webui:0.1.124`
This feature relies on the presence of closed captions or transcription to function. Your provided video hasn't got any:
@justinh-rahb commented on GitHub (May 9, 2024):
This feature relies on the presence of closed captions or transcription to function. Your provided video hasn't got any:

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @bboysoulcn on GitHub (May 9, 2024).
Bug Report
Description
Bug Summary:
youtube rag error
video url
https://www.youtube.com/watch?v=frcird_ffycSteps to Reproduce:
error information
INFO: 103.143.161.60:0 - "POST /rag/api/v1/youtube HTTP/1.1" 400 Bad RequestEnvironment
ghcr.io/open-webui/open-webui:0.1.124@justinh-rahb commented on GitHub (May 9, 2024):
This feature relies on the presence of closed captions or transcription to function. Your provided video hasn't got any: