Skip to content

Pass tenant parameter when creating WeaviateVectorStore directly #210

Open
@joshanderson-sas

Description

@joshanderson-sas

Is your feature request related to a problem? Please describe.
Currently there is no way to pass a tenant parameter when creating a WeaviateVectorStore object directly. The only solution currently appears to be using the from_documents class method, like this.

db_with_mt = WeaviateVectorStore.from_documents(
    docs, embeddings, client=weaviate_client, tenant="Foo"
)

Describe the solution you'd like
Would like to be able to pass a tenant when instantiating a WeaviateVectorStore, like this.

db = WeaviateVectorStore(embedding=embeddings, client=client, index_name="Collection", text_key="text", tenant = "Foo")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions