跳到正文
TakoAPI
返回技能列表

baidu-baike-search

由 ide-rea 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations.

描述

该技能的功能

Queries Baidu Baike, China's largest encyclopedia, for structured entry explanations on people, places, concepts, and events. Returns summaries, related entities, and detailed content via two API endpoints. Supports lookup by term name or entry ID.

Baidu Baike covers Chinese-language subjects with depth and accuracy that general-purpose or Western encyclopedias often lack.

何时使用

  • Looking up biographical details on Chinese public figures
  • Resolving ambiguous Chinese-language terms by comparing entry list results
  • Fetching structured encyclopedia data for a research agent
  • Getting related entities and knowledge graph connections for a named concept
  • Retrieving event or location descriptions from an authoritative Chinese source

示例工作流

输入

User asks: 'Who is Liu Dehua?'

智能体
  1. 1

    Extract the noun '刘德华' from the user query

  2. 2

    Call LemmaList API with lemma_title=刘德华 to retrieve candidate entries

  3. 3

    Identify the default entry by checking the is_default field

  4. 4

    Call LemmaContent API with the selected lemma ID

  5. 5

    Return the structured entry including description, summary, and related entities

输出

Structured encyclopedia entry for Andy Lau (刘德华) with biography, summary, and associated persons

前置要求

  • BAIDU_API_KEY environment variable
  • Baidu Cloud Platform account (https://login.bce.baidu.com) to obtain the API key

安装

clawhub install ide-rea/baidu-baike-search

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接