Skip to content

Wikipedia Loader

Wikipedia Loader searches Wikipedia for the topic you give it and returns the text of the articles found. It is useful for giving an agent or a model general, well-sourced background on a topic, a well-known company, a place or a concept.

When to use it

  • Prepare a background sheet on a city or country before a business trip.
  • Give an agent the basics of a technical concept so it can explain it in plain words.
  • Enrich a report with general information about a well-known company or industry.
  • Create training materials from reference articles.

Configuration

FieldWhat it does
QueryThe topic you want to search for, for example “Solar photovoltaic energy”.
LanguageWhich Wikipedia edition is searched: es (Spanish), en (English) or fr (French). Default: es.
Max DocumentsThe maximum number of articles returned. Default: 1.

Output

The Data output returns one item per article, with its text and details such as the title, a summary and the article’s address.

Connect it to an agent or a model to summarize or explain the content, or to Parse Data to turn it into text.

Example

A consulting firm prepares reports for clients opening an office in another city:

  1. Add Wikipedia Loader, enter the city name in Query and leave Max Documents at 1.
  2. Connect Data to an agent with the instruction “Summarize the economy, population and transport links of this city”.
  3. Include the summary in the report the client receives.

Good practices

  • Write the topic as it would appear in an article title: that way the first result is usually the right one.
  • Raise Max Documents only if you want several related articles; more articles mean more text for the rest of the flow.
  • Wikipedia: lets an agent look up Wikipedia whenever it needs to.
  • URL: reads the text of any web page.