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
Built Distribution
File details
Details for the file llama_index_readers_bagel-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_bagel-0.3.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae517f42497e07f7604ecba8d970be3d4e3aeccad3d72ff48be139a8d0f28e27 |
|
MD5 | 064510123d028a1d813373fb28a8d891 |
|
BLAKE2b-256 | 9f530de90e512bb45b28ad8d2fe3dc09ecfcef3add4c66bc98e9a6da1eaad5ed |
File details
Details for the file llama_index_readers_bagel-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_bagel-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e41e44d26aed522668a7bcb2ca6d70b563a6569a2886f786ed5adc5522dfd6 |
|
MD5 | 6f5b786028f41f3ad8b005b30135d680 |
|
BLAKE2b-256 | 83808c73fc2d5502f6f900d2f74d717095f3f1aefa9208ce4f6e0b3aa5578f91 |