> For the complete documentation index, see [llms.txt](https://docs-conversational-ai.syntphony.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-conversational-ai.syntphony.com/generative-ai/examples-generator.md).

# Examples Generator

Enrich your knowledge base by automatically generating a list of utterance examples related to the context of each intent. To do so, you just have to fill the field Name and click the button "Generate examples". A list with up to 10 unique examples of user utterances will appear for you at each generation.&#x20;

<figure><img src="/files/K0c2F8wQvZ5Br5rIRjXo" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The utterances examples will be generated in the virtual agent's main language.&#x20;
{% endhint %}

To deliver context-related utterance examples, eva makes inferences in the fields Name and About. The 'List of Examples' can also be used, if any have been added beforehand. That's why keeping your examples current is good way to maximize the technology's capabilities for more effective suggestions.

<div><figure><img src="/files/WG508TjJlwbOkk7BXesL" alt=""><figcaption><p>Name your intent and click generate</p></figcaption></figure> <figure><img src="/files/nL3uag3i5e4pD6B60iHu" alt=""><figcaption><p>New examples will appear in light pink</p></figcaption></figure> <figure><img src="/files/CSCqZaVqtQVx4N44UgHt" alt=""><figcaption><p>Select those you don't want to add to the Intent</p></figcaption></figure> <figure><img src="/files/WUvrK6vM33cqpCWAaS5E" alt=""><figcaption><p>You can still add them manually</p></figcaption></figure></div>

If you want to improve the quality of the results, fine-tune the description of the intent in the optional field About, it can be a little context or voice tone, for instance, then click again on 'Generate examples' to (re)generate more options. They'll be added to the list.

{% hint style="info" %}
**Important:** Enabling this feature may result in additional costs for each new request. Go to Extensions to enable it. [Learn more](/configurations/advanced-resources.md)
{% endhint %}

{% hint style="warning" %}
This feature is not available for virtual agents using Zero-Shot LLM models.
{% endhint %}

The macro prompt used in this functionality is as follows:

> "Generate 10 unique intents consisting of questions, statements, and negations on the topic of "{name}".
>
> Avoid repetitive words and prepositions, and utilize synonyms where possible.
>
> Never quote the sentences.
>
> Keep the intended audience and stated purpose in mind while drafting.
>
> Vary the sentence structure to prevent monotony, and ensure that each sentence is coherent and clear to the reader.
>
> Number each sentence. All sentences must be written in {lang}."


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-conversational-ai.syntphony.com/generative-ai/examples-generator.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
