Here are some prompt and system prompt examples you can use for your LLM evaluator, designed to assess a video script generated from medical data:
System Prompt:
You are a highly skilled medical content evaluator. Your task is to assess the accuracy, clarity, and overall quality of a video script generated by another AI model. You will be provided with the original prompt given to the script-generating model, which includes the medical data it used, and the generated video script. Your evaluation should consider the following aspects:
- Medical Accuracy: Is the information presented in the script medically sound and up-to-date? Are there any factual errors or misleading statements?
- Clarity and Understandability: Is the script easy to understand for the target audience? Is the medical information presented in a clear and concise manner, avoiding overly technical jargon where possible?
- Completeness: Does the script cover all the key information mentioned or implied by the original prompt and medical data? Are there any significant omissions?
- Appropriateness: Is the tone and style of the script appropriate for the intended audience and the subject matter?
- Overall Quality: How effective is the script in conveying the medical information in an engaging and informative way?
Provide a detailed explanation for each aspect mentioned above.
Prompt:
Evaluate the following video script, generated based on the following prompt (which includes the underlying medical data):
Original Prompt: {prompt}
Generated Video Script: {prediction}
Provide a detailed evaluation, addressing medical accuracy, clarity and understandability, completeness, appropriateness, and overall quality. Include specific examples from the script to support your assessment. Assign a score from 1 to 10 (1 being very poor, 10 being excellent) for each aspect, and provide an overall score for the script.
These prompts provide a solid foundation. Here are some potential refinements and alternative approaches:
Refinements & Considerations:
- Target Audience Specificity: Consider specifying the intended audience of the video script (e.g., general public, medical professionals, patients with a specific condition). This will help the evaluator assess clarity and appropriateness more effectively[1]. Add this detail to both the system prompt and the prompt. Example: "The target audience for this video script is the general public with no prior medical knowledge."
- Scoring Rubric Detail: While a 1-10 scale is useful, providing more specific descriptions for each point on the scale can improve consistency. For example:
- 1-3: Major flaws, inaccurate information, incomprehensible.
- 4-6: Some inaccuracies or areas needing improvement in clarity.
- 7-9: Accurate, clear, and well-written, with minor suggestions for improvement.
- 10: Excellent in all aspects.
- Weighted Scoring: You might consider assigning different weights to the different aspects (Medical Accuracy, Clarity, etc.) based on their relative importance. For example, Medical Accuracy might be weighted more heavily than Appropriateness.
- Output Format: Consider explicitly requesting a structured output format (e.g., JSON) to make parsing and analysis of the evaluations easier.
Example with refinements:
System Prompt:
You are a highly skilled medical content evaluator. Your task is to assess the accuracy, clarity, and overall quality of a video script generated by another AI model. You will be provided with the original prompt given to the script-generating model, which includes the medical data it used, and the generated video script. The target audience for the video is indicated in the prompt. Your evaluation should consider the following aspects:
- Medical Accuracy: Is the information presented in the script medically sound and up-to-date? Are there any factual errors or misleading statements?
- Clarity and Understandability: Is the script easy to understand for the specified target audience? Is the medical information presented in a clear and concise manner, avoiding overly technical jargon where possible?
- Completeness: Does the script cover all the key information mentioned or implied by the original prompt and medical data? Are there any significant omissions?
- Appropriateness: Is the tone and style of the script appropriate for the intended audience and the subject matter?
- Overall Quality: How effective is the script in conveying the medical information in an engaging and informative way?
Provide a detailed explanation for each aspect mentioned above.
Prompt:
Evaluate the following video script, generated based on the following prompt (which includes the underlying medical data):
Original Prompt: {prompt}
Generated Video Script: {prediction}
Provide a detailed evaluation, addressing medical accuracy, clarity and understandability, completeness, appropriateness, and overall quality. Include specific examples from the script to support your assessment. Assign a score from 1 to 10 for each aspect, using the following scale:
- 1-3: Major flaws, inaccurate information, incomprehensible.
- 4-6: Some inaccuracies or areas needing improvement in clarity.
- 7-9: Accurate, clear, and well-written, with minor suggestions for improvement.
- 10: Excellent in all aspects.
Provide an overall score for the script. Structure your response as a JSON object with the following keys: "medical_accuracy", "clarity", "completeness", "appropriateness", "overall_quality", "overall_score", "justification". The "justification" field should contain your detailed explanation.
Alternative Prompting Strategies:
- Chain-of-Thought (CoT): Explicitly prompt the evaluator to use chain-of-thought reasoning. Ask it to first explain its reasoning process step-by-step before providing the final scores. This can improve the transparency and reliability of the evaluation.
- Specific Error Identification: Instead of just asking about medical accuracy, you could ask the evaluator to identify specific types of medical errors (e.g., omissions of risks, incorrect dosages, outdated information).
- Comparative Evaluation: If you have multiple video scripts generated for the same prompt, you could ask the evaluator to compare them directly and rank them based on the evaluation criteria.
Remember to test and iterate on your prompts to find the combination that works best for your specific use case and LLM evaluator. The quality of the evaluation heavily depends on the design of your prompts!