Skip to main content

OpenAlex Reader

pip install llama-index-readers-openalex

This loader will search for papers in OpenAlex and load them in llama-index. The main advantage of using OpenAlex is that you can search the full-text for Open Access papers as well.

Usage

from llama_index.readers.openalex import OpenAlexReader

openalex_reader = OpenAlexReader(email="shauryr@gmail.com")
query = "biases in large language models"

# changing this to full_text=True will let you search full-text
documents = openalex_reader.load_data(query, full_text=False)

What can it do?

As shown in demo.ipynb we can get answers with citations.

query = "biases in large language models"
response = query_engine.query(
    "list the biases in large language models in a markdown table"
)

Output

Source Biases
Source 1 Data selection bias, social bias (gender, age, sexual orientation, ethnicity, religion, culture)
Source 2 Biases of what is right and wrong to do, reflecting ethical and moral norms of society
Source 3 Anti-Muslim bias
Source 6 Gender bias
Source 9 Anti-LGBTQ+ bias
Source 10 Potential bias in the output

Credits

  • OpenAlex API details are listed here

  • Some code adopted from pyAlex

Metadata

Release files for llama-index-readers-openalex 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-readers-openalex 0.7.0
File Size Uploaded Provenance Actions
llama_index_readers_openalex-0.7.0.tar.gz 4.8 kB Without provenance Details for llama_index_readers_openalex-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-openalex 0.7.0
File Interpreter ABI Platform Actions
llama_index_readers_openalex-0.7.0-py3-none-any.whl Python 3 none any Details for llama_index_readers_openalex-0.7.0-py3-none-any.whl

Total release size: 9.3 kB

Release files / llama_index_readers_openalex-0.7.0.tar.gz

Download URL llama_index_readers_openalex-0.7.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6919c679658edc14dda4f65d3928ccadc7950ccb5b577867b2516055dee17cde
BLAKE2b-256 checksum
How to use checksums
e074d121a132944ca2ad88a83b86b680ff817d71980f78a1384020e42f4b8754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / llama_index_readers_openalex-0.7.0-py3-none-any.whl

Download URL llama_index_readers_openalex-0.7.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a471f9114335a4e0bd49a444ad7a46023a1f97dde467f73fc6c13c938aa3b239
BLAKE2b-256 checksum
How to use checksums
e25a8e53a281ad5f864dae2595baa39d08ce56d33be7b9f51112ed650aa6b21b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for llama-index-readers-openalex 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page