diff --git a/reverie/backend_server/output2.txt b/reverie/backend_server/output2.txt new file mode 100644 index 00000000..f945cf3e Binary files /dev/null and b/reverie/backend_server/output2.txt differ diff --git a/reverie/backend_server/persona/cognitive_modules/plan.py b/reverie/backend_server/persona/cognitive_modules/plan.py index 901d2433..28734b55 100644 --- a/reverie/backend_server/persona/cognitive_modules/plan.py +++ b/reverie/backend_server/persona/cognitive_modules/plan.py @@ -423,13 +423,13 @@ def revise_identity(persona): plan_prompt += f" *{persona.scratch.curr_time.strftime('%A %B %d')}*? " plan_prompt += f"If there is any scheduling information, be as specific as possible (include date, time, and location if stated in the statement)\n\n" plan_prompt += f"Write the response from {p_name}'s perspective." - plan_note = ChatGPT_single_request(plan_prompt) + plan_note = GPT_single_request(plan_prompt) # print (plan_note) thought_prompt = statements + "\n" thought_prompt += f"Given the statements above, how might we summarize {p_name}'s feelings about their days up to now?\n\n" thought_prompt += f"Write the response from {p_name}'s perspective." - thought_note = ChatGPT_single_request(thought_prompt) + thought_note = GPT_single_request(thought_prompt) # print (thought_note) currently_prompt = f"{p_name}'s status from {(persona.scratch.curr_time - datetime.timedelta(days=1)).strftime('%A %B %d')}:\n" @@ -441,7 +441,7 @@ def revise_identity(persona): currently_prompt += "Follow this format below:\nStatus: " # print ("DEBUG ;adjhfno;asdjao;asdfsidfjo;af", p_name) # print (currently_prompt) - new_currently = ChatGPT_single_request(currently_prompt) + new_currently = GPT_single_request(currently_prompt) # print (new_currently) # print (new_currently[10:]) @@ -452,7 +452,7 @@ def revise_identity(persona): daily_req_prompt += f"Follow this format (the list should have 4~6 items but no more):\n" daily_req_prompt += f"1. wake up and complete the morning routine at