Pablo276 commited on
Commit
4823730
·
verified ·
1 Parent(s): 7ec15fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -266,22 +266,22 @@ tools = [
266
  func=lambda prompt: video_streaming_Test(prompt),
267
  description="""Use when the user wants to do a video_streaming_Test,
268
  start the tool IF AND ONLY IF you have ALL the information needed.
269
- There are three options for this test, FIRST OF ALL YOU ALWAYS MUST KNOW WHICH ONE THE USER WANT, IF YOU DON'T KNOW, ASK. NEVER MAKE UP ONE:
270
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy].)
271
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
272
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
273
- So first of all you have to understand which tetst does the user wants to do.IF IS MISSING, ask back. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
274
  ),
275
  Tool(
276
  name="wifi_test",
277
  func=lambda prompt: wifi_test(prompt),
278
  description="""Use when the user wants to do a wifi_test,
279
  start the tool IF AND ONLY IF you have ALL the information needed.
280
- There are three options for this test, FIRST OF ALL YOU ALWAYS MUST KNOW WHICH ONE THE USER WANT, IF YOU DON'T KNOW, ASK. NEVER MAKE UP ONE:
281
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy].)
282
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
283
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
284
- So first of all you have to understand which tetst does the user wants to do.IF IS MISSING, ask back. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
285
 
286
  ),
287
  Tool(
@@ -289,33 +289,33 @@ tools = [
289
  func=lambda prompt: iot_test(prompt),
290
  description="""Use when the user wants to do a iot_test,
291
  start the tool IF AND ONLY IF you have ALL the information needed.
292
- There are three options for this , FIRST OF ALL YOU ALWAYS MUST KNOW WHICH ONE THE USER WANT, IF YOU DON'T KNOW, ASK. NEVER MAKE UP ONE:
293
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy], Mqtt broker address: str, Quality of Service (QoS): int[default:0], Mqtt Message Count: int[default:200] )
294
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], Mqtt broker address: str, Quality of Service (QoS): int[default:0], Mqtt Message Count: int[default:200] )
295
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy] Mqtt broker address: str, Quality of Service (QoS): int[default:0], Mqtt Message Count: int[default:200] )
296
- So first of all you have to understand which tetst does the user wants to do. IF IS MISSING, ask back. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
297
  ),
298
  Tool(
299
  name="online_gaming_test",
300
  func=lambda prompt: online_gaming_test(prompt),
301
  description="""Use when the user wants to do a online_gaming_test,
302
  start the tool IF AND ONLY IF you have ALL the information needed.
303
- There are three options for this test, FIRST OF ALL YOU ALWAYS MUST KNOW WHICH ONE THE USER WANT, IF YOU DON'T KNOW, ASK. NEVER MAKE UP ONE:
304
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy], predefined_gaming_servers: str[options: FORTNITE/PUBG])
305
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], predefined_gaming_servers: str[options: FORTNITE/PUBG])
306
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy] predefined_gaming_servers: str[options: FORTNITE/PUBG])
307
- So first of all you have to understand which tetst does the user wants to do. IF IS MISSING, ask back. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
308
  ),
309
  Tool(
310
  name="ping_test",
311
  func=lambda prompt: ping_test(prompt),
312
  description="""Use when the user wants to do a ping_test,
313
  start the tool IF AND ONLY IF you have ALL the information needed.
314
- There are three options for this test, FIRST OF ALL YOU ALWAYS MUST KNOW WHICH ONE THE USER WANT, IF YOU DON'T KNOW, ASK. NEVER MAKE UP ONE:
315
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy], host_or_ip: str/int, ping_count: int[predefined: 5])
316
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], host_or_ip: str/int, ping_count: int[predefined: 5])
317
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], host_or_ip: str/int, ping_count: int[predefined: 5])
318
- So first of all you have to understand which tetst does the user wants to do. IF IS MISSING, ask back. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
319
  )
320
 
321
 
 
266
  func=lambda prompt: video_streaming_Test(prompt),
267
  description="""Use when the user wants to do a video_streaming_Test,
268
  start the tool IF AND ONLY IF you have ALL the information needed.
269
+ There are three options for this test,
270
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy].)
271
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
272
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
273
+ So first of all you have to understand which tetst does the user wants to do.ask DIRECTLLY the user which test options they want to perform, don't try to guess it. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
274
  ),
275
  Tool(
276
  name="wifi_test",
277
  func=lambda prompt: wifi_test(prompt),
278
  description="""Use when the user wants to do a wifi_test,
279
  start the tool IF AND ONLY IF you have ALL the information needed.
280
+ There are three options for this test,
281
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy].)
282
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
283
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy].)
284
+ So first of all you have to understand which tetst does the user wants to do.ask DIRECTLLY the user which test options they want to perform, don't try to guess it. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
285
 
286
  ),
287
  Tool(
 
289
  func=lambda prompt: iot_test(prompt),
290
  description="""Use when the user wants to do a iot_test,
291
  start the tool IF AND ONLY IF you have ALL the information needed.
292
+ There are three options for this ,
293
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy], Mqtt broker address: str, Quality of Service (QoS): int[default:0], Mqtt Message Count: int[default:200] )
294
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], Mqtt broker address: str, Quality of Service (QoS): int[default:0], Mqtt Message Count: int[default:200] )
295
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy] Mqtt broker address: str, Quality of Service (QoS): int[default:0], Mqtt Message Count: int[default:200] )
296
+ So first of all you have to understand which tetst does the user wants to do. ask DIRECTLLY the user which test options they want to perform, don't try to guess it. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
297
  ),
298
  Tool(
299
  name="online_gaming_test",
300
  func=lambda prompt: online_gaming_test(prompt),
301
  description="""Use when the user wants to do a online_gaming_test,
302
  start the tool IF AND ONLY IF you have ALL the information needed.
303
+ There are three options for this test,
304
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy], predefined_gaming_servers: str[options: FORTNITE/PUBG])
305
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], predefined_gaming_servers: str[options: FORTNITE/PUBG])
306
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy] predefined_gaming_servers: str[options: FORTNITE/PUBG])
307
+ So first of all you have to understand which tetst does the user wants to do. ask DIRECTLLY the user which test options they want to perform, don't try to guess it. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
308
  ),
309
  Tool(
310
  name="ping_test",
311
  func=lambda prompt: ping_test(prompt),
312
  description="""Use when the user wants to do a ping_test,
313
  start the tool IF AND ONLY IF you have ALL the information needed.
314
+ There are three options for this test, ask DIRECTLLY the user which one of the following test options they want to perform, don't try to guess it.
315
  1: One time test. Information Needed : (Start_Date : str[dd/mm/yy], host_or_ip: str/int, ping_count: int[predefined: 5])
316
  2: Periodic test. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], host_or_ip: str/int, ping_count: int[predefined: 5])
317
  3: Driving Mode. Information Needed : (Number_of_tests : int, Start_Date : str[dd/mm/yy], host_or_ip: str/int, ping_count: int[predefined: 5])
318
+ So first of all you have to understand which tetst does the user wants to do. ask DIRECTLLY the user which test options they want to perform, don't try to guess it. Then you have to find the informaton needed for that test.Users alway forget something, if you are missing some info, just pass none.In the field date, if users says now or today, just pass now or today. NEVER CREATE INPUT IF NOT WRITTEN BY THE USER. IN THE INPUT PASS THE INFORMATION IN JSON FORMAT. IN THE INPUR PASS THE SPECIFIED TET TYPE, ask if missing test_type:(One time test/Periodic test/Driving Mode)"""
319
  )
320
 
321