Description
I am not able to add any object to collection. Though the collection is created successfully. I am using Cloud Sandbox. I am able to see the collection is created. But the following code fails. I am using Spacy to generate vector for my text columns
from weaviate.util import generate_uuid5
with SkillSet.batch.rate_limit(2400) as batch:
for index, row in df.iterrows():
doc = nlp(row['SkillSet'])
vec = doc.vector
SkillSet_obj = {
"employeeId": df['EmpId'],
"skills": df['SkillSet'],
}
uuid=generate_uuid5(df['EmpId'])
batch.add_object(
properties=SkillSet_obj,
uuid=uuid,
vector=vec, # Add the custom vector
# references=reference_obj # You can add references here
)
if len(SkillSet.batch.failed_objects) > 0:
print(f"Failed Again to import {len(SkillSet.batch.failed_objects)} objects")
Server Setup Information
- Weaviate Server Version:
- Deployment Method:
- Multi Node? Number of Running Nodes:
- Client Language and Version:
- Multitenancy?: