qdrant_client.fastembed_common module¶
- class QueryResponse(*, id: Union[str, int], embedding: Optional[list[float]], sparse_embedding: Optional[SparseVector] = None, metadata: dict[str, Any], document: str, score: float)[source]¶
Bases:
BaseModel
- document: str¶
- embedding: Optional[list[float]]¶
- id: Union[str, int]¶
- metadata: dict[str, Any]¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- score: float¶
- sparse_embedding: Optional[SparseVector]¶