Skip to main content
Version: 0.93

templates.MultipolarImageTextComparatorTemplateSchema

class templates.MultipolarImageTextComparatorTemplateSchema(*args, **kwargs)

Multipolar Image Text Comparator template

Parameters

NameTypeDefaultInfo
image_embedding_fieldstrField containing the image embedding.
text_querystrText query.
labelstrLabel.
pos_thresholdfloat0.5Positive threshold similarity. Datapoints with similarity greater than or equal are voted positive.
neg_thresholdfloat-0.5Negative threshold similarity. Datapoints with similarity less than or equal are voted negative.
invert_votesboolWhether to invert the votes.