Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: video parser should follow selected VLM in pipeline (#10900)

Yongteng Lei5f65c7f48ed6
diff --git a/rag/flow/parser/parser.py b/rag/flow/parser/parser.py
index b0b5da2cc2..836481f1e3 100644
--- a/rag/flow/parser/parser.py
+++ b/rag/flow/parser/parser.py
@@ -431,7 +431,7 @@ class Parser(ProcessBase):
conf = self._param.setups["video"]
self.set_output("output_format", conf["output_format"])
- cv_mdl = LLMBundle(self._canvas.get_tenant_id(), LLMType.IMAGE2TEXT)
+ cv_mdl = LLMBundle(self._canvas.get_tenant_id(), LLMType.IMAGE2TEXT, llm_name=conf["llm_id"])
txt = cv_mdl.chat(system="", history=[], gen_conf={}, video_bytes=blob, filename=name)
self.set_output("text", txt)