made base file knowledge source an abstract class

This commit is contained in:
Lorenze Jay
2024-12-03 10:57:58 -08:00
parent 8d7b0de732
commit c1c79b1f8f
7 changed files with 11 additions and 11 deletions

View File

@@ -10,7 +10,6 @@ class JSONKnowledgeSource(BaseFileKnowledgeSource):
def load_content(self) -> Dict[Path, str]:
"""Load and preprocess JSON file content."""
super().load_content() # Validate the file path
paths = [self.file_path] if isinstance(self.file_path, Path) else self.file_path
content: Dict[Path, str] = {}