UpdateQnaDTO Class

PATCH Body schema for Update Qna List.

Inheritance
UpdateQnaDTO

Constructor

UpdateQnaDTO(*, id: Optional[int] = None, answer: Optional[str] = None, source: Optional[str] = None, questions=None, metadata=None, context=None, **kwargs)

Parameters

id
int
Required

Unique id for the Q-A

answer
str
Required

Answer text

source
str
Required

Source from which Q-A was indexed. eg. https://docs.microsoft.com/en-us/azure/cognitive-services/QnAMaker/FAQs

questions
UpdateQnaDTOQuestions
Required

List of questions associated with the answer.

metadata
UpdateQnaDTOMetadata
Required

List of metadata associated with the answer to be updated

context
UpdateQnaDTOContext
Required

Context associated with Qna to be updated.