Skip to main content

llama-index readers pebblo integration

Project description

LlamaIndex Readers Integration: Pebblo

Pebblo Safe DocumentReader

Pebblo enables developers to safely load data and promote their Gen AI app to deployment without worrying about the organization’s compliance and security requirements. The project identifies semantic topics and entities found in the loaded data and summarizes them on the UI or a PDF report.

Pebblo has two components.

  1. Pebblo Safe DocumentReader for Llama
  2. Pebblo Daemon

This document describes how to augment your existing Llama DocumentReader with Pebblo Safe DocumentReader to get deep data visibility on the types of Topics and Entities ingested into the Gen-AI Llama application. For details on Pebblo Daemon see this pebblo daemon document.

Pebblo Safe DocumentReader enables safe data ingestion for Llama DocumentReader. This is done by wrapping the document reader call with Pebblo Safe DocumentReader

How to Pebblo enable Document Reading?

Assume a Llama RAG application snippet using CSVReader to read a CSV document for inference.

Here is the snippet of Document loading using CSVReader

from pathlib import Path
from llama_index.readers.file import CSVReader
reader = CSVReader()
documents = reader.load_data(file=Path('data/corp_sens_data.csv'))
print(documents)

The Pebblo SafeReader can be installed and enabled with few lines of code change to the above snippet.

Install PebbloSafeReader
pip install llama-index-readers-pebblo
Use PebbloSafeReader
from pathlib import Path
from llama_index.readers.pebblo import PebbloSafeReader
from llama_index.readers.file import CSVReader
reader = CSVReader()
pebblo_reader = PebbloSafeReader(reader, name="acme-corp-rag-1", # App name (Mandatory)
owner="Joe Smith", # Owner (Optional)
description="Support productivity RAG application")
documents = pebblo_reader.load_data(file=Path('data/corp_sens_data.csv'))

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_pebblo-0.5.1.tar.gz (7.9 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_pebblo-0.5.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_pebblo-0.5.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_pebblo-0.5.1.tar.gz
Algorithm Hash digest
SHA256 136b716a0688f6df0673e2b04ee50805e21e2afc449c920212cac5fe2441727e
MD5 e8a4a0d7d5b50292f3ed92de34b40ed2
BLAKE2b-256 f6ac77a25b7a17d417abca6cd7de2145cf4c6ea1f8c2f666683cf916a16f765d

See more details on using hashes here.

File details

Details for the file llama_index_readers_pebblo-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_pebblo-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 184f3aef2e9aee6909258746de4d9bec3d6c2f0a45e422ae3771b287363cee1c
MD5 c8686c34a77c92291a63fc3985700cdd
BLAKE2b-256 f9a81a8d6b406b97c21e5c262d2f9b184debb2be115fbce0ba87e080cedab7f7

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