kernel-memory icon indicating copy to clipboard operation
kernel-memory copied to clipboard

[Question] Should document upload status endpoint signal when the files were ignored by the text extractor?

Open amomra opened this issue 1 year ago • 0 comments

Context / Scenario

We want to use kernel memory as document repository for our chatbot

Question

While working on issue #303 I uploaded some DOC files that should be ignored by the text extractor. After calling the upload status endpoint for the document created for those files (or other unsupported format as I tested later) it returns the following JSON:

{
    "completed": true,
    "failed": false,
    "empty": false,
}

Shouldn't the return of this call signal that the files of the document were ignored? Should at least the empty value setted as true since no embedding were generated for this document?

amomra avatar Mar 13 '24 11:03 amomra