本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
OpenSource
/
dify
關注
4
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
152
Wiki
活動
瀏覽代碼
fix: remove empty segment in splitter (
#68
)
tags/0.2.2
John Wang
2 年之前
父節點
ce492d13f1
當前提交
0587ff0fba
沒有連結到貢獻者的電子郵件帳戶。
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
顯示文件統計
1
1
api/core/indexing_runner.py
+ 1
- 1
api/core/indexing_runner.py
查看文件
@@ -343,7 +343,7 @@ class IndexingRunner:
# parse document to nodes
nodes = node_parser.get_nodes_from_documents([text_doc])
nodes = [node for node in nodes if node.text is not None and node.text.strip()]
all_nodes.extend(nodes)
return all_nodes
Write
Preview
Loading…
取消
儲存