UpdateQnaDTOContext Class

Context associated with Qna to be updated.

Inheritance
UpdateQnaDTOContext

Constructor

UpdateQnaDTOContext(**kwargs)

Parameters

prompts_to_delete
list[int]
Required

List of prompts associated with qna to be deleted

prompts_to_add
list[PromptDTO]
Required

List of prompts to be added to the qna.

is_context_only
bool
Required

To mark if a prompt is relevant only with a previous question or not. true - Do not include this QnA as search result for queries without context false - ignores context and includes this QnA in search result