check_document_exist

Function

Checks whether a document has been added to a knowledge base by calling KnowledgeStore.check_document_exist.

Prototype

def check_document_exist(doc_name)

Parameters

Parameter

Data Type

Required/Optional

Description

doc_name

str

Required

Document name. The length range is [1, 1024].

Return Value

Data Type

Description

bool

Whether a document exists.