Files
langflow/docs/versioned_docs/version-1.8.0/Components/bundles-wikipedia.mdx
Mendon Kissling b36444f5d9 docs: add versioning (#12218)
* fix: nightly now properly gets 1.9.0 branch (#12215)

before it was attempting to pull release-notes as letters are alphanumerically after numbers when we sort -V then grab tail
now we only look at branch names that follow the pattern '^release-[0-9]+\.[0-9]+\.[0-9]+$'

* docs: add search icon (#12216)

add-back-svg

* initial-content

* cut-1.8-release-and-include-next-version

* stage-1.8.0-and-next

---------

Co-authored-by: Adam-Aghili <149833988+Adam-Aghili@users.noreply.github.com>
2026-03-18 20:03:49 +00:00

43 lines
1.8 KiB
Plaintext

---
title: Wikipedia
slug: /bundles-wikipedia
---
import Icon from "@site/src/components/icon";
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) contain custom components that support specific third-party integrations with Langflow.
This page describes the components that are available in the **Wikipedia** bundle.
:::tip
Wikipedia components are useful [tools for agents](/agents-tools) that need reliable sources for information retrieval, such as tutoring chatbots or generic research assistants.
Rather than broad internet searches or recall from internal model data, these components provide specific data returned from Wikipedia API requests.
:::
## Wikidata API
This component performs a similarity search using the [Wikidata API](https://www.wikidata.org/wiki/Wikidata:REST_API).
It accepts a string text query, and it outputs a [`DataFrame`](/data-types#dataframe) containing the search results.
## Wikipedia API
This component searches and retrieves information from Wikipedia with the [WikiMedia API](https://www.mediawiki.org/wiki/API:Main_page) search endpoints, and then outputs the response as a [`DataFrame`](/data-types#dataframe).
### Wikipedia API parameters
<PartialParams />
| Name | Type | Description |
|------|------|-------------|
| input_value | String | Input parameter. The search query input. |
| lang | String | Input parameter. The language code for Wikipedia. Default: `en`. |
| k | Integer | Input parameter. The number of results to return. |
| load_all_available_meta | Boolean | Input parameter. Whether to load all available metadata. |
| doc_content_chars_max | Integer | Input parameter. The maximum number of characters for document content. |
## See also
* [**API Request** component](/api-request)