mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-25 20:21:09 -05:00
17 lines
540 B
Python
17 lines
540 B
Python
from typing import TypeAlias
|
|
|
|
from pydantic import StrictFloat, StrictStr
|
|
|
|
from qdrant_client.http.models import ExtendedPointId, SparseVector
|
|
|
|
|
|
NumericVector: TypeAlias = list[StrictFloat] | SparseVector | list[list[StrictFloat]]
|
|
NumericVectorInput: TypeAlias = (
|
|
list[StrictFloat] | SparseVector | list[list[StrictFloat]] | ExtendedPointId
|
|
)
|
|
NumericVectorStruct: TypeAlias = (
|
|
list[StrictFloat] | list[list[StrictFloat]] | dict[StrictStr, NumericVector]
|
|
)
|
|
|
|
__all__ = ["NumericVector", "NumericVectorInput", "NumericVectorStruct"]
|