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.4.0.tar.gz (4.6 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_weaviate-0.4.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7e719132a54abae49cd1b87d0753f455bc74c47737913b158ce7bc652b621d37
MD5 a49978cf8b92647d876b697e7794b9de
BLAKE2b-256 3484a842a503f3081ad8376f7f6c00c100504be78d5ae8958a6eb710b7a05ee3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 221eb25b9825433125598766302e48f3a5bcecd90b40eb17470a38864a5c74c3
MD5 e6798de7f26407242e890a186692f62c
BLAKE2b-256 efb671e3c1dd091165083fceef42429285cb91fa7b684c5cfc31426c0d4a9ff8

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