mahadewa commited on
Commit
42d2bfc
·
verified ·
1 Parent(s): a4a95ff

Create file_analyzer.py

Browse files
Files changed (1) hide show
  1. file_analyzer.py +12 -0
file_analyzer.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Dict, Any, List, Optional, Tuple
2
+ from base_agent import BaseAgent
3
+
4
+ class FileAnalyzer(BaseAgent):
5
+ def __init__(self, model: str):
6
+ super().__init__(model=model)
7
+
8
+ def __call__(self, question: str, file_name: str, **kwargs) -> str:
9
+ print(f"FileAnalyzer analyzing file: {file_name}")
10
+
11
+ return None
12
+