---
title: Response Generation
type: templates
category: Conversational AI
cat: conversational-ai
order: 801
meta_title: Response Generation Data Labeling Template
meta_description: Template for generating responses in natural language understanding use cases with Label Studio for your machine learning and data science projects.
---
If you want to train a machine learning model to generate a response for a chatbot or other conversational AI use case, use this template to provide a section of dialogue and type a response to create a training dataset.
## Interactive Template Preview
## Labeling Configuration
```html
```
## About the labeling configuration
All labeling configurations must be wrapped in [View](/tags/view.html) tags.
Use the [Paragraphs](/tags/paragraphs.html) object tag to display dialogue to annotators:
```xml
```
You can add a [header](/tags/header.html) to provide instructions to the annotator:
```xml
```
Use the [TextArea](/tags/textarea.html) control tag to provide a spot for annotators to provide a response to the sample of chat dialogue:
```xml
```
The `editable="true"` parameter allows annotators to edit their response, but `maxSubmissions="1"` ensures that annotators provide only one response.
## Related tags
- [Paragraphs](/tags/paragraphs.html)
- [Header](/tags/header.html)
- [TextArea](/tags/textarea.html)