Skip to main content

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


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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 be5dc557bf7c859b523e685dbd0db09a25b2281bdba2a8e2000cbf45f121ced7
MD5 1a0e58ce9cc3f549355e19d771b0e4f2
BLAKE2b-256 4988d08db1c560ec3c2eb9656f9aeff0bdc05aa59c4144647e93b481e848c392

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d524a0f56885a6ce85e609f89d6e3369f2de6a362d16fefea932bcae97d3759c
MD5 2ed5e7eb9dbfa15d416a25894f3ed870
BLAKE2b-256 ff9f43a5612fd8b1f1de2ca37bc2cf81cc2d81f350ce8a9380099fbee51ee94a

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