riderle commited on
Commit
0e1e346
·
verified ·
1 Parent(s): 89b250a

Comment out frobot == coolbot logic for CCHU experiment

Browse files

>>>if bot == frobot:
>>> parsed_response = get_last_paragraph(parsed_response)
Commenting this cout because the CCHU experiment does not have a frobot.
We do not want this happening for frobot = coolbot.

Files changed (1) hide show
  1. chat_application/main.py +5 -0
chat_application/main.py CHANGED
@@ -425,12 +425,17 @@ def ask_bot(room_id, bot, bot_display_name, initial_prompt, instruct_prompt , wa
425
  + r"\b:\s?", '', parsed_response)
426
 
427
  # Only keep the last paragraph of frobot responses
 
 
 
 
428
  if bot == frobot:
429
  print("=========== OG FROBOT RESPONSE")
430
  print(parsed_response)
431
  parsed_response = get_last_paragraph(parsed_response)
432
  print("=========== LAST PARAGRAPH")
433
  print(parsed_response)
 
434
 
435
  # Check for if the bot passed (i.e. response = "(pass)")
436
  if ("(pass)" in parsed_response) or (parsed_response == ""):
 
425
  + r"\b:\s?", '', parsed_response)
426
 
427
  # Only keep the last paragraph of frobot responses
428
+ """
429
+ (!4/30) commenting this cout because the CCHU experiment does not have a frobot
430
+ We do not want this happening for frobot = coolbot
431
+
432
  if bot == frobot:
433
  print("=========== OG FROBOT RESPONSE")
434
  print(parsed_response)
435
  parsed_response = get_last_paragraph(parsed_response)
436
  print("=========== LAST PARAGRAPH")
437
  print(parsed_response)
438
+ """
439
 
440
  # Check for if the bot passed (i.e. response = "(pass)")
441
  if ("(pass)" in parsed_response) or (parsed_response == ""):