From fb5b86bd01d27df52d9c2fe50c74d4f80c7f4acf Mon Sep 17 00:00:00 2001 From: Torantulino Date: Thu, 30 Mar 2023 10:06:50 +0100 Subject: [PATCH] Increases default number of results returned by a google search --- AutonomousAI/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutonomousAI/commands.py b/AutonomousAI/commands.py index 47f4159b..74707d6c 100644 --- a/AutonomousAI/commands.py +++ b/AutonomousAI/commands.py @@ -61,7 +61,7 @@ def get_datetime(): ### Implemented Commands: ### -def google_search(query, num_results = 3): +def google_search(query, num_results = 8): search_results = [] for j in browse.search(query, num_results=num_results): search_results.append(j)