快捷方式

qdrant_client.uploader.uploader 模块

class BaseUploader[source]

基础类: Worker, ABC

classmethod iterate_batches(vectors: Union[dict[str, numpy.ndarray[tuple[int, ...], numpy.dtype[Union[numpy.bool, numpy.int8, numpy.int16, numpy.int32, numpy.int64, numpy.uint8, numpy.uint16, numpy.uint32, numpy.uint64, numpy.float16, numpy.float32, numpy.float64, numpy.longdouble]]]], ndarray[tuple[int, ...], dtype[Union[bool, int8, int16, int32, int64, uint8, uint16, uint32, uint64, float16, float32, float64, longdouble]]], Iterable[Union[List[float], List[List[float]], Dict[str, Union[List[float], SparseVector, List[List[float]], Document, Image, InferenceObject]], Document, Image, InferenceObject]]], payload: Optional[Iterable[dict]], ids: Optional[Iterable[Union[int, str]]], batch_size: int) Iterable[source]
classmethod iterate_records_batches(records: Iterable[Union[PointStruct, Record]], batch_size: int) Iterable[source]
iter_batch(iterable: Union[Iterable, Generator], size: int) Iterable[source]
>>> list(iter_batch([1,2,3,4,5], 3))
[[1, 2, 3], [4, 5]]

Qdrant

了解更多关于 Qdrant 向量搜索项目和生态系统的信息

探索 Qdrant

相似性学习

探索使用相似性学习解决实际问题

学习相似性学习

社区

找到遇到类似问题的人并获得答案

加入社区