Skip to main content

agrag.vectordb.errors.CollectionDimensionMismatchError

CollectionDimensionMismatchError(*, expected:int, actual:int) -> None

Bases: VectorStoreError

A collection already exists with a different embedding dimension.

Attributes:

  • expected – The dimension the collection was created with.
  • actual – The dimension the caller requested.

actual​

actual = actual

expected​

expected = expected