Document Extractor with xlsx #12425

Closed
opened 2026-02-21 19:07:20 -05:00 by yindo · 2 comments
Owner

Originally created by @nicho2 on GitHub (Apr 1, 2025).

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

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Have an excel file multi sheet

try the extraction,

✔️ Expected Behavior

I think , it's necessary the sheet name is extract too (as a title)

Actual Behavior

The sheet name is not extract

Originally created by @nicho2 on GitHub (Apr 1, 2025). ### 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 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Have an excel file multi sheet try the extraction, ### ✔️ Expected Behavior I think , it's necessary the sheet name is extract too (as a title) ### ❌ Actual Behavior The sheet name is not extract
yindo closed this issue 2026-02-21 19:07:20 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 1, 2025):

The current implementation of the document extractor in Dify does not explicitly include sheet names as part of the extracted data. While the extraction process iterates over each sheet to extract data, the sheet names are not included in the metadata of the Document instances created during this process [1].

If you want to include sheet names as titles in the extracted data, you might need to modify the extraction logic to append or include the sheet name in the Document metadata or content.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 1, 2025): <!-- Answer --> The current implementation of the document extractor in Dify does not explicitly include sheet names as part of the extracted data. While the extraction process iterates over each sheet to extract data, the sheet names are not included in the metadata of the `Document` instances created during this process <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/core/rag/extractor/excel_extractor.py)</sup>. If you want to include sheet names as titles in the extracted data, you might need to modify the extraction logic to append or include the sheet name in the `Document` metadata or content. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/defd4e40-b868-497a-89e6-e8bea56c8eb1?feedback_type=other)</sup>
Author
Owner
@crazywoola commented on GitHub (Apr 1, 2025): https://github.com/langgenius/dify/blob/0277a37fcad5ad86aeb239485c27fffd5cd90043/CONTRIBUTING.md#L23-L33
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12425