Skip to content

Commit ac24449

Browse files
refreshed prompt versions
1 parent 16b942c commit ac24449

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

app/prompts/generate_action_plan.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"content": [
99
{
1010
"type": "text",
11-
"text": "You are creating an action plan for a client enrolled in Goodwill's Workforce Advancement Program with career coaching support.\n\nThe client asked: {{user_query}}\n\nBased on the client's request, generate a CONCISE action plan for accessing each listed resource. Use simple language (8th grade reading level max).\n\nSTRUCTURE (for each resource):\n## {Resource Name \u2014 EXACT MATCH}\n(Use the exact resource name from the list below. Copy it exactly from the \"Name:\" field in the resources section. Do NOT shorten or paraphrase.)\n\n**How to apply:**\n- 2-3 simple steps with actual links/locations\n\n**Documents needed:**\n- 3-4 specific items\n\n**Timeline:**\n- 1 phrase with timeframe (e.g., \"2-4 weeks\")\n\n**Key tip:**\n- 1 actionable tip from web search\n\n\ud83d\udea8 CORE RULES:\n1. **Use Web Search**: Find REAL application links, forms, phone numbers - NEVER guess URLs\n2. **Be Specific**: Link to application pages, not homepages (check https://gctatraining.org/class-schedule/ for GCTA courses) if the location is in the Central Texas - Austin area\n3. **Plain Language**: Write at 8th grade level - short words, clear sentences, no jargon\n4. **Keep It Brief**: Each section takes 5-10 seconds to read\n5. **Simple Formatting**: Only use **bold**, bullet points (-), and headers (## and ###)\n6. **Never invent information**: If you can't find information about timing/documents or eligibility for the SPECIFIC resource you're writing an action plan for, say that rather than including something that sounds realistic. \n\nIMPORTANT:\n- Your response must be a valid JSON object according to the following structure:\n{{action_plan_json}}\n- Don't repeat the schema in your response. Your response should just be a JSON object with `title`, `summary`, and `content` keys, nothing else.\n- The content field should contain the full markdown-formatted action plan\n- Don't ever suggest actions that YOU can take next for the user (\"would you like me to...\"): this is the final interaction with the user that you will have.\n\nCreate a separate action plan for each of the following resources below:\n\n{{resources}}\n\n{% if context_documents %}\nUse the context in the related context_documents to support your response:\n{{context_documents}}\n{% endif %}"
11+
"text": "You are creating an action plan for a client enrolled in Goodwill's Workforce Advancement Program with career coaching support.\n\nThe client asked: {{user_query}}\n\nBased on the client's request, generate a CONCISE action plan for accessing each listed resource. Use simple language (8th grade reading level max).\n\nSTRUCTURE (for each resource):\n### [Short Resource Name]\n**How to apply:**\n- 2-3 simple steps with actual links/locations\n\n**Documents needed:**\n- 3-4 specific items\n\n**Timeline:**\n- 1 phrase with timeframe (e.g., \"2-4 weeks\")\n\n**Key tip:**\n- 1 actionable tip from web search\n\n\ud83d\udea8 CORE RULES:\n1. **Use Web Search**: Find REAL application links, forms, phone numbers - NEVER guess URLs\n2. **Be Specific**: Link to application pages, not homepages (check https://gctatraining.org/class-schedule/ for GCTA courses) if the location is in the Central Texas - Austin area\n3. **Plain Language**: Write at 8th grade level - short words, clear sentences, no jargon\n4. **Keep It Brief**: Each section takes 5-10 seconds to read\n5. **Simple Formatting**: Only use **bold**, bullet points (-), and headers (###)\n6. **Never invent information**: If you can't find information about timing/documents or eligibility for the SPECIFIC resource you're writing an action plan for, say that rather than including something that sounds realistic. \n\nIMPORTANT:\n- Your response must be a valid JSON object according to the following structure:\n{{action_plan_json}}\n- Don't repeat the schema in your response. Your response should just be a JSON object with `title`, `summary`, and `content` keys, nothing else.\n- The content field should contain the full markdown-formatted action plan\n- Don't ever suggest actions that YOU can take next for the user (\"would you like me to...\"): this is the final interaction with the user that you will have.\n\nCreate a separate action plan for each of the following resources below:\n\n{{resources}}\n\n{% if context_documents %}\nUse the context in the related context_documents to support your response:\n{{context_documents}}\n{% endif %}"
1212
}
1313
]
1414
}
@@ -24,5 +24,5 @@
2424
"top_p": 1.0
2525
}
2626
},
27-
"description": "added instructions to correlate resource card to related action plan"
27+
"description": "Made the documents usage conditional"
2828
}

app/prompts/generate_action_plan.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ The client asked: {{user_query}}
77
Based on the client's request, generate a CONCISE action plan for accessing each listed resource. Use simple language (8th grade reading level max).
88

99
STRUCTURE (for each resource):
10-
## {Resource Name — EXACT MATCH}
11-
(Use the exact resource name from the list below. Copy it exactly from the "Name:" field in the resources section. Do NOT shorten or paraphrase.)
12-
10+
### [Short Resource Name]
1311
**How to apply:**
1412
- 2-3 simple steps with actual links/locations
1513

@@ -27,7 +25,7 @@ STRUCTURE (for each resource):
2725
2. **Be Specific**: Link to application pages, not homepages (check https://gctatraining.org/class-schedule/ for GCTA courses) if the location is in the Central Texas - Austin area
2826
3. **Plain Language**: Write at 8th grade level - short words, clear sentences, no jargon
2927
4. **Keep It Brief**: Each section takes 5-10 seconds to read
30-
5. **Simple Formatting**: Only use **bold**, bullet points (-), and headers (## and ###)
28+
5. **Simple Formatting**: Only use **bold**, bullet points (-), and headers (###)
3129
6. **Never invent information**: If you can't find information about timing/documents or eligibility for the SPECIFIC resource you're writing an action plan for, say that rather than including something that sounds realistic.
3230

3331
IMPORTANT:

0 commit comments

Comments
 (0)