mcpField
B
byted-viking-knowledgebase

byted-viking-knowledgebase

github.com/bytedanceProductivity47754 installsUpdated today
Repository

About byted-viking-knowledgebase

byted-viking-knowledgebase is a skill for searching knowledge in Volcengine's knowledge service. It uses a Python script to return content related to query keywords.

Key features

  1. 01Search by query keywords
  2. 02Return related knowledge content
  3. 03Run through a Python script

Use cases

  1. 01Search a knowledge base for a user question
  2. 02Find knowledge related to a topic

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bytedance/agentkit-samples --skill byted-viking-knowledgebase

After installing, type/byted-viking-knowledgebasein Claude Code to confirm it loaded.

Bundled filesscripts/requirements.txtscripts/search.py

Details

From the project README

Viking 知识库

本技能帮助您搜索知识库中的知识。

功能

  • 从知识库搜索知识

运行前,请确保以下几点:

  1. 确保用户已设置如下环境变量
    • 火山引擎知识服务 API Key,名称为 VIKING_KBSVR_API_KEY
    • 火山引擎知识服务 API Secret,名称为 VIKING_KBSVR_API_SECRET
  2. 请确保已安装了 Python 库:pip install volcengine 以及 pip install aiohttp
搜索知识库
python scripts/search.py "搜索查询关键词"

其中:

  • "搜索查询关键词":你需要根据用户需求生成搜索查询关键词,用于搜索知识库中的知识

该脚本将返回给您知识库中与查询关键词相关的知识内容列表

Comments

Markdown supported