RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Add MIME types for PPT and PPTX files (#12562)
LIRUI YU41c84fd78fa0
diff --git a/api/utils/web_utils.py b/api/utils/web_utils.pyindex 11e8428b77..c13889be23 100644--- a/api/utils/web_utils.py+++ b/api/utils/web_utils.py@@ -86,6 +86,9 @@ CONTENT_TYPE_MAP = {"ico": "image/x-icon","avif": "image/avif","heic": "image/heic",+ # PPTX+ "ppt": "application/vnd.ms-powerpoint",+ "pptx": "application/vnd.openxmLformats-officedocument.presentationml.presentation",}@@ -239,4 +242,4 @@ def hash_code(code: str, salt: bytes) -> str:def captcha_key(email: str) -> str:return f"captcha:{email}"-\ No newline at end of file+