make save_documents private

This commit is contained in:
Brandon Hancock
2024-12-05 14:18:21 -05:00
parent 55e4ab68a3
commit 6cb40ea6e3
9 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ class CSVKnowledgeSource(BaseFileKnowledgeSource):
)
new_chunks = self._chunk_text(content_str)
self.chunks.extend(new_chunks)
self.save_documents()
self._save_documents()
def _chunk_text(self, text: str) -> List[str]:
"""Utility method to split text into chunks."""