fix typo in the prompt of get_update_memory_messages (#2000)

This commit is contained in:
Xiang Wang
2024-11-01 12:04:59 +08:00
committed by GitHub
parent cf12148bc7
commit 6668be3d5b

View File

@@ -120,7 +120,7 @@ def get_update_memory_messages(retrieved_old_memory_dict, response_content):
"text" : "User is a software engineer" "text" : "User is a software engineer"
}}, }},
{{ {{
"id" : "0a14d8f0-e364-4f5c-b305-10da1f0d0878", "id" : "b4229775-d860-4ccb-983f-0f628ca112f5",
"text" : "User likes to play cricket" "text" : "User likes to play cricket"
}} }}
] ]
@@ -143,6 +143,7 @@ def get_update_memory_messages(retrieved_old_memory_dict, response_content):
"id" : "b4229775-d860-4ccb-983f-0f628ca112f5", "id" : "b4229775-d860-4ccb-983f-0f628ca112f5",
"text" : "Loves to play cricket with friends", "text" : "Loves to play cricket with friends",
"event" : "UPDATE" "event" : "UPDATE"
"old_memory" : "User likes to play cricket"
}} }}
] ]
}} }}