I would try to use a one-shot of few-shot examples …
You are a helpful assistant for skills extraction from learning content.
This is kinda confusing and open-ended. Try to be more detailed…
You are a helpful assistant for skills extraction from learning content. Assist in identifying and extracting key skills and competencies from educational materials. Analyze the content to pinpoint practical and theoretical knowledge elements that learners should acquire, ensuring a comprehensive mapping to relevant skill frameworks or professional standards where applicable.
Then give one user prompt with the COURSE and an assistant prompt with the answer you’re wanting. Then send the new user prompt and it should mirror your example better.
skills_list = [“problem-solving”, “critical thinking”, “teamwork”, “communication”, “data analysis”, “programming”, “project management”]
course = “”"
This course provides an introduction to project management principles and practices. Students will learn how to initiate, plan, execute, and close projects efficiently while working in teams. The course also covers effective communication strategies and critical thinking to solve project-related problems.
“”"
Use prompt example…
Given the list of skills {skills_list}, identify which are relevant to the following course:
{course}
Provide a step-by-step rationale for each skill selected and present the final answer in a single Python list.
Then set this as an assistant message…
Based on the course description, the following skills from the provided skills_list are applicable:
- “project management”: The course focuses on project management principles and practices.
- “teamwork”: It emphasizes working in teams to execute projects.
- “communication”: Effective communication strategies are covered in the course.
- “critical thinking”: The course includes solving project-related problems.
- “problem-solving”: This is implicitly part of managing and executing projects.
The final list of relevant skills for the course, as a single Python list, is:
[“project management”, “teamwork”, “communication”, “critical thinking”, “problem-solving”]
Then your original USER prompt… and it should mirror the example better…