UpdateKbOperationDTO Class

Contains list of QnAs to be updated.

Inheritance
UpdateKbOperationDTO

Constructor

UpdateKbOperationDTO(*, add=None, delete=None, update=None, enable_hierarchical_extraction: bool = None, default_answer_used_for_extraction: str = None, **kwargs) -> None

Parameters

add
UpdateKbOperationDTOAdd
Required

An instance of CreateKbInputDTO for add operation

delete
UpdateKbOperationDTODelete
Required

An instance of DeleteKbContentsDTO for delete Operation

update
UpdateKbOperationDTOUpdate
Required

An instance of UpdateKbContentsDTO for Update Operation

enable_hierarchical_extraction
bool
Required

Enable hierarchical extraction of Q-A from files and urls. The value set during KB creation will be used if this field is not present.

default_answer_used_for_extraction
str
Required

Text string to be used as the answer in any Q-A which has no extracted answer from the document but has a hierarchy. Required when EnableHierarchicalExtraction field is set to True.