templates.ImageImageComparatorTemplateSchema
- class templates.ImageImageComparatorTemplateSchema(*args, **kwargs)
Image Image Comparator template
- Parameters:
image_embedding_field (str) – Field containing the image embedding
image_path (str) – Image path
operator (string, default >=) – Operator
min_similarity (float, default 0.5) – Minimum similarity threshold
- static artifact_config_keys()
The names of the fields in the template schema pydantic model that represent paths to files or directories that contain data which back the LF template. For example, paths to a dictionary on disk that’s used within an LF.
- Return type:
List
[str
]