← All skills
Tencent SkillHub Β· Developer Tools

Qianfan KnowledgeBase Search

Search knowledge from Qianfan Knowledgebase. Use this when you need to retrieve information from user's private knowledge bases on Baidu Qianfan platform.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Search knowledge from Qianfan Knowledgebase. Use this when you need to retrieve information from user's private knowledge bases on Baidu Qianfan platform.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
_meta.json, SKILL.md, search.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Qianfan Knowledgebase Search Skill

Search and retrieve knowledge from Baidu Qianfan platform knowledge bases. Supports semantic search, fulltext search, hybrid search, and reranking.

Workflow

The skill executes the Python script located at search.py The script makes a POST request to the Qianfan Knowledgebase Search API The API returns structured search results with chunks, scores, and metadata

Environment Variables

envrequireddescriptionBAIDU_API_KEYyesQianfan platform API KeyQIANFAN_KNOWLEDGEBASE_IDSnoKnowledgebase IDs, comma-separated (used if not specified in request)

Parameters

request body structure paramtyperequireddefaultdescriptionquerystryesSearch query contentknowledgebase_idslist[str]noKnowledgebase ID list (uses env var if not specified)top_kintno6Number of chunks to return, range [1, 40]score_thresholdfloatno0.4Score threshold for filtering, range [0, 1]enable_graphboolnofalseEnable knowledge graphenable_expansionboolnofalseReturn expanded chunksrecallobjnoRecall strategy configuration+recall.typestrnohybridRecall type: fulltext/semantic/hybrid+recall.top_kintno100Recall phase top_k, range [1, 400]+recall.vec_weightfloatno0.75Vector weight when type=hybrid, range [0, 1]rerankobjnoRerank configuration+rerank.enableboolnotrueEnable reranking+rerank.top_nintno20Rerank top_n, range [1, 40] Note: Use flattened parameter names in input (e.g., recall_type, recall_top_k), the script will convert to nested structure automatically.

Example Usage

# Configure knowledgebase IDs via environment variable export BAIDU_API_KEY="your_api_key" export QIANFAN_KNOWLEDGEBASE_IDS="kb_id_1,kb_id_2" python3 skills/qianfan-knowledgebase-search/search.py '{"query":"θ―·δ»‹η»δΈ‹εƒεΈ†ε€§ζ¨‘εž‹ηŸ₯θ―†εΊ“"}' # Or specify knowledgebase IDs in request parameters python3 skills/qianfan-knowledgebase-search/search.py '{"query":"如何使用API","knowledgebase_ids":["kb_id_1","kb_id_2"],"top_k":10,"recall_type":"hybrid","rerank_enable":true}'

Response Structure

Response contains the following fields: id: Request unique identifier created_at: Request timestamp total_count: Total number of chunks returned chunks: Chunk list chunk_id: Chunk unique identifier content: Chunk content (supports text/figure/table/graph types) rerank: Rerank score and position recall: Recall score and position meta: Metadata (chunk_type, tokens, word_count, doc_info, etc.) neighbors: Related chunks

Current Status

The Qianfan Knowledgebase Search skill is fully functional and can be used to retrieve knowledge from private knowledge bases on the Baidu Qianfan platform.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts1 Config
  • SKILL.md Primary doc
  • search.py Scripts
  • _meta.json Config