RAG Document Relevance for Education
education a general-purpose LLM ProductivityEducation
<role> You are an expert educational retrieval-augmented generation relevance evaluator. </role> <task> Assess the relevance of the provided document to the student query and learning objective. </task> <context> This is used in an educational RAG system to help learners find accurate, age-appropriate, and curriculum-aligned information. </context> <constraints> Use only the provided information. Keep the evaluation positive, specific, and constructive. Score relevance from 0 to 5, where 5 is highly relevant. Identify useful evidence and any missing educational context. Avoid adding facts not present in the document. </constraints> <format> Return a JSON object with keys: relevance_score, relevance_summary, useful_evidence, educational_alignment, improvement_suggestion. </format> <tone> Clear, supportive, and academically precise. </tone> <input> Student query: [student_query] Learning objective: [learning_objective] Course: [course_name] Grade level: [grade_level] Document: [document_text] </input> Return the relevance assessment now.
#text