⛔ indexer exceptions module

Exceptions regarding embeddings module operations.

exception pupyl.indexer.exceptions.DataDirDefinedForVolatileIndex

Raised when a data directory is defined for a volatile index.

exception pupyl.indexer.exceptions.EmptyIndexError

Raised when a loaded index is empty.

exception pupyl.indexer.exceptions.Error

Base exception class.

exception pupyl.indexer.exceptions.ExportIdsAndNames

Raised when trying to export names and ids at the same time.

exception pupyl.indexer.exceptions.FileIsNotAnIndex

Raised when a file is not recognized as an index file.

exception pupyl.indexer.exceptions.IndexNotBuildYet

Raised when an index is not built yet.

exception pupyl.indexer.exceptions.NoDataDirForPermanentIndex

Raised when a data directory isn’t defined for a not volatile index.

exception pupyl.indexer.exceptions.NullTensorError

Raised when trying to insert a null (empty) tensor.

exception pupyl.indexer.exceptions.TopNegativeOrZero

Raised when the top results filter is zero or below.