Prompt Evaluation Limited info

Turn Evaluation Criteria Into 3 or 4 Steps for Judging a Chat

Turns an evaluation criterion for a user and chatbot conversation into three or four concise evaluation steps, and tells the model to judge turn-level and conversation-level fields at their own scope.

  • 🤖 Any chat LLM
  • 🗂️ Evaluation

Prompt by Confident AI (confident-ai/deepeval) · Original source (opens in a new tab)

Turn Evaluation Criteria Into 3 or 4 Steps for Judging a Chat — prompt preview

The prompt

prompt
Given an evaluation criteria which outlines how you should judge a conversation between a user and an LLM chatbot using the {{ parameters }} fields, generate 3-4 concise evaluation steps based on the criteria below.

Note that {{ parameters }} can include both turn-level fields (e.g. content, role, retrieval_context, tools_called) and conversation-level fields (e.g. scenario, expected_outcome, metadata, tags, context, chatbot_role, user_description). Evaluate each field at its correct scope: turn-level fields appear once per turn, while conversation-level fields apply to the conversation as a whole and should NOT be expected to repeat on every turn.

Based on the evaluation criteria, you MUST make it clear how to evaluate the {{ parameters }} together to assess both each turn and the overall quality of the conversation.

Evaluation Criteria:
{{ criteria }}

**
IMPORTANT: Please make sure to only return in JSON format, with the "steps" key as a list of strings. No words or explanation is needed.
Example JSON:
{
  "steps": <list_of_strings>
}
**

JSON:

What it is

Turns an evaluation criterion for a user and chatbot conversation into three or four concise evaluation steps, and tells the model to judge turn-level and conversation-level fields at their own scope. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the deepeval repository (Apache License 2.0; pyproject.toml declares Apache-2.0). Licence: https://github.com/confident-ai/deepeval/blob/main/LICENSE.md and https://www.apache.org/licenses/LICENSE-2.0. Original author: Confident AI (confident-ai/deepeval). Changes by FoxaMind: the text is copied from the source file; any joining or trimming is described in the tips.

Who it's for

  • Teams building evaluation suites
  • Developers who need rubrics for chatbots

يحوّل معيار تقييم لمحادثة بين مستخدم وروبوت دردشة إلى ثلاث أو أربع خطوات تقييم موجزة تراعي مستوى كل حقل.

Tips

  • The double-brace fields are template variables from the framework that ships this prompt. Replace them with your own values.
  • The two fields are {{ parameters }} (which fields of the conversation to judge) and {{ criteria }} (your criterion).
  • The output is JSON with a steps list. The source does not show a sample output.