> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/form-management/form-designer/questions/question-types/smart-generator.md).

# Smart Generator

The smart generator wizard uses the power of [AI](/ai-suite.md)[ Suite](/ai-suite.md) to generate a set of questions based on any topic of your choice or based on a description of the kind of survey of form that you would like to create. Based on your description the [AI Suite](/ai-suite.md) will automatically generate a matching set of questions and answers for you.

<figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FpDd6wts52kInD60txYru%2Faigen.gif?alt=media&amp;token=f30167f8-0349-4754-aad7-e5b1f6895cf0" alt=""><figcaption><p>Dynamic questions generation using AI</p></figcaption></figure>

{% hint style="info" %}
Generating questions based on a plain text topic is a very complex process that may take time depending on the requirements that you have set and also depending on the AI service provider service availabilities.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/form-management/form-designer/questions/question-types/smart-generator.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
