PromptDTO Class

Prompt for an answer.

Inheritance
PromptDTO

Constructor

PromptDTO(**kwargs)

Parameters

display_order
int
Required

Index of the prompt - used in ordering of the prompts

qna_id
int
Required

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

qna
PromptDTOQna
Required

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

display_text
str
Required

Text displayed to represent a follow up question prompt