Data Streaming
Data Objects
Object
4min
this object should contain the information of the context under which an action is being performed by a user context should contain the following attributes in a json formatted object attribute name description type required name name of the object this can include the definitions of the objects used by the application string yes type client defined type of the object string yes attributes json formatted object properties json no example "object" {"type" "television", "name" "samsung", "attributes" {"model" "xyz123", "item price" "$1299", "screen" "60 inches"} }} enabling ai driven semantic search on your objects qualetics offers ai models for different scenarios for websites that deal with products and content, a search feature is vital to provide the most relevant information to users semantic search uses natural language processing to provide results based on the meaning of a user's query instead of relying solely on keywords for example, a query for "hdtv models with high resolution" would return results for tvs with 1080p or 4k resolutions in order to enable such functionality on your objects, a few additional steps are required while declaring your them specifically, a few key predefined attributes need to be added to the "attributes" section the additional attributes and their data types are objectid string description string indexforsearch boolean object definition (for semantic search) attribute name description type required name name of the object this can include the definitions of the objects used by the application string yes type client defined type of the object string yes attributes objectid string description string indexforsearch boolean any additional attributes as needed json yes example object definition for enabling semantic search "object" {"type" "television", "name" "samsung", "attributes" {"objectid" "123", "description" "xyz 123 is the latest in the line ultra 4k television that can render images in the highest resolution possible", "indexforsearch" true, "model" "xyz 123", "item price" "$1299", "screen" "60 inches"} }}