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