Data Machines
...
Models Supported by Data Machi...
Activity Models
Find Duplicates
6min
this model provides a deduplication solution for identifying duplicate entities such as person, contact, product or any other object from a given list this list can be provided using the data streaming docid\ vku08owje1j2 quxcf6 k integration any entity that is provided as part of the object docid\ l3qohcp0zpxzqtv7z4r6p data object with the required attributes is automatically included in the indexing required for serving this model please refer to the instructions provided in the object docid\ l3qohcp0zpxzqtv7z4r6p attribute configuration to prepare the data in the right format note data streaming docid\ vku08owje1j2 quxcf6 k integration is required for this model please complete the integration setup, verifying data connection docid 4iiuungko4l0wf64u ywk and ensure that the streaming is going live docid\ yuos evgre81ztel8fwdi before using this model model input parameters parameter name parameter type required input text yes object type text yes result count number no rest api example in this example, the input request is trying to check whether a product already exists in the catalog the input parameter can contain the exact name of the product but a variation of the name can be provided as well as seen in the example below in the first input example, the exact name of the product is provided and in the second example the name or the search input is being changed slightly example 1 find exact match var settings = { "url" "https //mlapi qualetics com/api/datamachine/init?id=\<datamachine id>", "method" "post", "headers" { //add authorization headers here "content type" "application/json" }, "data" json stringify({ "input" "burdy graphic print mens polo neck dark blue", "object type" "product", "result count" "1" }), }; $ ajax(settings) done(function (response) { console log(response); }); example 2 find match based on similarity var settings = { "url" "https //mlapi qualetics com/api/datamachine/init?id=\<datamachine id>", "method" "post", "headers" { //add authorization headers here "content type" "application/json" }, "data" json stringify({ "input" "burdy graphic mens polo neck blue", "object type" "product", "result count" "1" }), }; $ ajax(settings) done(function (response) { console log(response); }); model output result parameter name parameter type info results dictionary the full list of results based on the result count parameter provided top result dictionary the top result with the highest similarity score from the list of results highest confidence number value of the highest confidence result rest api output example example 1 response find exact match { "input" "burdy graphic print mens polo neck dark blue", "original input" "burdy graphic print mens polo neck dark blue", "results" \[ { "id" "f1da4797641bce932673f4b1127b859e", "result" "(burdy,f1da4797641bce932673f4b1127b859e,key features of burdy graphic print mens polo neck dark blue t shirt fit regular fit suitable for western wear sleeve half sleeve fabric dry fit ", "similarity" 94 39 } ], "top result" "(burdy,f1da4797641bce932673f4b1127b859e,key features of burdy graphic print mens polo neck dark blue t shirt fit regular fit suitable for western wear sleeve half sleeve fabric dry fit ", "highest confidence" 94 39, "logging" true, "final result" \[ { "id" "f1da4797641bce932673f4b1127b859e", "result" "(burdy,f1da4797641bce932673f4b1127b859e,key features of burdy graphic print mens polo neck dark blue t shirt fit regular fit suitable for western wear sleeve half sleeve fabric dry fit ", "similarity" 94 39 } ], "sessionid" "49fd717f d594 4fa0 b53b 54da621a1e77", "status" "completed" } example 2 response find match based on similarity { "input" "burdy graphic mens polo neck blue", "original input" "burdy graphic mens polo neck blue", "results" \[ { "id" "f1da4797641bce932673f4b1127b859e", "result" "(burdy,f1da4797641bce932673f4b1127b859e,key features of burdy graphic print mens polo neck dark blue t shirt fit regular fit suitable for western wear sleeve half sleeve fabric dry fit ", "similarity" 93 27 } ], "top result" "(burdy,f1da4797641bce932673f4b1127b859e,key features of burdy graphic print mens polo neck dark blue t shirt fit regular fit suitable for western wear sleeve half sleeve fabric dry fit ", "highest confidence" 93 27, "logging" true, "final result" \[ { "id" "f1da4797641bce932673f4b1127b859e", "result" "(burdy,f1da4797641bce932673f4b1127b859e,key features of burdy graphic print mens polo neck dark blue t shirt fit regular fit suitable for western wear sleeve half sleeve fabric dry fit ", "similarity" 93 27 } ], "sessionid" "dc0d9078 7887 4525 83a3 742648929ef0", "status" "completed" } standard output parameters every model execution output consists of the following standard output parameters input the input string required for the model to extract the categories original input this is the input provided to the first step in model which is retained across multiple steps in a data machine workflow final result the result of the model executed in the final step of the data machine workflow sessionid a unique session id that is generated for every execution of a data machine which can be used to retain results across multiple sessions status the result of the data machine execution if all of the steps in a sequence are successfully executed, a value of "completed" is provided if the execution is interrupted at any point, a value of "terminated" is provided with the reason for termination