LLM识别不了文档提取器输出的数据 #6786

Closed
opened 2026-02-21 18:17:17 -05:00 by yindo · 2 comments
Owner

Originally created by @Vampxgg on GitHub (Nov 15, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.11.0

Cloud or Self Hosted

Cloud

Steps to reproduce

2fbc8734-b19e-436d-95ab-12d91889126d

✔️ Expected Behavior

文档提取器将PPT的内容提取出来之后流入llm中进行数据处理。

Actual Behavior

报了个不知道什么的错误。

Originally created by @Vampxgg on GitHub (Nov 15, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.11.0 ### Cloud or Self Hosted Cloud ### Steps to reproduce ![2fbc8734-b19e-436d-95ab-12d91889126d](https://github.com/user-attachments/assets/cdce886a-4ac0-4f2e-866f-564f3f57234b) ### ✔️ Expected Behavior 文档提取器将PPT的内容提取出来之后流入llm中进行数据处理。 ### ❌ Actual Behavior 报了个不知道什么的错误。
yindo added the 🐞 bug label 2026-02-21 18:17:17 -05:00
yindo closed this issue 2026-02-21 18:17:17 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 15, 2024):

The issue you're experiencing, where the LLM is unable to recognize the data output from the document extractor in Dify version 0.11.0, is likely because LLMs cannot directly read or interpret document contents. The document extractor node is essential for parsing and converting document content into text that the LLM can process. Without this conversion, the LLM cannot access or understand the file data [1][2].

If you're encountering an error, it might be related to common issues with the document extractor node, such as FileDownloadError, UnsupportedFileTypeError, or TextExtractionError. These errors can occur due to problems with file downloading, unsupported file types, or issues during text extraction [3][4].

For a similar discussion, you might want to check out this thread on GitHub, which discusses an "Invalid variable" error, although it remains unsolved [5].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Nov 15, 2024): <!-- Answer --> The issue you're experiencing, where the LLM is unable to recognize the data output from the document extractor in Dify version 0.11.0, is likely because LLMs cannot directly read or interpret document contents. The document extractor node is essential for parsing and converting document content into text that the LLM can process. Without this conversion, the LLM cannot access or understand the file data <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/en/workshop/intermediate/article-reader.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/node/doc-extractor.md)</sup>. If you're encountering an error, it might be related to common issues with the document extractor node, such as `FileDownloadError`, `UnsupportedFileTypeError`, or `TextExtractionError`. These errors can occur due to problems with file downloading, unsupported file types, or issues during text extraction <sup>[[3]](https://github.com/langgenius/dify/blob/main/api/core/workflow/nodes/document_extractor/exc.py)</sup><sup>[[4]](https://github.com/langgenius/dify/blob/main/api/core/workflow/nodes/document_extractor/node.py)</sup>. For a similar discussion, you might want to check out [this thread](https://github.com/langgenius/dify/discussions/8611) on GitHub, which discusses an "Invalid variable" error, although it remains unsolved <sup>[[5]](https://github.com/langgenius/dify/discussions/8611)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Nov 15, 2024):

I confirm that I am using English to submit this report (我已阅读并同意 https://github.com/langgenius/dify/issues/1542).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)

@crazywoola commented on GitHub (Nov 15, 2024): I confirm that I am using English to submit this report (我已阅读并同意 https://github.com/langgenius/dify/issues/1542). [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6786