Skip to main content

llama-index readers bagel integration

Project description

LlamaIndex Readers Integration: Bagel

pip install llama-index-readers-bagel

Bagel Loader

Usage

from llama_index.core.schema import Document
from llama_index.readers.bagel import BagelReader

# Initialize BagelReader with the collection name
reader = BagelReader(collection_name="example_collection")

# Load data from Bagel
documents = reader.load_data(
    query_vector=None,
    query_texts=["example text"],
    limit=10,
    where=None,
    where_document=None,
    include=["documents", "embeddings"],
)

Features

  • Retrieve documents, embeddings, and metadata efficiently.
  • Filter results based on specified conditions.
  • Specify what data to include in the retrieved results.

This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.

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_bagel-0.2.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: llama_index_readers_bagel-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.6.0

File hashes

Hashes for llama_index_readers_bagel-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4ffd6e04e8f8bc4b444683f03e9062dee9dc9c9c04d8b8cebed14da9ddf75180
MD5 733977ca97ac4c588aa3773ad68aeb26
BLAKE2b-256 85e5e5021afd2a8b7fe97e742ac030d2a3dc5669bdac81612ff32fcab0e520a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_bagel-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3461b1e6ad0adf8f8380e53922b784b32e606f451af97d8e0599326b748a46d0
MD5 922555bb5ffe30d4e8a80c0bd2b557d0
BLAKE2b-256 a73ba7af3053d91bbd75073e7ff37815c2f990f1157eec91932ef0919545c232

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page