全局重命名: - 包名: agent_eyes → agent_reach - CLI: agent-eyes → agent-reach - 类名: AgentEyes → AgentReach - 显示名: Agent Eyes → Agent Reach - GitHub: Panniantong/agent-eyes → Panniantong/Agent-Reach 所有 36 个测试通过,CLI/doctor/read/search 全部正常。
1.2 KiB
1.2 KiB
Groq Whisper 配置指南
功能说明
当 YouTube/Bilibili 视频没有字幕时,用 Groq 的 Whisper API 进行语音转文字。Groq 提供免费额度。
Agent 可自动完成的步骤
- 检查是否已配置:
agent-reach doctor | grep -i "groq\|whisper"
- 如果用户提供了 key,写入配置:
from agent_reach.config import Config
c = Config()
c.set("groq_api_key", "用户提供的KEY")
- 测试(可选):
curl -s https://api.groq.com/openai/v1/models \
-H "Authorization: Bearer 用户提供的KEY" \
-o /dev/null -w "%{http_code}"
返回 200 = 可用
需要用户手动做的步骤
请告诉用户:
视频语音转文字需要一个 Groq API Key(免费)。
步骤:
- 打开 https://console.groq.com
- 用 Google 账号或邮箱注册
- 点击左侧 "API Keys"
- 点击 "Create API Key"
- 复制生成的 Key,发给我
Groq 提供免费额度,日常使用完全够用。
Agent 收到 key 后的操作
- 写入配置:
config.set("groq_api_key", key) - 测试 API 可用性
- 反馈:"✅ 语音转文字已开启!现在遇到没有字幕的视频,我也能帮你提取内容了。"