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.1.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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.4.1.tar.gz
Algorithm Hash digest
SHA256 723b4ddd67585d3de9621dd8efe312cc5de5c8770d06242137fd59c4d8a28ead
MD5 c2bdf5628f7d83c83e9de7ddebe97e7d
BLAKE2b-256 c0c797f52751027ce43b22fb2abad5c43f761bdc7fe9609fc2981a7fc4a4ce6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_weaviate-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6feb1cba7e50bf1596d01ec2b7d638147ef46a9480c69c18a64b1f0634165661
MD5 037c4caaa2248a21fc5b1e5120896baf
BLAKE2b-256 2bef802c4a69e6f09d710298922fcdc07982fd67cd583b6db28f5a72484d34fb

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