Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add tenant scoping to WeaviateVectorStore#6688

Open
ultramancode wants to merge 1 commit into
spring-projects:mainspring-projects/spring-ai:mainfrom
ultramancode:feat/weaviate-tenant-scopingultramancode/spring-ai:feat/weaviate-tenant-scopingCopy head branch name to clipboard
Open

Add tenant scoping to WeaviateVectorStore#6688
ultramancode wants to merge 1 commit into
spring-projects:mainspring-projects/spring-ai:mainfrom
ultramancode:feat/weaviate-tenant-scopingultramancode/spring-ai:feat/weaviate-tenant-scopingCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.