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
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
المتطلبات
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.