Skip to main content
Version: 1.11.x

Wikipedia

tip

This provider is an extra of the lfx-bundles metapackage. It is opt-in for both Langflow and standalone LFX installs:

uv pip install "lfx-bundles[<bundle>]"

Replace <bundle> with this page's provider name, for example qdrant. For a torch-free full Langflow install, run uv pip install "langflow[bundles]". For standalone LFX with every provider in lfx-bundles, including PyTorch-based providers, run uv pip install "lfx[bundles]". See Additional bundles for the exact extra name.

Bundles 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 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.

It accepts a string text query, and it outputs a Table containing the search results.

Wikipedia API

This component searches and retrieves information from Wikipedia with the WikiMedia API search endpoints, and then outputs the response as a Table.

Wikipedia API parameters

Some parameters are hidden by default in the visual editor. You can modify all component parameters through the component inspection panel that appears when you select a component.

NameTypeDescription
input_valueStringInput parameter. The search query input.
langStringInput parameter. The language code for Wikipedia. Default: en.
kIntegerInput parameter. The number of results to return.
load_all_available_metaBooleanInput parameter. Whether to load all available metadata.
doc_content_chars_maxIntegerInput parameter. The maximum number of characters for document content.

See also

Was this page helpful?

Support
Search