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.4.1.tar.gz (4.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_bagel-0.4.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_bagel-0.4.1.tar.gz
Algorithm Hash digest
SHA256 47ac83d59957f703fc56dbbf5235f0a6961595d301cc1fa4714e5197e49db9de
MD5 11b0bee5e4f981fb52e1d0d7a12aa605
BLAKE2b-256 58fcbea2673d84f586d269b710c8d4dfc0ccdc8dd2fe9c6874078d648c8f36c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_bagel-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a55b96ea7eba2dfe7f608f6bfaea0e5947a2735d944bffe8245d5cffb84403da
MD5 c3261d6a378b658021c57417ed42277e
BLAKE2b-256 f1b32eb655b4da6f5bfc46291e16cbfae9388d6f5253f2d87ce0ae5b6d914660

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