PromptDTO interface

Prompt for an answer.

Properties

displayOrder

Index of the prompt - used in ordering of the prompts

displayText

Text displayed to represent a follow up question prompt

qna

QnADTO - Either QnaId or QnADTO needs to be present in a PromptDTO object

qnaId

Qna id corresponding to the prompt - if QnaId is present, QnADTO object is ignored.

Property Details

displayOrder

Index of the prompt - used in ordering of the prompts

displayOrder?: number

Property Value

number

displayText

Text displayed to represent a follow up question prompt

displayText?: string

Property Value

string

qna

QnADTO - Either QnaId or QnADTO needs to be present in a PromptDTO object

qna?: PromptDTOQna

Property Value

qnaId

Qna id corresponding to the prompt - if QnaId is present, QnADTO object is ignored.

qnaId?: number

Property Value

number