Rechercher

PythonReactSEOPDF
OpenClaw

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.

hannatao0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install hannatao/qianfan-knowledgebase-search

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Qianfan Knowledgebase Search Skill

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

Workflow

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

Environment Variables

env required description
BAIDU_API_KEY yes Qianfan platform API Key
QIANFAN_KNOWLEDGEBASE_IDS no Knowledgebase IDs, comma-separated (used if not specified in request)

Parameters

request body structure
param type required default description
query str yes Search query content
knowledgebase_ids list[str] no Knowledgebase ID list (uses env var if not specified)
top_k int no 6 Number of chunks to return, range [1, 40]
score_threshold float no 0.4 Score threshold for filtering, range [0, 1]
enable_graph bool no false Enable knowledge graph
enable_expansion bool no false Return expanded chunks
recall obj no Recall strategy configuration
+recall.type str no hybrid Recall type: fulltext/semantic/hybrid
+recall.top_k int no 100 Recall phase top_k, range [1, 400]
+recall.vec_weight float no 0.75 Vector weight when type=hybrid, range [0, 1]
rerank obj no Rerank configuration
+rerank.enable bool no true Enable reranking
+rerank.top_n int no 20 Rerank 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_ID...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/hannatao/qianfan-knowledgebase-search
Version
—
Commit
caefc91d630999aad3e9794a8fa24f4d21a58c64
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Qianfan Knowledgebase Search Skill

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

## Workflow

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

## Environment Variables

| env | required | description |
|-----|----------|-------------|
| BAIDU_API_KEY | yes | Qianfan platform API Key |
| QIANFAN_KNOWLEDGEBASE_IDS | no | Knowledgebase IDs, comma-separated (used if not specified in request) |

## Parameters

#### request body structure
| param | type | required | default | description |
|-------|------|----------|---------|-------------|
| query | str | yes | | Search query content |
| knowledgebase_ids | list[str] | no | | Knowledgebase ID list (uses env var if not specified) |
| top_k | int | no | 6 | Number of chunks to return, range [1, 40] |
| score_threshold | float | no | 0.4 | Score threshold for filtering, range [0, 1] |
| enable_graph | bool | no | false | Enable knowledge graph |
| enable_expansion | bool | no | false | Return expanded chunks |
| recall | obj | no | | Recall strategy configuration |
| +recall.type | str | no | hybrid | Recall type: fulltext/semantic/hybrid |
| +recall.top_k | int | no | 100 | Recall phase top_k, range [1, 400] |
| +recall.vec_weight | float | no | 0.75 | Vector weight when type=hybrid, range [0, 1] |
| rerank | obj | no | | Rerank configuration |
| +rerank.enable | bool | no | true | Enable reranking |
| +rerank.top_n | int | no | 20 | Rerank 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

```bash
# Configure knowledgebase IDs via environment variable
export BAIDU_API_KEY="your_api_key"
export QIANFAN_KNOWLEDGEBASE_ID...

Skills associés

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.