# 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="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2F6FLAB9a5tCQBJC5QLrR4%2Fgenerate_form_with_ai_1.png?alt=media&#x26;token=faf166f4-451f-42ad-af2e-47ba8374e3f8" 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="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FoeklWabsWcyYgbAFdunL%2Fgenerate_form_with_ai_3.png?alt=media&#x26;token=fb4f762f-bd1f-4bbd-9425-847b6d828531" alt=""><figcaption></figcaption></figure>

### Example output

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2F8nfFlv6ijFPaVVAvvpph%2Fgenerate_form_with_ai_2.png?alt=media&#x26;token=27908925-57e6-4958-ac5c-675c0b0a9862" 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 %}
