Data Machines
...
Models Supported by Data Machi...
Activity Models

Semantic Search

5min

This model can be used to perform a search using a natural language query on Object data ingested using Qualetics Data Streaming. 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 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 integration is required for this model. Please complete the integration setup, verify the data connection and ensure that the streaming is Live 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 data object.

result count

Number





Rest API Input Example

JS


Model Output Result

Parameter Name

Parameter Type

results

JSON Array

top result

Dictionary

highest confidence

Number

Rest API Output Example

JSON


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.