Spaces:
Running
Running
Update geminisearch.py
Browse files- geminisearch.py +4 -4
geminisearch.py
CHANGED
@@ -14,14 +14,14 @@ google_search_tool = Tool(
|
|
14 |
|
15 |
def webSearch(prompt,history):
|
16 |
"""
|
17 |
-
Searches the web using Google Search
|
18 |
|
19 |
Args:
|
20 |
-
prompt:
|
21 |
-
history:
|
22 |
|
23 |
Returns:
|
24 |
-
Search
|
25 |
"""
|
26 |
|
27 |
combined_prompt = f"Current information: {history}\n\nQuestion: {prompt}"
|
|
|
14 |
|
15 |
def webSearch(prompt,history):
|
16 |
"""
|
17 |
+
Searches the web using Google Search.
|
18 |
|
19 |
Args:
|
20 |
+
prompt: A string representing the search query
|
21 |
+
history: A placeholder representing query history
|
22 |
|
23 |
Returns:
|
24 |
+
Search results in natural language.
|
25 |
"""
|
26 |
|
27 |
combined_prompt = f"Current information: {history}\n\nQuestion: {prompt}"
|