mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-08-04 00:51:07 -05:00
* new: add backbone for image support * new: convert b64 to pil, embed images, add test * tests: add test file * refactor: replace 3 different inference object vars with a common one * fix: fix type hints * fix: fix type hints * tests: add tests * fix: remove redundant imports * new: propagate image options * Custom inference object (#837) * new: add inference object support * new: add inference object support * fix: remove redundant import * refactor: return newline * fix: fix propagate options test
9 lines
319 B
Python
9 lines
319 B
Python
from typing import Set, Type, Tuple
|
|
|
|
from qdrant_client.http import models
|
|
|
|
INFERENCE_OBJECT_NAMES: Set[str] = {"Document", "Image", "InferenceObject"}
|
|
INFERENCE_OBJECT_TYPES: Tuple[
|
|
Type[models.Document], Type[models.Image], Type[models.InferenceObject]
|
|
] = (models.Document, models.Image, models.InferenceObject)
|