baidu-baike-search
oleh ide-rea
Coding Agents & IDEsRingkasan
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
User asks: 'Who is Liu Dehua?'
- 1
Extract the noun '刘德华' from the user query
- 2
Call LemmaList API with lemma_title=刘德华 to retrieve candidate entries
- 3
Identify the default entry by checking the is_default field
- 4
Call LemmaContent API with the selected lemma ID
- 5
Return the structured entry including description, summary, and related entities
Structured encyclopedia entry for Andy Lau (刘德华) with biography, summary, and associated persons
Persyaratan
- BAIDU_API_KEY environment variable
- Baidu Cloud Platform account (https://login.bce.baidu.com) to obtain the API key
Instalasi
clawhub install ide-rea/baidu-baike-searchJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.