ソースを参照

fix: remove empty segment in splitter (#68)

tags/0.2.2
John Wang 2年前
コミット
0587ff0fba
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更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

読み込み中…
キャンセル
保存