Document Store Issue? #6443
Unanswered
divyanshues134-arch
asked this question in
Q&A
Replies: 1 comment
-
|
You need to check if the document processing service is running correctly and ensure it's not stuck. // Check document processing status
const checkDocumentStatus = async (documentId) => {
try {
const response = await fetch(`/api/documents/${documentId}/status`);
const status = await response.json();
console.log(status);
} catch (error) {
console.error('Error checking document status:', error);
}
};
// Example usage
checkDocumentStatus('your-document-id');This code checks the document's processing status by calling the relevant API endpoint. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have uploaded the document in document store. But it's still showing some files are still processing. As a result i am unable to upsert chunks. What do i do?

Beta Was this translation helpful? Give feedback.
All reactions