The example above creates a random 32 byte (256-bit) index key.
This is fine for evaluation purposes, but for production use, we recommend that you use an HSM or KMS solution.
For more details, see Managing Encryption Keys.
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
To use automatic embedding generation, use the Docker Service or install with
pip install cyborgdb-service[embeddings]