Data Machines
...
Models Supported by Data Machi...
Activity Models
Semantic Search
5 min
this model can be used to perform a search using a natural language query on object docid\ l3qohcp0zpxzqtv7z4r6p data ingested using qualetics data streaming docid\ vku08owje1j2 quxcf6 k in order to use this task, data streaming needs to be completed in order to return successful results, the data being streamed will need to include the information required for indexing in the object docid\ l3qohcp0zpxzqtv7z4r6p data object as part of the object attributes the model is ready to return results immediately after successful streaming of the data the results are provided as a list of items matching the input query 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 info input text yes the search term based on which the search will be performed object type text yes type of the object being searched this value needs to match the object type included in the object docid\ l3qohcp0zpxzqtv7z4r6p data object result count number rest api input example var settings = { "url" "https //mlapi qualetics com/api/datamachine/init?id=\<datamachine id>", "method" "post", "timeout" 0, "headers" { //add authorization headers here "content type" "application/json" }, "data" json stringify({ "input" "men's shoes", "result count" 3 }), }; $ ajax(settings) done(function (response) { console log(response); }); model output result parameter name parameter type results json array top result dictionary highest confidence number rest api output example { "input" "men's running shoes", "original input" "men's running shoes", "results" \[ { "id" "8055828154db43d7137cb26b978fcb8f", "result" "({\\"brand\\" \\"canmp\\",\\"objectid\\" \\"8055828154db43d7137cb26b978fcb8f\\",\\"description\\" \\"key features of canmp running shoes material mesh occasion sports color grey, orange heel height 0 5,specifications of canmp running shoes general ideal for boys occasion sports shoe details sole material pu closure laced tip shape round weight 300 g (per single shoe) weight of the product may vary depending on size heel height 0 5 inch outer material mesh color grey\\",\\"product name\\" \\"canmp running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"canmp running shoes\\",\\"product category tree\\" \\"footwear >> kids & infant footwear >> for boys >> sports shoes >> canmp running shoes\\"}", "similarity" 84 54 }, { "id" "e4bbb98fc9386ffe75ef4d39e11c10f3", "result" "({\\"brand\\" \\"asics\\",\\"objectid\\" \\"e4bbb98fc9386ffe75ef4d39e11c10f3\\",\\"description\\" \\"key features of asics gel kayano 22 running shoes comfordry\‚\ñ\¢ lasting this lasting material features plush underfoot comfort while providing excellent moisture management and a high level of breathability \\",\\"product name\\" \\"asics gel kayano 22 running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"asics gel kayano 22 running shoes\\",\\"product category tree\\" \\"asics gel kayano 22 running shoes\\"}", "similarity" 83 96 }, { "id" "aa82d80cd54f7f0eee7a470dc44c49e4", "result" "({\\"brand\\" \\"adiwalk\\",\\"objectid\\" \\"aa82d80cd54f7f0eee7a470dc44c49e4\\",\\"description\\" \\"key features of adiwalk atom running shoes material mesh occasion sports color multicolor heel height 1 5,adiwalk atom running shoes price $599 adiwalk is one of the leading brands offering a wide variety of footwear at attractive prices \\",\\"product name\\" \\"adiwalk atom running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"adiwalk atom running shoes\\",\\"product category tree\\" \\"footwear >> mens footwear >> sports shoes >> adiwalk sports shoes >> adiwalk atom running shoes\\"}", "similarity" 83 48 }, { "id" "f2cd1a41adebbfba0cdb822b74a9e525", "result" "({\\"brand\\" \\"action shoes\\",\\"objectid\\" \\"f2cd1a41adebbfba0cdb822b74a9e525\\",\\"description\\" \\"key features of action shoes slippers ideal for men sole material pu,action shoes slippers price $349 keep your feet happy and look stylish at the same time, by wearing these slippers from action shoes \\",\\"product name\\" \\"action shoes slippers\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"action shoes slippers\\",\\"product category tree\\" \\"footwear >> mens footwear >> slippers & flip flops >> action shoes slippers & flip flops >> action shoes slippers\\"}", "similarity" 81 56 }, { "id" "0f2daee82e04bd8775380196ae032310", "result" "({\\"brand\\" \\"action shoes\\",\\"objectid\\" \\"0f2daee82e04bd8775380196ae032310\\",\\"description\\" \\"key features of action shoes flip flops ideal for men sole material eva,action shoes flip flops price $249 keep your feet happy and look stylish at the same time, by wearing these slippers from action shoes \\",\\"product name\\" \\"action shoes flip flops\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"action shoes flip flops\\",\\"product category tree\\" \\"footwear >> mens footwear >> slippers & flip flops >> action shoes slippers & flip flops >> action shoes flip flops\\"}", "similarity" 80 83 } ], "top result" "({\\"brand\\" \\"canmp\\",\\"objectid\\" \\"8055828154db43d7137cb26b978fcb8f\\",\\"description\\" \\"key features of canmp running shoes material mesh occasion sports color grey, orange heel height 0 5,specifications of canmp running shoes general ideal for boys occasion sports shoe details sole material pu closure laced tip shape round weight 300 g (per single shoe) weight of the product may vary depending on size heel height 0 5 inch outer material mesh color grey\\",\\"product name\\" \\"canmp running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"canmp running shoes\\",\\"product category tree\\" \\"footwear >> kids & infant footwear >> for boys >> sports shoes >> canmp running shoes\\"}", "highest confidence" 84 54, "logging" true, "final result" \[ { "id" "8055828154db43d7137cb26b978fcb8f", "result" "({\\"brand\\" \\"canmp\\",\\"objectid\\" \\"8055828154db43d7137cb26b978fcb8f\\",\\"description\\" \\"key features of canmp running shoes material mesh occasion sports color grey, orange heel height 0 5,specifications of canmp running shoes general ideal for boys occasion sports shoe details sole material pu closure laced tip shape round weight 300 g (per single shoe) weight of the product may vary depending on size heel height 0 5 inch outer material mesh color grey\\",\\"product name\\" \\"canmp running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"canmp running shoes\\",\\"product category tree\\" \\"footwear >> kids & infant footwear >> for boys >> sports shoes >> canmp running shoes\\"}", "similarity" 84 54 }, { "id" "e4bbb98fc9386ffe75ef4d39e11c10f3", "result" "({\\"brand\\" \\"asics\\",\\"objectid\\" \\"e4bbb98fc9386ffe75ef4d39e11c10f3\\",\\"description\\" \\"key features of asics gel kayano 22 running shoes comfordry\‚\ñ\¢ lasting this lasting material features plush underfoot comfort while providing excellent moisture management and a high level of breathability \\",\\"product name\\" \\"asics gel kayano 22 running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"asics gel kayano 22 running shoes\\",\\"product category tree\\" \\"asics gel kayano 22 running shoes\\"}", "similarity" 83 96 }, { "id" "aa82d80cd54f7f0eee7a470dc44c49e4", "result" "({\\"brand\\" \\"adiwalk\\",\\"objectid\\" \\"aa82d80cd54f7f0eee7a470dc44c49e4\\",\\"description\\" \\"key features of adiwalk atom running shoes material mesh occasion sports color multicolor heel height 1 5,adiwalk atom running shoes price $599 adiwalk is one of the leading brands offering a wide variety of footwear at attractive prices \\",\\"product name\\" \\"adiwalk atom running shoes\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"adiwalk atom running shoes\\",\\"product category tree\\" \\"footwear >> mens footwear >> sports shoes >> adiwalk sports shoes >> adiwalk atom running shoes\\"}", "similarity" 83 48 }, { "id" "f2cd1a41adebbfba0cdb822b74a9e525", "result" "({\\"brand\\" \\"action shoes\\",\\"objectid\\" \\"f2cd1a41adebbfba0cdb822b74a9e525\\",\\"description\\" \\"key features of action shoes slippers ideal for men sole material pu,action shoes slippers price $349 keep your feet happy and look stylish at the same time, by wearing these slippers from action shoes \\",\\"product name\\" \\"action shoes slippers\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"action shoes slippers\\",\\"product category tree\\" \\"footwear >> mens footwear >> slippers & flip flops >> action shoes slippers & flip flops >> action shoes slippers\\"}", "similarity" 81 56 }, { "id" "0f2daee82e04bd8775380196ae032310", "result" "({\\"brand\\" \\"action shoes\\",\\"objectid\\" \\"0f2daee82e04bd8775380196ae032310\\",\\"description\\" \\"key features of action shoes flip flops ideal for men sole material eva,action shoes flip flops price $249 keep your feet happy and look stylish at the same time, by wearing these slippers from action shoes \\",\\"product name\\" \\"action shoes flip flops\\",\\"indexforsearch\\" \\"true\\",\\"product objectname\\" \\"action shoes flip flops\\",\\"product category tree\\" \\"footwear >> mens footwear >> slippers & flip flops >> action shoes slippers & flip flops >> action shoes flip flops\\"}", "similarity" 80 83 } ], "sessionid" "e6866cb8 42fb 46e7 9622 d708b453bbec", "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