Skip to main content

llama-index readers rayyan integration

Project description

Rayyan Loader

pip install llama-index-readers-rayyan

This loader fetches review articles from Rayyan using the Rayyan SDK. All articles for a given review are fetched by default unless a filter is specified.

Usage

To use this loader, you need to specify the path to the Rayyan credentials file and optionally the API server URL if different from the default. More details about these parameters can be found in the official Rayyan SDK repository.

from llama_index.readers.rayyan import RayyanReader

loader = RayyanReader(credentials_path="path/to/rayyan-creds.json")

Once the loader is initialized, you can load data from Rayyan, either all or filtered:

# Load all documents for a review with ID 123456
documents = loader.load_data(review_id=123456)

# Load only those that contain the word "outcome"
documents = loader.load_data(
    review_id=123456, filters={"search[value]": "outcome"}
)

The Rayyan SDK has more information about the available filters.

This loader is designed to be used as a way to load data into LlamaIndex.

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_rayyan-0.5.0.tar.gz (4.8 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_rayyan-0.5.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_rayyan-0.5.0.tar.gz
  • Upload date:
  • Size: 4.8 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_rayyan-0.5.0.tar.gz
Algorithm Hash digest
SHA256 60f9d09163ccf082865b845bb98a608667779b6b52c0881ee7b358c4e9784fe1
MD5 f6703061157307caf9d7f4fec8f625bf
BLAKE2b-256 cb5b6585a08077f9a60105ef0a60980d9b15eed6df528239963d4f198cc27ce2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_rayyan-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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_rayyan-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33e3bde53f88a34966d66f41f790903e55af7b2946612ac1b3d9d42d7240bd04
MD5 d35b5d06066bb7c2bdbf6f478b9433ad
BLAKE2b-256 ea9b1aaf49e56e10b1d5974663f220ab9b547a9a401587ae9139168833c8701c

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