Prefer the @langchain/weaviate package.

Interface that defines the arguments required to create a new instance of the WeaviateStore class. It includes the Weaviate client, the name of the class in Weaviate, and optional keys for text and metadata.

interface WeaviateLibArgs {
    client: WeaviateClient;
    indexName: string;
    metadataKeys?: string[];
    tenant?: string;
    textKey?: string;
}

Properties

client: WeaviateClient
indexName: string

The name of the class in Weaviate. Must start with a capital letter.

metadataKeys?: string[]
tenant?: string
textKey?: string
""