Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageInput

An input object that includes the input text.

Hierarchy

  • MessageInput

Index

Properties

Optional entities

entities: RuntimeEntity[]

Entities to use when evaluating the message. Include entities from the previous response to continue using those entities rather than detecting entities in the new input.

Optional intents

intents: RuntimeIntent[]

Intents to use when evaluating the user input. Include intents from the previous response to continue using those intents rather than trying to recognize intents in the new input.

Optional message_type

message_type: string

The type of the message:

  • text: The user input is processed normally by the assistant.

  • search: Only search results are returned. (Any dialog or actions skill is bypassed.)

  • Note:* A search message results in an error if no search skill is configured for the assistant.

Optional options

Optional properties that control how the assistant responds.

Optional suggestion_id

suggestion_id: string

For internal use only.

Optional text

text: string

The text of the user input. This string cannot contain carriage return, newline, or tab characters.

Generated using TypeDoc