# AskAI: Documentation Wizard

::: info Documentation Wizard is a tool that lets you wrap up the summary for your Qlik Sense dashboards. Please note that you should have an active repository for the application you are making documentation for. :::

**Documentation Wizard outputs:**

* The summary for selected sheets
* Use Cases for each chart selected

You can find the Documentation Wizard in Gitoqlok popup:

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FLWRmtLion991MDr7ZWao%2FScreen%20Shot%202023-06-26%20at%2017.39.50.png?alt=media&#x26;token=9457ea0c-91c0-4906-9189-bfbe3b803494" alt=""><figcaption><p>Gitoqlok: Documentation Wizard</p></figcaption></figure>

Select the current app's sheets you want to make documentation for and proceed to open the editor:

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FewznV0cciv8Dco9qbeZO%2FScreen%20Shot%202023-06-13%20at%2002.51.37.png?alt=media&#x26;token=2e7f4b47-7199-4f83-81a7-b020c291f0ab" alt=""><figcaption><p>Open editor for Docs Wizard</p></figcaption></figure>

In the editor window, you can rename the file that is to be saved, view the response along with the prompt passed, and select the charts to make documentation for.

Buttons next to the dashboard titles indicate **the status of the dashboard:**

* **"Hide"** = the dashboard chart(s) are used for generating a documentation
* **"Show"** = the dashboard chart(s) are not used for generating a documentation

::: info By default, all the dashboards (and corresponding charts) are selected - click on "View Prompt" to see what is passed as a prompt.

Note that if the generated file name includes "/" the file is going to be stored in a nested way. Y :::

To select a certain dashboard (and the corresponding charts), click on the status button next to the dashboard. The dashboard toggle is expandable - you can select the charts of interest to proceed:

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FlEwypghjGg8Gps3I6mLU%2FScreen%20Shot%202023-06-26%20at%2017.42.02.png?alt=media&#x26;token=ed69c638-133d-43bc-b92b-8f7e8563d0b4" alt=""><figcaption><p>Select the dashboard and charts</p></figcaption></figure>

*In the example above the "Expenses" sheet and all of its objects are selected. The respective prompt passed is:*

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FLnoGmaYp2DPhWcshiQIh%2FScreen%20Shot%202023-06-26%20at%2017.42.40.png?alt=media&#x26;token=6f4c1bf7-82bd-4784-9cf2-8423e2715489" alt=""><figcaption><p>View prompt</p></figcaption></figure>

To generate documentation, press **"AskAI"** at the bottom right of the editor window:

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2Fcij75IKPzjSuyivfpg44%2FScreen%20Shot%202023-06-13%20at%2003.08.06.png?alt=media&#x26;token=003bd303-bfde-4992-afc9-9b5a07237788" alt=""><figcaption><p>AskAI: Docs Wizard</p></figcaption></figure>

The markdown response from OpenAI is going to appear on the left panel of the window:

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FQpxRlbU18zwzxu0Sinvs%2FScreen%20Shot%202023-06-26%20at%2017.45.19.png?alt=media&#x26;token=26999545-4939-44af-91c8-9d534a0fc266" alt=""><figcaption><p>AskAI: Docs Wizard response</p></figcaption></figure>

Finally, click **"Save"** to save the generated documentation to a GitHub repository. You can view the generated file that has been saved to the Git repository by clicking "View File" on the bottom right:

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FvCmRLawcwrrtZwGU7cDK%2FScreen%20Shot%202023-06-26%20at%2017.45.54.png?alt=media&#x26;token=6bca5cd3-f704-4ea1-8080-53125bf436b1" alt=""><figcaption><p>AskAI: Docs Wizard</p></figcaption></figure>

<figure><img src="https://4000103412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8ZpQhYNESgGtGwV_FQ%2Fuploads%2FHFJmT22Uk0w10f3Pqwog%2FScreen%20Shot%202023-06-26%20at%2017.47.41.png?alt=media&#x26;token=bd5abf5b-64d4-4f43-b403-d7d4e8bf8a88" alt=""><figcaption><p>Documentation Wizard - generated file in a GitHub repository</p></figcaption></figure>

## Alternative: video tutorial
