将20个YouTube视频导入可搜索的知识库
分步教程:连接您的Agent到Felo OpenAPI,提取YouTube字幕,分析关键主题,并在LiveDocs中构建可搜索的团队知识库。
你的团队收藏了几十个技术视频——会议演讲、教程、产品演示。但它们都被锁定在视频格式中,没有人有时间全部观看。
以下是如何提取这些知识并让其可搜索的方法。
3分钟连接Felo OpenAPI
步骤1:前往 openapi.felo.ai 并创建一个免费的API密钥。
步骤2:将以下内容复制粘贴到你的Codex、Claude Code或OpenClaw中:
Connect to Felo OpenAPI:
- Models: Claude Opus 4.8, Claude Sonnet 4.6, Claude Haiku 4.5, GPT-5.6 Sol, GPT-5.6 Terra, Grok 4.5
- Search: POST /v2/chat (AI Search), POST /v2/web/extract (Web Fetch)
- Video: GET /v2/youtube/subtitling (YouTube Subtitles)
- Output: POST /v2/ppts (PPT), POST /v2/mindmap, POST /v2/landing_page, Image Generation
- Memory: LiveDocs (semantic retrieval, file upload, URL resources, tasks, records)
Base URL: https://openapi.felo.ai
API Key: [YOUR_API_KEY]
When I give you YouTube URLs:
1. Extract transcripts via YouTube Subtitles API
2. Analyze key topics, technical points, and takeaways
3. Save structured summaries to LiveDocs with video metadata
4. Generate a knowledge map via Mindmap API
步骤3:连接完成。你的Agent现在可以提取视频内容并构建知识库。
用户故事
你的工程团队分享了10个最近AI大会的会议演讲视频。你希望:
- 提取每个视频的全部内容
- 识别关键技术点和可执行见解
- 将所有内容组织成可搜索的知识库
- 创建一个主题关联的可视化知识图谱
没人应该为了找到一个需要的技术点而观看8小时的视频。
你只需要这样说
Extract transcripts from these YouTube videos, analyze the key topics and technical insights, and build a searchable knowledge base in LiveDocs. Also generate a knowledge map mindmap.
Video URLs:
1. https://youtube.com/watch?v=abc123 — "The Future of AI Agents"
2. https://youtube.com/watch?v=def456 — "Building Production RAG Systems"
3. https://youtube.com/watch?v=ghi789 — "LLM Evaluation Benchmarks"
[... more URLs ...]
Codex自动完成的工作
步骤1:提取字幕
对于每个视频,Codex会调用:
GET /v2/youtube/subtitling?url=https://youtube.com/watch?v=abc123
返回:带有时间戳的完整字幕。
Codex会逐个处理每个URL,收集所有字幕内容。
步骤2:分析每个视频
对于每条字幕,Codex会提取:
- 主要主题:这个视频讲了什么?
- 关键技术点:讨论了哪些具体技术、工具或框架?
- 可执行见解:团队可以基于本次演讲实施哪些内容?
- 金句:值得保留的重要表述
- 参考资料:提到的工具、论文或资源
步骤3:保存到LiveDocs
Codex会将每个视频保存为结构化条目:
Title: The Future of AI Agents
Source: https://youtube.com/watch?v=abc123
Speaker: [Name]
Duration: 45 minutes
Main Topic: AI agent architecture and capabilities
Key Technical Points:
- Multi-agent coordination patterns
- Tool calling protocol design
- Memory management in long-running agents
Actionable Insights:
- Implement shared memory pool for agent teams
- Use structured tool definitions for better agent coordination
Notable Quotes:
- "The best agent is one that knows when to delegate"
Tags: [AI agents, multi-agent, architecture, conference-2026]
步骤4:生成知识图谱
POST /v2/mindmap
{
"topic": "AI Conference Knowledge Map",
"content": [all analyzed video topics and relationships]
}
返回:一个可视化的思维导图,展示不同视频主题之间的关联——例如,“agent memory”在3个不同演讲中被讨论,或“evaluation methods”从多个角度被覆盖。
步骤5:创建总结演示文稿
POST /v2/ppts
{
"topic": "AI Conference — Key Takeaways",
"content": {
"overview": [number of videos, total hours, main themes],
"top_insights": [most important findings across all videos],
"action_items": [things the team should implement],
"resource_links": [papers, tools, and frameworks mentioned]
},
"theme": "conference-summary"
}
返回:一份包含所有视频最佳见解的总结演示文稿。
最终成果
你的团队现在拥有:
- 可搜索的知识库:每个视频的内容都被索引在LiveDocs中。任何人都可以搜索主题,找到相关视频、精确时间戳和关键语句。
- 知识图谱:展示各视频主题关联的可视化思维导图。
- 总结演示文稿:所有视频的最佳见解汇总在一份可分享的PPT中。
- 行动项:团队应探索或实施的具体技术。
无需观看8小时视频,你的团队只需10分钟即可获得精心整理的知识。
完整提示模板(复制&复用)
Extract transcripts from these YouTube videos and build a knowledge base:
[Video URL 1] — [Title/description]
[Video URL 2] — [Title/description]
[Video URL 3] — [Title/description]
For each video:
1. Extract the transcript
2. Analyze key topics, technical points, and actionable insights
3. Save a structured summary to LiveDocs with tags
Then:
4. Generate a knowledge map mindmap showing topic connections
5. Create a summary presentation with the top insights
将URL和标题替换为你自己的视频集合即可。
进阶:持续学习
设置一个定期提示:
Check our LiveDocs knowledge base for videos about [TOPIC]. Search YouTube for any new videos on this topic from the past month. Extract transcripts for new videos, add them to the knowledge base, and flag any new insights that weren't in the previous collection.
开始使用
- 创建你的免费API密钥
- 将初始化提示粘贴到你的Agent中
- 试用上面的“视频知识库”提示
解锁隐藏在视频中的专业知识。让你的Agent来观看、提取并组织内容。
本文还提供以下语言版本:English、日本語、한국어、繁體中文、हिन्दी、Français、العربية、Русский、اردو、Bahasa Indonesia、Deutsch、Tiếng Việt、Türkçe、Italiano、ไทย、Español、বাংলা、Português。