Wikipedia é a maior enciclopédia online gratuita do mundo, com milhões de artigos sobre uma vasta gama de temas, escritos e mantidos de forma colaborativa por voluntários.
Com a Wikipedia, você pode:
- Buscar artigos: Encontrar páginas relevantes da Wikipedia pesquisando por palavras-chave ou tópicos
- Obter resumos de artigos: Recuperar resumos concisos de páginas da Wikipedia para referência rápida
- Acessar o conteúdo completo: Obter o conteúdo completo de artigos da Wikipedia para informação aprofundada
- Descobrir artigos aleatórios: Explorar novos temas recuperando páginas aleatórias da Wikipedia
No Zoen, a integração da Wikipedia permite que seus agentes acessem e interajam de forma programática com o conteúdo da Wikipedia nos fluxos de trabalho. Os agentes podem buscar artigos, obter resumos, recuperar o conteúdo completo da página e descobrir artigos aleatórios, capacitando suas automações com informação atualizada e confiável da maior enciclopédia do mundo. Esta integração é ideal para cenários como pesquisa, enriquecimento de conteúdo, fact-checking e descoberta de conhecimento, permitindo que seus agentes incorporem dados da Wikipedia de forma integrada nos processos de decisão e execução de tarefas.
Usage Instructions
Integrate Wikipedia into the workflow. Can get page summary, search pages, get page content, and get random page.
Actions
wikipedia_summary
Get a summary and metadata for a specific Wikipedia page.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
pageTitle | string | Yes | Title of the Wikipedia page to get summary for |
Output
| Parameter | Type | Description |
|---|---|---|
summary | object | Wikipedia page summary and metadata |
↳ type | string | Page type (standard, disambiguation, etc.) |
↳ title | string | Page title |
↳ displaytitle | string | Display title with formatting |
↳ description | string | Short page description |
↳ extract | string | Page extract/summary text |
↳ extract_html | string | Extract in HTML format |
↳ thumbnail | object | Thumbnail image data |
↳ source | string | Thumbnail image URL |
↳ width | number | Thumbnail width in pixels |
↳ height | number | Thumbnail height in pixels |
↳ originalimage | object | Original image data |
↳ source | string | Thumbnail image URL |
↳ width | number | Thumbnail width in pixels |
↳ height | number | Thumbnail height in pixels |
↳ content_urls | object | URLs to access the page |
↳ desktop | object | Desktop URLs |
↳ page | string | Page URL |
↳ revisions | string | Revisions URL |
↳ edit | string | Edit URL |
↳ talk | string | Talk page URL |
↳ mobile | object | Mobile URLs |
↳ page | string | Page URL |
↳ revisions | string | Revisions URL |
↳ edit | string | Edit URL |
↳ talk | string | Talk page URL |
↳ lang | string | Page language code |
↳ dir | string | Text direction (ltr or rtl) |
↳ timestamp | string | Last modification timestamp |
↳ pageid | number | Wikipedia page ID |
↳ wikibase_item | string | Wikidata item ID |
↳ coordinates | object | Geographic coordinates |
↳ lat | number | Latitude |
↳ lon | number | Longitude |
wikipedia_search
Search for Wikipedia pages by title or content.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query to find Wikipedia pages |
searchLimit | number | No | Maximum number of results to return (default: 10, max: 50) |
Output
| Parameter | Type | Description |
|---|---|---|
searchResults | array | Array of matching Wikipedia pages |
↳ id | number | Result index |
↳ key | string | URL-friendly page key |
↳ title | string | Page title |
↳ excerpt | string | Search result excerpt |
↳ matched_title | string | Matched title variant |
↳ description | string | Page description |
↳ thumbnail | object | Thumbnail data |
↳ mimetype | string | Image MIME type |
↳ size | number | File size in bytes |
↳ width | number | Width in pixels |
↳ height | number | Height in pixels |
↳ duration | number | Duration for video |
↳ url | string | Thumbnail URL |
↳ url | string | Page URL |
totalHits | number | Total number of search results found |
query | string | The search query that was executed |
wikipedia_content
Get the full HTML content of a Wikipedia page.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
pageTitle | string | Yes | Title of the Wikipedia page to get content for |
Output
| Parameter | Type | Description |
|---|---|---|
content | object | Full HTML content and metadata of the Wikipedia page |
↳ title | string | Page title |
↳ pageid | number | Wikipedia page ID |
↳ html | string | Full HTML content of the page |
↳ revision | number | Page revision number |
↳ tid | string | Transaction ID (ETag) |
↳ timestamp | string | Last modified timestamp |
↳ content_model | string | Content model (wikitext) |
↳ content_format | string | Content format (text/html) |
wikipedia_random
Get a random Wikipedia page.
Input
| Parameter | Type | Required | Description |
|---|
Output
| Parameter | Type | Description |
|---|---|---|
randomPage | object | Random Wikipedia page data |
↳ type | string | Page type |
↳ title | string | Page title |
↳ displaytitle | string | Display title |
↳ description | string | Page description |
↳ extract | string | Page extract/summary |
↳ thumbnail | object | Thumbnail image data |
↳ source | string | Thumbnail image URL |
↳ width | number | Thumbnail width in pixels |
↳ height | number | Thumbnail height in pixels |
↳ content_urls | object | URLs to access the page |
↳ desktop | object | Desktop URL |
↳ page | string | Page URL |
↳ mobile | object | Mobile URL |
↳ page | string | Page URL |
↳ lang | string | Language code |
↳ timestamp | string | Timestamp |
↳ pageid | number | Page ID |