llama-index readers weaviate integration
Project description
LlamaIndex Readers Integration: Weaviate
Overview
The Weaviate Reader retrieves documents from Weaviate through vector lookup. It allows you to specify a class name and properties to retrieve from documents, or to provide a custom GraphQL query. You can choose to receive separate Document objects per document or concatenate retrieved documents into one Document.
Installation
You can install the Weaviate Reader via pip:
pip install llama-index-readers-weaviate
Usage
from llama_index.readers.weaviate import WeaviateReader
# Initialize WeaviateReader with host and optional authentication
reader = WeaviateReader(
host="<Weaviate Host>", auth_client_secret="<Authentication Client Secret>"
)
# Load data from Weaviate
documents = reader.load_data(
class_name="<Class Name>", properties=["property 1", "property 2"]
)
You can follow this tutorial to learn more on how to use Weaviate Reader
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
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 llama_index_readers_weaviate-0.4.1.tar.gz.
File metadata
- Download URL: llama_index_readers_weaviate-0.4.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
723b4ddd67585d3de9621dd8efe312cc5de5c8770d06242137fd59c4d8a28ead
|
|
| MD5 |
c2bdf5628f7d83c83e9de7ddebe97e7d
|
|
| BLAKE2b-256 |
c0c797f52751027ce43b22fb2abad5c43f761bdc7fe9609fc2981a7fc4a4ce6c
|
File details
Details for the file llama_index_readers_weaviate-0.4.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_weaviate-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6feb1cba7e50bf1596d01ec2b7d638147ef46a9480c69c18a64b1f0634165661
|
|
| MD5 |
037c4caaa2248a21fc5b1e5120896baf
|
|
| BLAKE2b-256 |
2bef802c4a69e6f09d710298922fcdc07982fd67cd583b6db28f5a72484d34fb
|