mjschock's picture
Refactor agent structure by modularizing agent implementations into separate directories for web, data analysis, and media agents. Remove legacy code from agents.py, prompts.py, and tools.py, enhancing maintainability. Update main_v2.py to reflect new import paths and agent initialization. Add new tools for enhanced functionality, including web searching and data extraction. Update requirements.txt to include necessary dependencies for new tools.
837e221 unverified
raw
history blame
560 Bytes
from .wikipedia_rag import WikipediaRAGTool
from .web_search import web_search
from .browse_webpage import browse_webpage
from .analyze_image import analyze_image
from .read_pdf import read_pdf
from .parse_csv import parse_csv
from .find_in_page import find_in_page
from .extract_dates import extract_dates
from .perform_calculation import perform_calculation
__all__ = [
'WikipediaRAGTool',
'web_search',
'browse_webpage',
'analyze_image',
'read_pdf',
'parse_csv',
'find_in_page',
'extract_dates',
'perform_calculation'
]