SuperAPI AI Directory

byted-viking-knowledgebase

General & other

View repository

Updated 10-15 17:30

About this skill

Viking Knowledge Base

This skill helps you search for knowledge in the knowledge base.

Features

  • Search for knowledge from the knowledge base

Before running, please ensure the following:

  1. Ensure that the user has set the following environment variables
    • Volcengine Knowledge Service API Key, named VIKING_KBSVR_API_KEY
    • Volcengine Knowledge Service API Secret, named VIKING_KBSVR_API_SECRET
  2. Please ensure that the Python library has been installed:pip install volcengine and pip install aiohttp

Search Knowledge Base

python scripts/search.py "搜索查询关键词"

Where:

  • "搜索查询关键词": You need to generate search query keywords based on the user's needs, to search for knowledge in the knowledge base.

This script will return to you a list of knowledge content related to the query keywords in the knowledge base.