Synonyms

Replace user's text query input based on certain criteria for Multi Search API

Data structureDescription
rootA text that represents the same meaning as the list of synonyms
synonymsA list of text to be replaced with root

Example request

curl 'https://multimodal.search.rezolve.com/v1/product/multisearch?placement_id=xxx&app_key=xxx&q=xxx' \
--form 'syn_rules="[
    {
        \"root\": \"loose fit jeans\",
        \"synonyms\":
        [
            \"wide jeans\",
            \"baggy jeans\"
        ]
    }
]"'