Merge pull request #7422 from alpha-pet/feat-youtube-transscript-proxy

feat: Optional proxy setting for downloading Youtube transscripts
This commit is contained in:
Timothy Jaeryang Baek
2024-11-29 12:40:46 -08:00
committed by GitHub
5 changed files with 54 additions and 4 deletions

View File

@@ -1305,6 +1305,12 @@ YOUTUBE_LOADER_LANGUAGE = PersistentConfig(
os.getenv("YOUTUBE_LOADER_LANGUAGE", "en").split(","),
)
YOUTUBE_LOADER_PROXY_URL = PersistentConfig(
"YOUTUBE_LOADER_PROXY_URL",
"rag.youtube_loader_proxy_url",
os.getenv("YOUTUBE_LOADER_PROXY_URL", ""),
)
ENABLE_RAG_WEB_SEARCH = PersistentConfig(
"ENABLE_RAG_WEB_SEARCH",