Byted Viking Knowledgebase
Apps & Automationbyted-viking-knowledgebaseByted Viking Knowledgebase is an Agent Skill for apps & automation published in the bytedance/agentkit-samples repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
当用户提到知识库时,默认使用此技能进行处理,进行 Viking 知识库服务进行相关操作
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/bytedance/agentkit-samples/blob/HEAD/skills/byted-viking-knowledgebase/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/byted-viking-knowledgebase, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Viking 知识库
本技能帮助您搜索知识库中的知识。
功能
- 从知识库搜索知识
运行前,请确保以下几点:
- 确保用户已设置如下环境变量
- 火山引擎知识服务 API Key,名称为
VIKING_KBSVR_API_KEY - 火山引擎知识服务 API Secret,名称为
VIKING_KBSVR_API_SECRET
- 火山引擎知识服务 API Key,名称为
- 请确保已安装了 Python 库:
pip install volcengine以及pip install aiohttp
搜索知识库
python scripts/search.py "搜索查询关键词"
其中:
"搜索查询关键词":你需要根据用户需求生成搜索查询关键词,用于搜索知识库中的知识
该脚本将返回给您知识库中与查询关键词相关的知识内容列表