Lens
🌐

Wikipedia

The Wikipedia collector retrieves general knowledge, structured metadata, and full-text summaries from the world's largest encyclopedia.

Capabilities

Search Full-text keyword search
Summarize Introductory extracts
Meta Categories and links

How Configuration Works

All collectors in Lens adhere to a unified configuration pattern. Instead of hardcoding values, you inject parameters at runtime using the lens.config.yaml file or directly via the ResearchAgent constructor.

Dynamic Configuration

When you initialize a collector, it inspects the configuration object passed to it. This allows for flexible behavior adjustments—such as changing target languages, result limits, or API-specific flags—without modifying the core collector logic. Refer to the central Configuration Reference for the full list of supported parameters available to this collector.

Schema Mapping

Source Field Lens Field Type
title title string
extract content text
fullurl source_url url

Technical Note

This collector uses the Wikipedia REST API. It respects the standard User-Agent requirements and rate limits of the Wikimedia Foundation.