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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.3.0.tar.gz
Algorithm Hash digest
SHA256 75de9db9c8059a707cd7d8ff10105c91a1966f613ca0243313905984183a45c9
MD5 fdde8d719664c16f9a5005db8e626d6e
BLAKE2b-256 d29759ae1aa24bf0ada8edb578850645351c3a6963c149f1c1fafc90c279b5b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 377dff8d5ac5617f1dff4d8dd30512fcbcfdfbc9c6a25d80b97ad35b4d17de5b
MD5 8097d18e8330c674d4a9385f7e5f30c1
BLAKE2b-256 cf2d9f79fac4db0d5a31020cc81c9ffe979dbc067cb97a5dbecfd977d1d8f130

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