payload field accepts any valid JSON structure. Include only the fields you need for filtering or displaying results.
You need an existing collection. Vectors must match the dimension configured for the collection. See Create a collection to set one up.
Insert a single point
Theinsert() method is an alias for upsert(). A new ID inserts a new point, while an existing ID updates the point with the new vector and payload.
Payload is optional. You can insert points with only ID and vector:
Batch insert points
Batch operations are significantly faster than individual inserts. Use batch sizes between one hundred and one thousand points for optimal performance. Theupsert_points() method is an alias for batch_upsert().