Skip to main content
This guide walks through a realistic end-to-end workflow using VectorAI DB collections. You will create a collection, insert points, search for similar vectors, update parameters, run maintenance tasks, and clean up all in a single connected example.
Install the Python client library: pip install actian-vectorai-client.
The workflow covers the following steps in order:
  1. Create a collection with custom HNSW parameters.
  2. Insert points with payload metadata.
  3. Search for similar vectors with filtering.
  4. Update collection parameters.
  5. Inspect collection state and statistics.
  6. Run maintenance (flush and snapshot).
  7. Delete the collection.

Complete example

The following example uses a product_catalog collection with 128-dimensional vectors. Each step builds on the previous one, forming a complete lifecycle from creation through deletion.

Next steps

After completing this workflow, explore these related guides: