Issue in making multi-tenancy Collection in weaviate

I was trying to create a collection with Multi-Tenancy but it is giving the following error.

WeaviateTimeoutError: The request to Weaviate timed out while awaiting a response. Try adjusting the timeout config for your client. Details: Collection may not have been created properly.

I followed exact documentation code and even gave the correct collection name and all.

This is my code for creating the collection.

from weaviate.classes.config import Configure

pdf_collection = client.collections.create(
name=“Tapish”,
multi_tenancy_config= Configure.multi_tenancy(
enabled=True,
)
)

Good morning @tapish_22.11,

Happy Monday!

Could you please provide more details about your Weaviate configuration and server setup?

Additionally, it would be helpful if you could share the script you are using to connect to Weaviate and create the collection.

Best regards,

Mohamed Shahin
Support Engineer

Hi @Mohamed_Shahin ,

The problem has been solved. Just had to make some changes in the docker file.

Thank You!

1 Like