Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
PREFIX = """You are a Live Internet Data Finder
|
2 |
You will search the internet to satisfy your purpose, and complete all tasks
|
3 |
You have access to the following tools:
|
4 |
-
- action: UPDATE-TASK action_input=NEW_TASK
|
5 |
-
- action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
6 |
-
- action: SEARCH action_input=https://URL_FOR_WEBPAGE
|
7 |
-
- action: COMPLETE
|
8 |
Trigger tools by using this format:
|
9 |
action: TOOL_NAME action_input=YOUR_INPUT
|
10 |
Never answer questions without using your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
@@ -13,86 +9,6 @@ Current Date/Time:
|
|
13 |
{date_time_str}
|
14 |
Purpose:
|
15 |
'''
|
16 |
-
urls = [
|
17 |
-
"https://twitter.com/wlcscrdp",
|
18 |
-
"https://www.facebook.com/aurorareddevils/",
|
19 |
-
"https://www.facebook.com/brightpanthers/",
|
20 |
-
"https://www.facebook.com/carrollcountychamberin/",
|
21 |
-
"https://www.facebook.com/Culver.Cavs.MHS",
|
22 |
-
"https://www.facebook.com/culver.elementary.school",
|
23 |
-
"https://www.facebook.com/CulverCommunitySchools",
|
24 |
-
"https://www.facebook.com/DillsboroBulldogs/",
|
25 |
-
"https://www.facebook.com/ECMSTROJANS",
|
26 |
-
"https://www.facebook.com/enjoywhitecountyIN/",
|
27 |
-
"https://www.facebook.com/farmersvilleelementary",
|
28 |
-
"https://www.facebook.com/groups/SDMSparents",
|
29 |
-
"https://www.facebook.com/jghsart/",
|
30 |
-
"https://www.facebook.com/jgmusicdept",
|
31 |
-
"https://www.facebook.com/John-Glenn-Education-Foundation-208326199636364/",
|
32 |
-
"https://www.facebook.com/John-Glenn-High-School-1102148953201006/",
|
33 |
-
"https://www.facebook.com/John-Glenn-Theatre-Company-383638295064502/",
|
34 |
-
"https://www.facebook.com/JohnGlennFalconsAthletics",
|
35 |
-
"https://www.facebook.com/KIRPC-Head-Start-1485812354989001",
|
36 |
-
"https://www.facebook.com/KIRPC1",
|
37 |
-
"https://www.facebook.com/LHNEeagles",
|
38 |
-
"https://www.facebook.com/LuceElementarySchool/",
|
39 |
-
"https://www.facebook.com/marrselementary",
|
40 |
-
"https://www.facebook.com/messhiners/",
|
41 |
-
"https://www.facebook.com/monticellocitypool",
|
42 |
-
"https://www.facebook.com/monticelloinwastewater/",
|
43 |
-
"https://www.facebook.com/MooresHillBobcats/",
|
44 |
-
"https://www.facebook.com/msdmv",
|
45 |
-
"https://www.facebook.com/msdnorthposey",
|
46 |
-
"https://www.facebook.com/MUTPL/",
|
47 |
-
"https://www.facebook.com/MVJHS/",
|
48 |
-
"https://www.facebook.com/mvshs",
|
49 |
-
"https://www.facebook.com/njspjrsrhighschool?mibextid=b06tZ0",
|
50 |
-
"https://www.facebook.com/NorthElementaryStars/",
|
51 |
-
"https://www.facebook.com/NorthLibertyElementary/",
|
52 |
-
"https://www.facebook.com/northposey/",
|
53 |
-
"https://www.facebook.com/northposeyhs/",
|
54 |
-
"https://www.facebook.com/NPJuniorHigh",
|
55 |
-
"https://www.facebook.com/Prairie-Heights-Elementary-659322230934707/",
|
56 |
-
"https://www.facebook.com/Prairie-Heights-High-School-2027713067459043/",
|
57 |
-
"https://www.facebook.com/PrairieHeightsPanthers/",
|
58 |
-
"https://www.facebook.com/profile.php?id=100057030237096",
|
59 |
-
"https://www.facebook.com/profile.php?id=100057451179651",
|
60 |
-
"https://www.facebook.com/profile.php?id=100063463513451",
|
61 |
-
"https://www.facebook.com/profile.php?id=100063612319256",
|
62 |
-
"https://www.facebook.com/profile.php?id=100064532596422",
|
63 |
-
"https://www.facebook.com/profile.php?id=100067180226810",
|
64 |
-
"https://www.facebook.com/profile.php?id=61563484312348",
|
65 |
-
"https://www.facebook.com/PTOSWES/",
|
66 |
-
"https://www.facebook.com/RandolphSouthern/",
|
67 |
-
"https://www.facebook.com/RochesterMiddleSchool",
|
68 |
-
"https://www.facebook.com/RochesterZebraNewTechHigh",
|
69 |
-
"https://www.facebook.com/rockportelementarysouthspencer/",
|
70 |
-
"https://www.facebook.com/satellitesathletics/",
|
71 |
-
"https://www.facebook.com/seymourcommunityschools/",
|
72 |
-
"https://www.facebook.com/SeymourHighSchool/",
|
73 |
-
"https://www.facebook.com/SouthDearbornHighSchool/",
|
74 |
-
"https://www.facebook.com/southarbornschools/",
|
75 |
-
"https://www.facebook.com/SouthDearbornSquires/",
|
76 |
-
"https://www.facebook.com/southspencerhighschool",
|
77 |
-
"https://www.facebook.com/southspencermiddleschool/",
|
78 |
-
"https://www.facebook.com/SouthSpencerSchools",
|
79 |
-
"https://www.facebook.com/SouthTerracePanthers/",
|
80 |
-
"https://www.facebook.com/sunmantigers/",
|
81 |
-
"https://www.facebook.com/SWShelbySpartan/",
|
82 |
-
"https://www.facebook.com/TallTimbersMarina",
|
83 |
-
"https://www.facebook.com/WabashValleyESC/",
|
84 |
-
"https://www.facebook.com/Walkerton-Elementary-School-283088605088622/",
|
85 |
-
"https://www.facebook.com/westcentralcte/",
|
86 |
-
"https://www.facebook.com/westelementary",
|
87 |
-
"https://www.facebook.com/wlcscrdp",
|
88 |
-
"https://www.instagram.com/mutpl/",
|
89 |
-
"https://www.instagram.com/northposeyhsathletics",
|
90 |
-
"https://www.instagram.com/rchsprincipalcook/",
|
91 |
-
"https://www.instagram.com/southdearbornhighschool/",
|
92 |
-
"https://www.instagram.com/southdearbornschools/",
|
93 |
-
"https://www.instagram.com/westcentralcte/",
|
94 |
-
"https://www.tiktok.com/@mutplteen"
|
95 |
-
]
|
96 |
action: SEARCH_urls; # https://www.facebook.com/CulverCommunitySchools, https://www.culver.k12.in.us/
|
97 |
|
98 |
action: OBSERVE_new; # initial database build -- all observations from feeds are new
|
|
|
1 |
PREFIX = """You are a Live Internet Data Finder
|
2 |
You will search the internet to satisfy your purpose, and complete all tasks
|
3 |
You have access to the following tools:
|
|
|
|
|
|
|
|
|
4 |
Trigger tools by using this format:
|
5 |
action: TOOL_NAME action_input=YOUR_INPUT
|
6 |
Never answer questions without using your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
|
|
9 |
{date_time_str}
|
10 |
Purpose:
|
11 |
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
action: SEARCH_urls; # https://www.facebook.com/CulverCommunitySchools, https://www.culver.k12.in.us/
|
13 |
|
14 |
action: OBSERVE_new; # initial database build -- all observations from feeds are new
|