Replies: 1 comment
-
|
Hi @shone5499! I'm Dosu and I'm helping the Dify team. This does appear to be a legitimate bug. I've confirmed in the source code that the
The same inconsistency exists in When Notably, there's also a related issue #38079 that reports segment attachment images being indexed as text instead of multimodal vectors — a different but related multimodal indexing bug [5]. I didn't find an existing issue or PR that specifically addresses this missing To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Hello Dify team and community!
I am testing the multimodal vectorization retrieval feature in the pipeline knowledge base of Dify version 1.14.2. The index mode in the pipeline knowledge base is set to "High Quality" mode, the Embedding model is configured as multimodal_embedding_v1, and the retrieval setting uses vector retrieval.
After successfully vectorizing an uploaded file that contains images, I performed a recall test by uploading an image, but it failed to match the corresponding paragraphs.
Upon investigation, I found that no corresponding file records were created in the segment_attachment_bindings table. Further debugging revealed that in the index function within paragraph_index_processor.py, under the line if isinstance(chunks, list):, the call self._get_content_files(doc) does not pass the current_user parameter. This causes the code inside the if block within the _get_content_files function to be skipped when the file path is in the format /files/tools/xxxx. c
code:
paragraph_index_processor.py
index_process_base.py
Is this a bug, or is it intentionally implemented this way?
2. Additional context or comments
In parent_child_index_processor.py,there has the same code too! code :self._get_content_files(document) no current_user parameter!

Beta Was this translation helpful? Give feedback.
All reactions