Skip to content

Add tenant scoping to WeaviateVectorStore#6688

Open
ultramancode wants to merge 1 commit into
spring-projects:mainfrom
ultramancode:feat/weaviate-tenant-scoping
Open

Add tenant scoping to WeaviateVectorStore#6688
ultramancode wants to merge 1 commit into
spring-projects:mainfrom
ultramancode:feat/weaviate-tenant-scoping

Conversation

@ultramancode

Copy link
Copy Markdown
Contributor

WeaviateVectorStore currently has no way to target a tenant in a multi-tenant collection, so add, search, and delete operations cannot be scoped to a configured tenant.

This PR adds an optional tenantName builder option and the spring.ai.vectorstore.weaviate.tenant-name property to scope add, delete, and similarity search operations to a tenant.

The target collection must already have multi-tenancy enabled. Existing behavior is unchanged when no tenant name is configured.

I also tested this locally with Weaviate 1.31.22

Signed-off-by: Taewoong Kim <ktw2172@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants