Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Documentation clean-up: Removed extra trailing whitespace from SKILL.md. - No functional or user-facing changes in this release.
What This Skill Does
Searches private knowledge bases hosted on the Baidu Qianfan platform. Supports fulltext, semantic, and hybrid retrieval modes with optional reranking. Returns scored chunks with metadata from one or more knowledge bases.
Exposes Qianfan's hybrid retrieval and reranking pipeline through a single script call, without needing to manage the API request structure manually.
When to use it
- Querying internal documentation stored in Qianfan
- Retrieving product specs from a private Chinese-language knowledge base
- Building a Q&A agent over company policies on Baidu's platform
- Searching multiple knowledge bases in a single request
- Filtering low-confidence results with score thresholds
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: find all documentation about API rate limits in our Qianfan knowledge base
- 1Sets query to 'API rate limits' and knowledgebase_ids from env var
- 2Calls search.py with recall_type set to hybrid and rerank_enable true
- 3Script converts flat parameters to nested API request structure
- 4POSTs to Qianfan Knowledgebase Search API and receives scored chunks
- 5Returns top chunks with content, rerank scores, and doc metadata
List of relevant chunks with content, scores, and source document info
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.