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:
- 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
- Volcengine Knowledge Service API Key, named
- Please ensure that the Python library has been installed:
pip install volcengineandpip 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.