[docs]classSparseVector(BaseModel,extra="forbid"):"""Sparse vector structure."""indices:list[int]=Field(...,description="indices must be unique")values:list[float]=Field(...,description="values and indices must be the same length")
[docs]classSparseEmbeddings(ABC):"""An interface for sparse embedding models to use with Qdrant."""