Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OutputData

An output object that includes the response to the user, the dialog nodes that were triggered, and messages from the log.

Hierarchy

  • OutputData

Indexable

[propName: string]: any

OutputData accepts additional properties.

Index

Properties

Optional generic

Output intended for any channel. It is the responsibility of the client application to implement the supported response types.

log_messages

log_messages: LogMessage[]

An array of up to 50 messages logged with the request.

Optional nodes_visited

nodes_visited: string[]

An array of the nodes that were triggered to create the response, in the order in which they were visited. This information is useful for debugging and for tracing the path taken through the node tree.

Optional nodes_visited_details

nodes_visited_details: DialogNodeVisitedDetails[]

An array of objects containing detailed diagnostic information about the nodes that were triggered during processing of the input message. Included only if nodes_visited_details is set to true in the message request.

text

text: string[]

An array of responses to the user.

Generated using TypeDoc