Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

baidu-baike-search

bởi ide-rea

Coding Agents & IDEs
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Who is Liu Dehua?'

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install ide-rea/baidu-baike-search

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết