[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."""