# Using Doc Analysis

{% stepper %}
{% step %}

### Initiating a New Analysis

To start a new analysis:

1. Click on **'Start Analysis'**
2. Enter a unique Analysis Title
3. The recommended and optimal model for document analysis is preselected.
4. Enter the questions you need to extract from each upload document.
5. Choose a Dataset
   * Select an existing dataset or import a new one from the EmpowerGPT app
6. Once all required fields are complete, the Run Analysis button becomes active
7. Click Run Analysis to begin

<figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2F9b3Ya9MqHlGPGYbrRepn%2FPage_111%20(1).png?alt=media&#x26;token=05890325-18a6-46c5-93cc-c180aa585439" alt=""><figcaption><p>Analysis Detail</p></figcaption></figure>

<figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FOqUesj1ExK2wLAnhQVqs%2FPage_111%20(2).png?alt=media&#x26;token=1b63c110-d4a7-494e-b6f7-be3cc9f93fff" alt=""><figcaption><p>Create Questionnaire</p></figcaption></figure>

<figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2F4vEELgdJLzF4fIJ3OdMV%2FPage_111%20(3).png?alt=media&#x26;token=e3aac800-ecb9-4cb9-b392-db00dbe813da" alt=""><figcaption><p>Create Dataset</p></figcaption></figure>
{% endstep %}

{% step %}

### Analysis Execution

* Responses are generated **sequentially**, one question at a time
* Users can click on any generated response to open the **Detailed Response View**
* The detailed response includes:
  * Full answer text
  * Document references
  * Page numbers
  * Clickable links to open the source document
* Users may navigate to **Next** or **Previous** questions
* The detailed view closes when clicking outside the window
  {% endstep %}

{% step %}

### Editing Questions After Completion

When the analysis is completed:

* Users can edit individual questions directly
* After editing a question, click the ✔️ button to save
* A new response is automatically regenerated for the edited question
* Edited questions display an **"Edited"** tag

#### **Updating a Questionnaire**

If an analysis uses a questionnaire, the system handles updates depending on whether the questionnaire is used elsewhere:

* If NOT used in any other analysis → An Update button appears
  * Clicking Update saves the edited questions to the original questionnaire
* If used in other analyses → Updating is restricted
  * A Save As New Copy option appears
  * The new questionnaire is automatically linked to the current analysis
    {% endstep %}
    {% endstepper %}

***

### Analysis Status

<table><thead><tr><th width="187.26953125">Status</th><th>Description</th></tr></thead><tbody><tr><td><strong>In Progress</strong></td><td>Responses are currently being generated. Editing is disabled. Users may view details and references.</td></tr><tr><td><strong>Completed</strong></td><td>All responses are generated. Users may edit questions and regenerate answers.</td></tr><tr><td><strong>Regenerating</strong></td><td>Occurs when a question or full analysis is being regenerated. Editing remains disabled.</td></tr><tr><td><strong>Cancelled</strong></td><td>Analysis was manually cancelled before completion. No remaining questions are answered.</td></tr><tr><td><strong>Partially Completed</strong></td><td>Some answers were generated; others failed due to communication issues. Users may regenerate only the unanswered ones.</td></tr><tr><td><strong>Failed</strong></td><td>No answers were generated due to system or source issues.</td></tr></tbody></table>
