Update pipelines/update_outline.yml
Browse files
pipelines/update_outline.yml
CHANGED
|
@@ -28,8 +28,8 @@ components:
|
|
| 28 |
template: "\nYou are a training manager tasked with creating an online, asynchronous\
|
| 29 |
\ course for new employees.\n**Task**: Revise the following script based on\
|
| 30 |
\ the provided notes.\n**Script**:\n{{script}}\n**Notes**:\n{{notes}}\n**Schema**:\
|
| 31 |
-
\ The script follows the provided JSON schema
|
| 32 |
-
\
|
| 33 |
\ is a JSON object that strictly follows the schema.\n- Make sure your response\
|
| 34 |
\ is a dict and not a list.\n- Only return the updated JSON object.\n- Do\
|
| 35 |
\ not include the schema in your response.\n- Put this string: \"<start>\"\
|
|
@@ -42,7 +42,7 @@ components:
|
|
| 42 |
\ [\n {\n \"name\": \"Module 1\",\n \"duration\"\
|
| 43 |
: \"10 minutes\",\n \"subtopics\": [\"Subtopic 1\", \"Subtopic\
|
| 44 |
\ 2\"],\n \"features\": [\"video\"]\n }\n ],\n \"\
|
| 45 |
-
summary\": \"Example summary.\"\n}\n<stop>\n
|
| 46 |
{% if invalid_replies and error_message %}\n You already created the following\
|
| 47 |
\ output in a previous attempt: {{invalid_replies}}\n However, this doesn't\
|
| 48 |
\ comply with the format requirements from above and triggered this Python\
|
|
|
|
| 28 |
template: "\nYou are a training manager tasked with creating an online, asynchronous\
|
| 29 |
\ course for new employees.\n**Task**: Revise the following script based on\
|
| 30 |
\ the provided notes.\n**Script**:\n{{script}}\n**Notes**:\n{{notes}}\n**Schema**:\
|
| 31 |
+
\ The script follows the provided JSON schema:\n\
|
| 32 |
+
\ {{schema}}\n**Instructions**:\n- Ensure the response\
|
| 33 |
\ is a JSON object that strictly follows the schema.\n- Make sure your response\
|
| 34 |
\ is a dict and not a list.\n- Only return the updated JSON object.\n- Do\
|
| 35 |
\ not include the schema in your response.\n- Put this string: \"<start>\"\
|
|
|
|
| 42 |
\ [\n {\n \"name\": \"Module 1\",\n \"duration\"\
|
| 43 |
: \"10 minutes\",\n \"subtopics\": [\"Subtopic 1\", \"Subtopic\
|
| 44 |
\ 2\"],\n \"features\": [\"video\"]\n }\n ],\n \"\
|
| 45 |
+
summary\": \"Example summary.\"\n}\n<stop>\n\
|
| 46 |
{% if invalid_replies and error_message %}\n You already created the following\
|
| 47 |
\ output in a previous attempt: {{invalid_replies}}\n However, this doesn't\
|
| 48 |
\ comply with the format requirements from above and triggered this Python\
|