actian-vectorai-client; import APIs from actian_vectorai.
Clients
UseVectorAIClient for synchronous code and AsyncVectorAIClient for async applications.
Configuration
The SDK loads.env files and ACTIAN_VECTORAI_* environment variables automatically. Constructor arguments override environment values.
ACTIAN_VECTORAI_ACCESS_TOKEN or VectorAIClient(access_token="...") for Bearer authentication.
Collections and points
Filters
Use the Filter DSL for payload predicates.Hybrid search and batching
The SDK includes client-side reciprocal rank fusion, distribution-based score fusion, and smart batching.client.upload_points(...) for simple bulk upload or SmartBatcher when you need automatic flushing and batch sizing controls.
Embeddings and telemetry
Install optional extras when needed:OpenAIEmbedder provides OpenAI embedding helpers, and telemetry extras enable structured observability integrations.