---
title: LLM Response Grading
type: templates
category: LLM Evaluations
cat: llm-evaluations
order: 955
is_new: t
meta_description: Assigning a grade to LLM responses based on how well it meets your internal guidelines.
date: 2024-07-26 14:48:00
---
Sometimes it is useful to assign a grade to the LLM response based on the quality of the generated text.
In this example, you are grading an LLM's ability to summarize a document. The input data includes the document and the summary, and then you are rating the summary on a scale of 1 through 5.
For a tutorial on how to use this template with the Label Studio SDK, see [Evaluate LLM Responses](https://api.labelstud.io/tutorials/tutorials/evaluate-llm-responses).
## Configure the labeling interface
[Create a project](/guide/setup_project) with the following labeling configuration:
```xml
```
This configuration includes the following elements:
* `` - All labeling configurations must include a base `View` tag. In this configuration, the `View` tag is used to configure the display of blocks, similar to the div tag in HTML. It helps in organizing the layout of the labeling interface.
* `