Play Lecture Video
play_lecture_videoFull Description
Play a Coursera lecture video based on learning goals.
Parameters
primarySubjectstringThe main subject or skill the learner is asking about, expressed as a clean keyword or short phrase (e.g., "java” "accounting” "graphic design”).
broadnessVsSpecificitystringCapture whether the query uses broad terms or precise keywords.
courseraCourseSlugsarrayBased on the user chat context provide a specific Coursera course name (NOT A DEGREE, SPECIALIZATION OR CERTIFICATE) The course provided MUST MATCH the subject of the primaryTopic field.
courseSearchQuerystringGenerate a simple query to use to search for courses, something that a user would input into the search bar on Coursera. Include the subject and, if possible, the difficulty level (e.g., Beginner Python, Advanced Marketing Analytics)
desiredDurationstringCapture if the learner specifies how long or detailed they want the answer (e.g., short/quick/concise vs detailed/thorough/comprehensive, or any other precise duration quantity).
educationalBackgroundstringIf the learner mentions their field of study, degree, or academic level, capture it here.
industrystringCapture the learner's industry if specified (e.g., finance, retail, healthcare).
learningModePreferencestringIndicate the format that best matches the request (conceptual explanation, applied demo, case study, real-world example).
lectureSearchQuerystringGenerate a query that will be used to perform a full text search for relevant lecture videos. The query should be based on the user query and any additional relevant context that might help the search service return better results. You can add any additional keywords that might help the search service return better results. Make sure the query is no more than 50 characters.
partnerNamestringCapture the name of a specific content partner e.g. “IBM” or “Stanford” that the learner is looking to learn from.
relatedSubtopicsarrayAny secondary skills or concepts mentioned that would be relevant (e.g., if the query is "help me learn SQL joins in Python,” then subtopics are ["SQL joins”, "Python”]).
rolestringCapture the learner's current or intended role if mentioned (e.g., data analyst, student, software engineer).
topicGranularitystringNote whether the request is broad ("business analytics”) or narrow ("SQL inner join vs left join”).
userGoalstringState the learner's underlying purpose or outcome (e.g., prepare for an interview, complete an assignment, solve a coding error, long-term career growth).
userQuerystringThe exact query from the learner.
userSkillLevelstringIdentify the learner's self-described or inferred level (beginner, intermediate, advanced).