Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NluContext

They represent the contexts that will be used by the NLU Engine for the next messages for that chat session.

The TTL (Time-To-Live) represents how long the contexts will be valid before they are automatically removed. For example, the default value of 1 will listen for that context only once (the next time the user speaks).

If a context was already present in the list, the higher TTL will win.

Hierarchy

  • NluContext

Index

Properties

Properties

context

context: string

ttl

ttl: number

Represent the number of turns before the context is removed from the session

Generated using TypeDoc