Insert individual points or batches of points into your collection. Points can include optional payload metadata.Documentation Index
Fetch the complete documentation index at: https://docs.vectoraidb.actian.com/llms.txt
Use this file to discover all available pages before exploring further.
Before you begin, make sure you have a running VectorAI DB instance and 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().