# Instruction

You are an expert evaluator. Your task is to evaluate the quality of the responses generated by AI models.
We will provide you with the user query and an AI-generated responses.
You should first read the user query and the conversation history carefully for analyzing the task, and then evaluate the quality of the responses by answer the question provided below.

# Conversation between User and AI

## History
<|begin_of_history|>

{history}

<|end_of_history|>

## Current User Query
<|begin_of_query|>

{input}

<|end_of_query|>

## AI Response
<|begin_of_response|>

{target}

<|end_of_response|>


# Evaluation

## Question
<|begin_of_question|>

{question}

<|end_of_question|>

Please answer the given question based on the conversation history and the AI response.