UpdateContextDTO interface

Update Body schema to represent context to be updated

Properties

isContextOnly

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

promptsToAdd

List of prompts to be added to the qna.

promptsToDelete

List of prompts associated with qna to be deleted

Property Details

isContextOnly

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

isContextOnly?: boolean

Property Value

boolean

promptsToAdd

List of prompts to be added to the qna.

promptsToAdd?: PromptDTO[]

Property Value

promptsToDelete

List of prompts associated with qna to be deleted

promptsToDelete?: number[]

Property Value

number[]