تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

baidu-baike

بواسطة jlpjavawayup

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 platform, to retrieve structured entry explanations for nouns including people, places, concepts, and events. Returns lemma summaries, related entities, videos, and knowledge associations via two API endpoints.

Baidu Baike covers Chinese-specific entities and concepts that Western encyclopedias often lack or cover incompletely.

متى تستخدمها

  • Looking up biographical details on Chinese public figures
  • Researching Chinese historical events or concepts
  • Resolving ambiguous terms by browsing the full lemma list
  • Fetching structured knowledge for entity enrichment pipelines
  • Getting authoritative Chinese-language definitions for translation workflows

مثال على سير العمل

الإدخال

User asks: 'What can you tell me about 刘德华?'

الوكيل
  1. 1

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

  2. 2

    Calls LemmaContent API with search_type=lemmaTitle and search_key=刘德华

  3. 3

    Receives structured entry with lemma_id, description, relations, and associated knowledge

  4. 4

    If result is ambiguous, calls LemmaList API to retrieve candidate entries and selects the correct lemma_id

  5. 5

    Returns the formatted encyclopedia entry to the user

الإخراج

Structured biography including description, related persons, and knowledge associations for Andy Lau (刘德华)

المتطلبات

  • BAIDU_API_KEY environment variable

التثبيت

clawhub install jlpjavawayup/baidu-baike

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط