Skip to main content

Posts

What is LUIS -- Useful notes

What is Luis The LUIS app provides intelligence so the client application can make smart choices. LUIS doesn't provide those choices. Points to be noted: After the model is built and published to the endpoint, the client application sends utterances to the published prediction  endpoint  API. The API applies the model to the text for analysis. The API responds with the prediction results in a JSON format. The minimum JSON endpoint response contains the query utterance, and the top scoring intent. It can also extract data such as the following Contact Type entity. Improve model prediction:After a LUIS model is published and receives real user utterances, LUIS provides several methods to improve prediction accuracy:  active learning  of endpoint utterances,  phrase lists  for domain word inclusion, and  patterns  to reduce the number of utterances needed. Query the en...
Recent posts

Postman Scripts

Important scripts required in postman to set environment variable value 1. if response is in xml and want to set value then first need to convert in JSON var responseJson = xml2Json(responseBody); pm.environment.set("osession", responseJson.oAuthResponse.access_token); 2.if response is in XML and key: value pair is in array  var jsonData = pm.response.json(); postman.setEnvironmentVariable('lastModifiedDate',jsonData.entryPointConfiguration[0].lastModified.date); 3. If want to set environment variable from JSON response.  var jsonData = pm.response.json(); postman.setEnvironmentVariable('conversationId',jsonData.id);

Javascript functions

1. FSCommand() The attacker can use this when executed from within an embedded Flash object. 2. onAbort() When a user aborts the loading of an image. 3. onActivate() When an object is set as the active element. 4. onAfterPrint() Activates after user prints or previews print job. 5. onAfterUpdate() Activates on data object after updating data in the source object. 6. onBeforeActivate() Fires before the object is set as the active element. 7. onBeforeCopy() The attacker executes the attack string right before a selection is copied to the clipboard. Attackers can do this with the execCommand”Copy” function. 8. onBeforeCut() The attacker executes the attack string right before a selection is cut. 9. onBeforeDeactivate() Fires right after the activeElement is changed from the current object. 10. onBeforeEditFocus() Fires before an object contained in an editable element enters a User Interface (UI)-activated state, or when an editable container object is control select...