Spaces:
Sleeping
Sleeping
update prompt
Browse files
task_specific_data_population.py
CHANGED
@@ -62,9 +62,10 @@ class DataPopulation:
|
|
62 |
"role": "user",
|
63 |
"content": (
|
64 |
f"Given the task: '{task}' and the following task-relevant page details:\n{relevant_page_details}\n\n"
|
65 |
-
f"Update each page's 'user_data'
|
66 |
-
f"
|
67 |
-
"
|
|
|
68 |
"'user_data' must exists as a key in each page.\n"
|
69 |
)
|
70 |
})
|
|
|
62 |
"role": "user",
|
63 |
"content": (
|
64 |
f"Given the task: '{task}' and the following task-relevant page details:\n{relevant_page_details}\n\n"
|
65 |
+
f"Update each page's 'user_data' value with essential information for task-completion."
|
66 |
+
f"For example, if a task ask us to retrieve previous order, then we will need to populate synthetic order history in user_data."
|
67 |
+
f"Do not modify the other fields."
|
68 |
+
"Output should maintain the exact input structure, making changes only to 'user_data'."
|
69 |
"'user_data' must exists as a key in each page.\n"
|
70 |
)
|
71 |
})
|