> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/forms/overview-and-getting-started/generate-forms-with-ai.md).

# Generate Forms with AI

This document explains how to use the built-in AI feature in the SharinPix Form Template Builder to generate forms. You can use the AI chat interface to describe the form you want with a prompt, or upload a sample file, such as an image or PDF, from which the form can be generated.

You can generate a form by entering a prompt in the AI chat interface and optionally uploading sample files such as images or PDFs. The AI then uses that input to generate an initial draft of the form.

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

### How it works

1. Click on "Work with AI".
2. Enter a short description of the form you want.
3. Attach images or PDF files if you have them.
4. Generate the form.
5. Review and update the result if needed.

### Example prompt

> Create a vendor registration form based on the attached PDF.\
> Keep the same sections and fields, use clear labels, and include the checkboxes and text areas as form fields.\
> Mark the required fields as mandatory.

### Example PDF

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

### Example output

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

{% hint style="warning" %}
**Note:**

* The generated form is a draft.
* Review the form before using it.
* Clear prompts and clear files usually give better results.
  {% endhint %}

{% hint style="info" %}
This feature uses **OpenAI**. If you would like to use another service or model, please contact **<support@sharinpix.com>**.
{% 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 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.sharinpix.com/forms/overview-and-getting-started/generate-forms-with-ai.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.
