> For the complete documentation index, see [llms.txt](https://docs.novacura.com/marketplace-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novacura.com/marketplace-documentation/components/explore-components/form-recognizer/documentation/form-recognizer-studio.md).

# Form Recognizer Studio

## What is Form Recognizer Studio

[Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/) is an online tool for visually exploring, understanding, and integrating features from the Form Recognizer service into your applications. More information regarding the Form Recognizer Studio and how to get started analyzing documents with pre trained and custom models can be found [here](https://learn.microsoft.com/en-us/azure/applied-ai-services/form-recognizer/quickstarts/try-form-recognizer-studio?view=form-recog-3.0.0).&#x20;

### Start using Form Recognizer Studio

Navigate to the following URL <https://formrecognizer.appliedai.azure.com/studio>.

Scroll down to the bottom of the page and click on  "Custom Extraction Model".<br>

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

In this screen you will see all existing projects and the options to create, share, import and delete projects.

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

### Train a model

#### Create Project

When you have a new customer who doesn't have a project/trained model, you will need to create a project and go trough the setup process.

* Click on "Create a project"
* Enter project details according to the prompt - click "Continue".

<figure><img src="/files/5aXTEIY5VrGbXD2B2gD3" alt=""><figcaption></figcaption></figure>

* Configure service resources according to the prompt - click "Continue".
  * "Subscription", "Resource Group", "Form Recognizer, or Cognitive Resource"  - these are defined under the installation documentation of this component and should be available in the drop-down list.

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

* Connect training data source according to prompt - click "Continue".
  * "Subscription", "Resource Group", "Storage Account", "Blob container" is defined under the installation documentation of this component.
  * Set Folder Path.&#x20;
    * Should be have the format {CustomerId}\_{AddressId}

{% hint style="warning" %}
It's important that the Folder Path have the correct format or else the solution will not work.
{% endhint %}

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

* Review and create - click "Create project".

  * Go through the summary.

  <figure><img src="/files/2qZfbwgAvEieatRMZR1S" alt=""><figcaption></figcaption></figure>
* You have now created a new project for your customer and you can now train a model.

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

#### **Prepare your training data**

To get started you need at least five documents for training your model, or else you will be shown the following prompt.&#x20;

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

These documents should cover the range of variations and layouts you expect in your target documents. Make sure your documents are of sufficient quality and in a supported format.

**Label your training data**

In Form Recognizer Studio, you'll need to label the key fields of the information you want the model to extract from the documents. This labeling process involves identifying and highlighting the relevant fields in each document manually. You can use the labeling tools provided in the studio to annotate your data accurately.\
\
After you have uploaded your first document to the Form Recognizer Studio you can start to labeling your document.

* Click on "Run Layout" - the Form Recognizer Studio will try to map objects in your document.

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

* To add fields to your document, click on the "Draw region" button.
* You are now able to highlight text and objects and map these labels to different fields.
  * Highlight the text/object where you want to create a field.
  * Give the field a name.
  * Set the type of the field.

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

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

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

{% hint style="info" %}
When creating a field you need to make sure that the Subtype of the field is correct.
{% endhint %}

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

If the Subtype is not correct, you may not get all the data when using the REST connector.

* For example, if you have used "Integer" instead of "Number" for the field "Price" then you will miss the decimal values for that field.

You have now created a field and it is now visible on the right side in the Form Recognizer Studio.

* Repeat for all relevant data in your document.
* Exit by click the button "End drawing".

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

**Upload and train your model**

Once you've labeled at least five documents, then you can upload your training data to the Form Recognizer Studio.\
The studio will analyze your data to learn the layout and structure of the documents, then initiate the training process. The Form Recognizer Studio will use the labeled data to train a custom model tailored to your specific document types.

* Click on the button "Train"

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

**Evaluate and iterate**

After training, evaluate the performance of your model using a separate set of test documents. Review the extracted information and identify any areas where the model may need improvement.

* Navigate to Test, upload a similar document, and then click on the "Run analysis" button.

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

* Form Recognizer Studio will run an analysis of this document using the trained model.

<figure><img src="/files/6rlGkUm8k4v3IloeBv9T" alt=""><figcaption></figcaption></figure>

* Depending on the result of the analysis you may or may not need to relabel some fields and retrain your model.

**Iterate and improve**

Based on the evaluation results, iterate on the training process. You can add more labeled data, refine the labels, or adjust parameters to improve the model's performance. Repeat the training process until you achieve satisfactory results.


---

# 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.novacura.com/marketplace-documentation/components/explore-components/form-recognizer/documentation/form-recognizer-studio.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.
