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.
Encrypted Index Caching
For improved query performance, you can enable encrypted index caching by setting amax_cache_size
:
Automatic Embedding Generation
This feature is only available in Python. To use it, use
pip install cyborgdb-core[embeddings]
or pip install cyborgdb-core[embeddings]
embedding_model
in create_index()
:
Python