Skip to main content

llama-index readers wikipedia integration

Project description

LlamaIndex Readers Integration: Wikipedia

Overview

The Wikipedia Reader reads Wikipedia pages and retrieves their content. It allows you to specify a list of pages to read, and it retrieves the text content of each page.

Installation

You can install the Wikipedia Reader via pip:

pip install llama-index-readers-wikipedia

Usage

from llama_index.readers.wikipedia import WikipediaReader

# Initialize WikipediaReader
reader = WikipediaReader()

# Load data from Wikipedia
documents = reader.load_data(pages=["Page Title 1", "Page Title 2", ...])

This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_wikipedia-0.5.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_wikipedia-0.5.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_wikipedia-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_wikipedia-0.5.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_wikipedia-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ea4d8480b9eada8c1c1b496a7eb138f856ed2a6ec044f10f2c9392d59af49880
MD5 d3a2017faa319962b9e113b242b03ec0
BLAKE2b-256 5b32067eeb49e055a1c62bd553c7f92149dad10b0eb077492dc5b87e5eae0070

See more details on using hashes here.

File details

Details for the file llama_index_readers_wikipedia-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_wikipedia-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_wikipedia-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 959a8691a7a776e28a3056f8abc3f081c4707e23e231b154a9f241e461b0070b
MD5 cbdaa0c47c67bea9de0e45f18580dfec
BLAKE2b-256 3bf8970e7d32e991420e2d9b68843ee8acaa192c510012b83a259291fcdf259b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page