Agents team bug fixes

This commit is contained in:
ajaysi
2024-05-07 10:51:47 +05:30
parent 07247fe08e
commit f3f6d5e29c
6 changed files with 7 additions and 17 deletions

View File

@@ -35,7 +35,7 @@ from clint.textui import progress
#from serpapi import GoogleSearch
from loguru import logger
from tabulate import tabulate
from GoogleNews import GoogleNews
#from GoogleNews import GoogleNews
# Configure logger
logger.remove()
from dotenv import load_dotenv

View File

@@ -24,14 +24,12 @@ import os
import json
from pathlib import Path
import sys
from typing import List, NamedTuple
from datetime import datetime
from .tavily_ai_search import get_tavilyai_results
from .metaphor_basic_neural_web_search import metaphor_find_similar, metaphor_search_articles
from .google_serp_search import google_search
from .google_trends_researcher import do_google_trends_analysis
#from .web_research_report import write_web_research_report
from loguru import logger
# Configure logger
@@ -42,6 +40,7 @@ logger.add(sys.stdout,
)
def gpt_web_researcher(search_keywords):
""" Keyword based web researcher, basic, neural and Semantic search."""

View File

@@ -45,7 +45,6 @@ logger.add(sys.stdout,
)
from .common_utils import save_in_file, cfg_search_param
from tenacity import retry, stop_after_attempt, wait_random_exponential