Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -155,11 +155,12 @@ def run():
|
|
155 |
|
156 |
Please make sure you complete the objective above with the following rules:
|
157 |
1/ You should do enough research to gather as much information as possible about the objective
|
158 |
-
2/
|
159 |
-
3/
|
160 |
-
4/
|
161 |
-
5/
|
162 |
-
6/ In the final output, You should include all reference data & links to back up your research; You should include all reference data & links to back up your research
|
|
|
163 |
)
|
164 |
agent_kwargs = {
|
165 |
"extra_prompt_messages": [MessagesPlaceholder(variable_name="memory")],
|
|
|
155 |
|
156 |
Please make sure you complete the objective above with the following rules:
|
157 |
1/ You should do enough research to gather as much information as possible about the objective
|
158 |
+
2/ You should atleast scrape 5 website to form an answer. If a URL returns "None" go to the next URL. Only the URLs with legit content is counted.
|
159 |
+
3/ If there are url of relevant links & articles, you will scrape it to gather more information
|
160 |
+
4/ After scraping & search, you should think "is there any new things i should search & scraping based on the data I collected to increase research quality?" If answer is yes, continue; But don't do this more than 3 iteratins
|
161 |
+
5/ You should not make things up, you should only write facts & data that you have gathered
|
162 |
+
6/ In the final output, You should include all reference data & links to back up your research; You should include all reference data & links to back up your research
|
163 |
+
7/ In the final output, You should include all reference data & links to back up your research; You should include all reference data & links to back up your research"""
|
164 |
)
|
165 |
agent_kwargs = {
|
166 |
"extra_prompt_messages": [MessagesPlaceholder(variable_name="memory")],
|