Skip to content

Commit 0129323

Browse files
author
Richard Kuo (Onyx)
committed
sentencesplitter has changed namespaces
1 parent c8efc45 commit 0129323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/onyx/indexing/chunker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def __init__(
135135
mini_chunk_size: int = MINI_CHUNK_SIZE,
136136
callback: IndexingHeartbeatInterface | None = None,
137137
) -> None:
138-
from llama_index.text_splitter import SentenceSplitter
138+
from llama_index.core.node_parser import SentenceSplitter
139139

140140
self.include_metadata = include_metadata
141141
self.chunk_token_limit = chunk_token_limit

0 commit comments

Comments
 (0)