Replace user's text query input based on certain criteria for Multi Search API
| Data structure | Description |
|---|---|
root | A text that represents the same meaning as the list of synonyms |
synonyms | A 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\"
]
}
]"'