templates.MultipolarImageTextComparatorTemplateSchema
- class templates.MultipolarImageTextComparatorTemplateSchema(*args, **kwargs)
Multipolar Image Text Comparator template
Parameters
Parameters
Name Type Default Info image_embedding_field str
Field containing the image embedding. text_query str
Text query. label str
Label. pos_threshold float
0.5
Positive threshold similarity. Datapoints with similarity greater than or equal are voted positive. neg_threshold float
-0.5
Negative threshold similarity. Datapoints with similarity less than or equal are voted negative. invert_votes bool
Whether to invert the votes.