{
  "schemaVersion": "1.0",
  "item": {
    "slug": "qianfan-knowledgebase-search",
    "name": "Qianfan KnowledgeBase Search",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/hannatao/qianfan-knowledgebase-search",
    "canonicalUrl": "https://clawhub.ai/hannatao/qianfan-knowledgebase-search",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/qianfan-knowledgebase-search",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qianfan-knowledgebase-search",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "_meta.json",
      "SKILL.md",
      "search.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "qianfan-knowledgebase-search",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:50:57.681Z",
      "expiresAt": "2026-05-14T17:50:57.681Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qianfan-knowledgebase-search",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qianfan-knowledgebase-search",
        "contentDisposition": "attachment; filename=\"qianfan-knowledgebase-search-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "qianfan-knowledgebase-search"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/qianfan-knowledgebase-search"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/qianfan-knowledgebase-search",
    "agentPageUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Qianfan Knowledgebase Search Skill",
        "body": "Search and retrieve knowledge from Baidu Qianfan platform knowledge bases. Supports semantic search, fulltext search, hybrid search, and reranking."
      },
      {
        "title": "Workflow",
        "body": "The skill executes the Python script located at search.py\nThe script makes a POST request to the Qianfan Knowledgebase Search API\nThe API returns structured search results with chunks, scores, and metadata"
      },
      {
        "title": "Environment Variables",
        "body": "envrequireddescriptionBAIDU_API_KEYyesQianfan platform API KeyQIANFAN_KNOWLEDGEBASE_IDSnoKnowledgebase IDs, comma-separated (used if not specified in request)"
      },
      {
        "title": "Parameters",
        "body": "request body structure\n\nparamtyperequireddefaultdescriptionquerystryesSearch 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]\n\nNote: Use flattened parameter names in input (e.g., recall_type, recall_top_k), the script will convert to nested structure automatically."
      },
      {
        "title": "Example Usage",
        "body": "# Configure knowledgebase IDs via environment variable\nexport BAIDU_API_KEY=\"your_api_key\"\nexport QIANFAN_KNOWLEDGEBASE_IDS=\"kb_id_1,kb_id_2\"\npython3 skills/qianfan-knowledgebase-search/search.py '{\"query\":\"请介绍下千帆大模型知识库\"}'\n\n# Or specify knowledgebase IDs in request parameters\npython3 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}'"
      },
      {
        "title": "Response Structure",
        "body": "Response contains the following fields:\n\nid: Request unique identifier\ncreated_at: Request timestamp\ntotal_count: Total number of chunks returned\nchunks: Chunk list\n\nchunk_id: Chunk unique identifier\ncontent: Chunk content (supports text/figure/table/graph types)\nrerank: Rerank score and position\nrecall: Recall score and position\nmeta: Metadata (chunk_type, tokens, word_count, doc_info, etc.)\nneighbors: Related chunks"
      },
      {
        "title": "Current Status",
        "body": "The Qianfan Knowledgebase Search skill is fully functional and can be used to retrieve knowledge from private knowledge bases on the Baidu Qianfan platform."
      }
    ],
    "body": "Qianfan Knowledgebase Search Skill\n\nSearch and retrieve knowledge from Baidu Qianfan platform knowledge bases. Supports semantic search, fulltext search, hybrid search, and reranking.\n\nWorkflow\nThe skill executes the Python script located at search.py\nThe script makes a POST request to the Qianfan Knowledgebase Search API\nThe API returns structured search results with chunks, scores, and metadata\nEnvironment Variables\nenv\trequired\tdescription\nBAIDU_API_KEY\tyes\tQianfan platform API Key\nQIANFAN_KNOWLEDGEBASE_IDS\tno\tKnowledgebase IDs, comma-separated (used if not specified in request)\nParameters\nrequest body structure\nparam\ttype\trequired\tdefault\tdescription\nquery\tstr\tyes\t\tSearch query content\nknowledgebase_ids\tlist[str]\tno\t\tKnowledgebase ID list (uses env var if not specified)\ntop_k\tint\tno\t6\tNumber of chunks to return, range [1, 40]\nscore_threshold\tfloat\tno\t0.4\tScore threshold for filtering, range [0, 1]\nenable_graph\tbool\tno\tfalse\tEnable knowledge graph\nenable_expansion\tbool\tno\tfalse\tReturn expanded chunks\nrecall\tobj\tno\t\tRecall strategy configuration\n+recall.type\tstr\tno\thybrid\tRecall type: fulltext/semantic/hybrid\n+recall.top_k\tint\tno\t100\tRecall phase top_k, range [1, 400]\n+recall.vec_weight\tfloat\tno\t0.75\tVector weight when type=hybrid, range [0, 1]\nrerank\tobj\tno\t\tRerank configuration\n+rerank.enable\tbool\tno\ttrue\tEnable reranking\n+rerank.top_n\tint\tno\t20\tRerank top_n, range [1, 40]\n\nNote: Use flattened parameter names in input (e.g., recall_type, recall_top_k), the script will convert to nested structure automatically.\n\nExample Usage\n# Configure knowledgebase IDs via environment variable\nexport BAIDU_API_KEY=\"your_api_key\"\nexport QIANFAN_KNOWLEDGEBASE_IDS=\"kb_id_1,kb_id_2\"\npython3 skills/qianfan-knowledgebase-search/search.py '{\"query\":\"请介绍下千帆大模型知识库\"}'\n\n# Or specify knowledgebase IDs in request parameters\npython3 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}'\n\nResponse Structure\n\nResponse contains the following fields:\n\nid: Request unique identifier\ncreated_at: Request timestamp\ntotal_count: Total number of chunks returned\nchunks: Chunk list\nchunk_id: Chunk unique identifier\ncontent: Chunk content (supports text/figure/table/graph types)\nrerank: Rerank score and position\nrecall: Recall score and position\nmeta: Metadata (chunk_type, tokens, word_count, doc_info, etc.)\nneighbors: Related chunks\nCurrent Status\n\nThe Qianfan Knowledgebase Search skill is fully functional and can be used to retrieve knowledge from private knowledge bases on the Baidu Qianfan platform."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/hannatao/qianfan-knowledgebase-search",
    "publisherUrl": "https://clawhub.ai/hannatao/qianfan-knowledgebase-search",
    "owner": "hannatao",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search",
    "downloadUrl": "https://openagent3.xyz/downloads/qianfan-knowledgebase-search",
    "agentUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/qianfan-knowledgebase-search/agent.md"
  }
}