Skip to main content

Events defined in the "witty" namespace

session-created​

This event is logged when a Witty chat session is created by the user.

JSON schema of the payload​

Loading ....

Example of payload​

{
"sessionId": "L8eXy6R3fP0zQ2nM4cV7kT9jB5hA1",
"query": "What is a data product?"
}

unhandled-question​

This event is logged when Witty can't handle the user's question.

JSON schema of the payload​

Loading ....

Example of payload​

{
"sessionId": "L8eXy6R3fP0zQ2nM4cV7kT9jB5hA1",
"query": "What is on TV tonight?"
}