Try Essay, story, Audio to Blog

This commit is contained in:
ajaysi
2024-04-17 20:02:51 +05:30
parent 80c52facc5
commit d2bb42caff
7 changed files with 23 additions and 34 deletions

View File

@@ -45,10 +45,6 @@ logger.add(sys.stdout,
def gpt_web_researcher(search_keywords):
""" Keyword based web researcher, basic, neural and Semantic search."""
# TBD: Keeping the results directory as fixed, for now.
os.environ["SEARCH_SAVE_FILE"] = os.path.join(os.getcwd(), "workspace",
search_keywords.replace(" ", "_") + "_" + datetime.now().strftime("%Y-%m-%d_%H-%M-%S"))
try:
google_search_result = do_google_serp_search(search_keywords)
tavily_search_result = do_tavily_ai_search(search_keywords)