Skip to content

useEmbeddingDimensionStats

useEmbeddingDimensionStats(): UseEmbeddingDimensionStatsResult

Defined in: features/model/hooks/use-embedding-dimension-stats.ts:27

Loads vector-store dimension stats once on mount and exposes a refresh() to re-read after operations that change the store (rebuild, clear-all, dimension migration).

Errors are logged but never thrown to the caller — the consuming UI just sees stats: null and renders accordingly.

UseEmbeddingDimensionStatsResult