Comments (2)
Thank you for the the clarifications. I can confirm that the tenant auto creation and data insertion indeed work when using batch operation.
POST http://localhost:{{WEAVIATE_PORT}}/v1/batch/objects
{
"fields": [
"ALL"
],
"objects": [
{
"class": "TestSchema",
"properties": {
"account_id": "1"
},
"vector": [
1
],
"tenant": "TSTDRV1234"
}
]
}
response:
[
{
"class": "TestSchema",
"creationTimeUnix": 1715893985742,
"id": "99b56cb4-9f7c-49af-9f75-d047d74c05df",
"lastUpdateTimeUnix": 1715893985742,
"properties": {
"account_id": "1"
},
"tenant": "TSTDRV12344",
"vector": [
1
],
"deprecations": null,
"result": {
"status": "SUCCESS"
}
}
]
from weaviate.
Hey @owieboy thanks for your report!
Auto tenant creation is actually only available during batch importing.
This wasn't super clear in the docs, and we have since made a change to clarify this.
Additionally, I've improved the error message that occurs in this case (multi-tenancy and autoTenantCreation are enabled, and a single object insert is attempted with a non-existent tenant) here with #4948. This will be included in the next patch release, 1.25.1.
Apologies for the miscommunication on our part!
from weaviate.
Related Issues (20)
- Observability metrics for async indexing queue
- Existing replication factor increase implementation does not work with raft
- High variance of latency when doing a benchmark of query (GET) by id
- [proposal] Vectorizer select and exclude properties – in one place
- Hybrid should skip properties with indexSearchable=False HOT 2
- group_by with return_properties
- Remove blank space from weaviate readme
- Epic: Cluster refactoring
- Epic: RAFT Stability and observability
- How to use weaviate DB in Production with RAG ? HOT 3
- [flat index] Switch from `objects` to `vectors for rescoring BQ
- Refactor schema interface usage to have unified naming and simpler updates
- Refactor struct intertwined in `cluster` package to have a clear consistent naming and usage.
- Read-repair re-adds objects that should have been deleted
- Initialisation script to set up initial data, schema, etc in container
- RAFT Deadlock on race condition on multi tenancy config read HOT 1
- SIMD support for Scalar Quantisation
- Add distiluse-base-multilingual-cased-v2 transformer for embeddings
- "VectorFromSearchParam was called without any known params present" is unhelpful
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weaviate.