dimension, metric, storage_precision, embedding_model), see Configure an Encrypted Index.
v0.17 removed the polymorphic
index_config argument and the IndexIVFFlat / IndexIVFPQ / IndexIVFSQ constructors from previous versions. Optional parameters — metric ("euclidean", "squared_euclidean", "cosine"), dimension, embedding_model, storage_precision, and kms_name — are now flat keyword arguments on create_index. See the API Reference for details.Index Caching
The service-based SDKs handle caching automatically on the server side. Unlike the embedded SDKs, you don’t need to specify cache sizes when creating indexes. The CyborgDB service optimizes query performance through:- Automatic index caching based on usage patterns
- Server-side query optimization
- Efficient index loading and memory management
Automatic Embedding Generation
All Client SDKs support automatic embedding generation. You can specify an embedding model when creating the index:API Reference
For more information on creating encrypted indexes, refer to the API reference:REST API Reference
REST API reference for
/v1/indexes/createPython SDK Reference
API reference for
create_index() in PythonJS/TS SDK Reference
API reference for
createIndex() in JavaScript/TypeScriptGo SDK Reference
API reference for
CreateIndex() in Go