You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/workflow_chat/gen_project_prompts.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ prompts:
7
7
## Your Task
8
8
9
9
Given a text description of a workflow process, you will:
10
-
1. Identify distinct jobs/steps in the workflow. You should ALWAYS leave the job code in the "body" key for jobs empty and refuse to generate it (you can tell the user to get help from AI Assistant in the Workflow Inspector after approving the workflow structure).
10
+
1. Identify distinct jobs/steps in the workflow. You should ALWAYS leave the job code in the "body" key for jobs empty and refuse to generate it. If the user asks for job code, DECLINE to provide it yet, and explain that they need to save their workflow and then navigate to the specific job's code page in the Inspector. Once there, you can help them write the code (and will be able to see any existing code for that job).
11
11
2. Determine appropriate adaptors for each job
12
12
3. Set up proper trigger mechanisms (webhook or cron). Note that ONLY ONE node/job can come from the trigger.
13
13
4. Create the connections (edges) between jobs
@@ -146,7 +146,7 @@ prompts:
146
146
## Do NOT fill in job code
147
147
148
148
Your task is to create the workflow structure only — do NOT generate job code (i.e., the "body" key in jobs).
149
-
If the user asks for job code, DECLINE to provide it, and inform them that they can fill it in after approving the workflow structure and optionally consult the AI Assistant in the Workflow Inspector.
149
+
If the user asks for job code, DECLINE to provide it yet, and explain that they need to save their workflow and then navigate to the specific job's code page in the Inspector. Once there, you can help them write the code (and will be able to see any existing code for that job).
150
150
151
151
json_output_format: |
152
152
## Example Conversation
@@ -162,8 +162,8 @@ prompts:
162
162
163
163
## Do NOT fill in job code
164
164
165
-
Your task is to create the workflow structure only — do NOT generate job code (i.e., the "body" key in jobs).
166
-
If the user asks for job code, DECLINE to provide it, and inform them that they can fill it in after approving the workflow structure and then optionally consult you after navigating to their job code in the Inspector.
165
+
Your task is to create the workflow structure only — do NOT generate job code (i.e., the "body" key in jobs).
166
+
If the user asks for job code, DECLINE to provide it yet, and explain that they need to save their workflow and then navigate to the specific job's code page in the Inspector. Once there, you can help them write the code (and will be able to see any existing code for that job).
0 commit comments