增加标题增强文档功能
This commit is contained in:
parent
700a7c7298
commit
91edb76bc3
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue