Here is my code
client = weaviate.connect_to_local(
host="localhost", # Use a string to specify the host
port=8080,
grpc_port=50051,
additional_config=AdditionalConfig(
timeout=Timeout(init=600, query=500, insert=1000) # Values in seconds
)
)
with collection.batch.rate_limit(requests_per_minute=10) as batch:
batch.add_object(properties=data_row)
if len(collection.batch.failed_objects) > 0:
print(collection.batch.failed_objects)
its giving me error related to timeout even though I have increased the timeout as well in above connection thing here is the error I am facing I have content of almost 10K words.
[ErrorObject(message=âWeaviateInsertManyAllFailedError('Every object failed during insertion. Here is the set of all errors: send POST request: Post âhttp://t2v-transformers:8080/vectorsâ: context deadline exceeded (Client.Timeout exceeded while awaiting headers)')â, object_=_BatchObject(collection=âCollection_83cdb7b2569a428095e38b73e8348168â, vector=None, uuid=âf42b6ee8-f256-4bd3-9f6a-c53ec77fe27dâ,
I have tired dynamic import as well.