Skip to main content

Pangea Multipass authorization library for Llama Index

Project description

Pangea Multipass for Llama Index

This library extends the Pangea Multipass package to integrate metadata enrichment and document processing with Llama Index. It enables seamless use of authorization checks, metadata filtering, and custom processors on documents from Google Drive, JIRA, and Confluence, utilizing Llama Index structures for Retrieval-Augmented Generation (RAG) applications.

Features

  • Document Integration: Adapts Pangea processors and enrichers to handle Llama Index documents.
  • Llama Index-Compatible Filtering: Provides metadata filtering with operators for fine-grained document access control.
  • Authorization Processing: Aggregates and applies multiple authorization checks on Llama Index nodes with custom, combinable node processors.

Installation

Use Poetry to install dependencies:

poetry add pangea-multipass-llama-index

If installing directly from the source, clone the repository and run:

cd pangea-multipass-llama-index
poetry install

Usage

Core Components

  • Document Reader: LIDocumentReader reads content from Llama Index documents for enrichment.
  • Processors for Llama Index:
    • LlamaIndexJiraProcessor — Handles JIRA documents within Llama Index.
    • LlamaIndexConfluenceProcessor — Processes Confluence documents in Llama Index.
    • LlamaIndexGDriveProcessor — Manages Google Drive documents in Llama Index.
    • Node Postprocessor Mixer: Combines multiple processors for complex, multi-source document filtering.
  • Metadata Filters: Filter documents based on metadata using operators like EQ, CONTAINS, and custom metadata keys.

License

This project is licensed under the MIT License.

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

pangea_multipass_llama_index-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

pangea_multipass_llama_index-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file pangea_multipass_llama_index-0.1.0.tar.gz.

File metadata

  • Download URL: pangea_multipass_llama_index-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.16 Linux/6.1.112+

File hashes

Hashes for pangea_multipass_llama_index-0.1.0.tar.gz
Algorithm Hash digest
SHA256 233eab827027f4fb7d1268cdb5f2de5ff87c95e593b1e65f3d33acd5b7419a50
MD5 88e5771933af20520f54a31956a0d02b
BLAKE2b-256 ef4b3e54ad07dc63bd3807a0203237f15ef1f7c9b9ac597c6a58b69e3e1356df

See more details on using hashes here.

File details

Details for the file pangea_multipass_llama_index-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pangea_multipass_llama_index-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6ec6b5d27a432bf74e560ba1f6660b16e74e4892a9d2b6530df9102f0430ba3
MD5 290dbd4367b2abea4547d0b894a34413
BLAKE2b-256 b360fe7a0ef18811c79353dfc357b3c61a69e30f45b380a8420e3a00c30a641e

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