checkIfDocumentIsAlreadyIngested

abstract suspend fun checkIfDocumentIsAlreadyIngested(documentId: String, fileHash: String): AiAssistantRemoteClient.AiAssistantResponse<None>

Checks if a document is already ingested by verifying its ID and file hash.

Return

The result of the check operation.

Parameters

documentId

The ID of the document.

fileHash

The hash of the file.