UpdateKbContentsDTO Class

PATCH body schema for Update operation in Update Kb.

Inheritance
UpdateKbContentsDTO

Constructor

UpdateKbContentsDTO(*, name: Optional[str] = None, qna_list=None, urls=None, default_answer: Optional[str] = None, **kwargs)

Parameters

name
str
Required

Friendly name for the knowledgebase.

qna_list
list[UpdateQnaDTO]
Required

List of Q-A (UpdateQnaDTO) to be added to the knowledgebase.

urls
list[str]
Required

List of existing URLs to be refreshed. The content will be extracted again and re-indexed.

default_answer
str
Required

Default answer sent to user if no good match is found in the KB.