Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

fix: update knowledge-dropdown with pptx and xlsx file type support (#1437)

Edwin Josea41782c0cd30
diff --git a/frontend/components/knowledge-dropdown.tsx b/frontend/components/knowledge-dropdown.tsx
index 492e2f0d3..338485b80 100644
--- a/frontend/components/knowledge-dropdown.tsx
+++ b/frontend/components/knowledge-dropdown.tsx
@@ -66,6 +66,12 @@ export const SUPPORTED_FILE_TYPES = {
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
".docx",
],
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [
+ ".xlsx",
+ ],
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
+ ".pptx",
+ ],
"text/csv": [".csv"],
};