✨ Add support for new filetypes#2429
Open
yzAiden wants to merge 1 commit intoModelEngine-Group:developfrom
Open
✨ Add support for new filetypes#2429yzAiden wants to merge 1 commit intoModelEngine-Group:developfrom
yzAiden wants to merge 1 commit intoModelEngine-Group:developfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
一、功能:
1.提升数据清洗能力:支持.epub, .html, .csv, .json, .xml文件类型的清洗和检索。
二、设计:
1.所有新增文件类型均由UnstructuredProcessor进行处理。
2..epub, .html, .csv, .xml类型文件与现有处理逻辑完全一致。
3.对json类型文件的分片进行单独设计,方式为优先将 JSON 解析为文本并在不破坏最外层 key-value 语义的前提下按长度切分,无法安全按 KV 切分时退化为按标点的纯文本切分,解析失败则直接按纯文本策略分片。其余流程与现有处理方式一致。
三、主要改动的位置:
1.sdk/nexent/data_process
四、相关issue引用
#2258