Saltar al contenido
TakoAPI
Volver a skills

qianfan-knowledgebase-search

por hannatao

Search & Research
954Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Search knowledge from Qianfan Knowledgebase.

Descripción

Qué hace esta skill

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.

Cuándo usarla

  • 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

Flujo de trabajo de ejemplo

ENTRADA

User asks: find all documentation about API rate limits in our Qianfan knowledge base

AGENTE
  1. 1

    Sets query to 'API rate limits' and knowledgebase_ids from env var

  2. 2

    Calls search.py with recall_type set to hybrid and rerank_enable true

  3. 3

    Script converts flat parameters to nested API request structure

  4. 4

    POSTs to Qianfan Knowledgebase Search API and receives scored chunks

  5. 5

    Returns top chunks with content, rerank scores, and doc metadata

SALIDA

List of relevant chunks with content, scores, and source document info

Requisitos

  • BAIDU_API_KEY environment variable
  • Baidu Qianfan platform account
  • QIANFAN_KNOWLEDGEBASE_IDS environment variable or knowledge base IDs on hand

Instalación

clawhub install hannatao/qianfan-knowledgebase-search

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces