I have a local instance of weaviate running on my machine. I am trying to enable multi-tenancy by following this guidance and by utilizing this code:
client.schema.create_class({
'class': 'MultiTenancyClass',
'multiTenancyConfig': {'enabled': True}
})
client.schema.add_class_tenants(
class_name='MultiTenancyClass', # The class to which the tenants will be added
tenants=[Tenant(name='tenantA'), Tenant(name='tenantB')]
)
However, I keep getting this error:
weaviate.exceptions.UnexpectedStatusCodeException: Add classes tenants! Unexpected status code: 404, with response body: {'code': 404, 'message': 'path /v1/schema/MultiTenancyClass/tenants was not found'}.
Is it not possible to add multi-tenancy to a local instance of weaviate?