Skip to main content
Creates and returns a new encrypted index based on the provided configuration.

Parameters

For more info on auto-generating embeddings, refer to Auto-Generate Embeddings.

Returns

EncryptedIndex: An instance of the newly created encrypted index.

Exceptions

  • Throws if the index name is not unique.
  • Throws if the index configuration is invalid.
  • Throws if the index could not be created.

Example Usage

Automatic Setup

Explicit Setup