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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89745a3046914d6fb2cad0faa1395360df357f26932ce32659ae4f5330f5e7d2
|
|
| MD5 |
8ee812725b1381bef5d8e7cc6beef00e
|
|
| BLAKE2b-256 |
aa91f9622a4151ed6c90cfdf435c6948fb935a20c90c5744279c5ab18e843140
|
File details
Details for the file pangea_multipass_llama_index-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pangea_multipass_llama_index-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.10.16 Linux/6.1.112+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a45561f78dec38f21eb2ab45a0077a9f762b2806c74956e10bc1a875c6ee626
|
|
| MD5 |
24778501fee5b41472a4a406e060d807
|
|
| BLAKE2b-256 |
72c3d6f9cdb8d1e8cb979b78499373f7a4d1e5eb5ea2d88ffecdd3ca0c84fce9
|