feat: multimodal RAG with PDF image extraction and display

Extract images from PDFs using pymupdf, generate descriptions via
Qwen3-VL-8B, store in ChromaDB alongside text chunks, and render
images in chat answers. Includes image proxy rewrite, force re-process
endpoint, and VLM API timeout.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 12:14:40 +08:00
parent 3f12e96ea0
commit 4bb50ae9c1
15 changed files with 351 additions and 40 deletions
+2
View File
@@ -19,6 +19,7 @@ build/
node_modules/
.next/
out/
*.tsbuildinfo
# 运行时数据
runtime/
@@ -33,6 +34,7 @@ generated_images/
# 数据目录中的运行时文件(保留源文件如 .tex)
data/database/
data/knowledge_base/
data/images/
# LaTeX 中间文件
*.aux