增加标题增强文档功能

This commit is contained in:
weiweiw 2025-01-13 16:21:16 +08:00
parent 700a7c7298
commit 91edb76bc3
1 changed files with 2 additions and 0 deletions

View File

@ -387,7 +387,9 @@ class KnowledgeFile:
if not docs:
return []
if self.ext not in [".csv"]:
logger.info(f"self.ext not in csv")
if text_splitter is None:
logger.info(f"text_splitter is None")
text_splitter = make_text_splitter(
splitter_name=self.text_splitter_name,
chunk_size=chunk_size,