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 the user has set the following environment variables
- Volcano Engine Knowledge Service API Key, named
VIKING_KBSVR_API_KEY - Volcano Engine Knowledge Service API Secret, named
VIKING_KBSVR_API_SECRET
- Volcano Engine Knowledge Service API Key, named
- Please ensure the Python library is installed:
pip install volcengineandpip install aiohttp
Search the 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 in the knowledge base related to the query keywords