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.2.0.tar.gz (3.8 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.2.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pangea_multipass_llama_index-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 89745a3046914d6fb2cad0faa1395360df357f26932ce32659ae4f5330f5e7d2
MD5 8ee812725b1381bef5d8e7cc6beef00e
BLAKE2b-256 aa91f9622a4151ed6c90cfdf435c6948fb935a20c90c5744279c5ab18e843140

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pangea_multipass_llama_index-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a45561f78dec38f21eb2ab45a0077a9f762b2806c74956e10bc1a875c6ee626
MD5 24778501fee5b41472a4a406e060d807
BLAKE2b-256 72c3d6f9cdb8d1e8cb979b78499373f7a4d1e5eb5ea2d88ffecdd3ca0c84fce9

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