# Documentation Generation

In addition to providing AI Assistants for helping you create Processes and the functionality you require, Frends also includes automatic Process documentation generation with AI. This will take care of the often most important aspect of development, which no one usually wants to do if asked. With AI assisted documentation generation, there are no excuses for not having up to date docs for your Processes.

## AI Assistant for Process Documentation

With Frends, you can have the Process documentation in the same place as your Processes, not requiring a separate platform for that as well. In addition, if you don't want to write the documentation yourself, you can ask someone else, or more likely, the Frends AI Assistant to write it for you.

<figure><img src="https://421307484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQI65mBosbdweu563CvPI%2Fuploads%2F9OivTek6t9ShDJHfRLQD%2Fscreenshot-rocks%20(62).png?alt=media&#x26;token=908fab13-7105-4801-af99-c3c04fdf1718" alt="Picture depicting empty field for writing documentation, while highlighting the button to generate docs automatically with AI."><figcaption><p>Afraid of blank paper? Just click a button to generate the documentation you need.</p></figcaption></figure>

What's especially good about the document generation, is that you won't need to specify any details of what you want. We took care of that with our professional integration developers, who have years of experience in creating and documenting Processes. The AI will receive all the information there is about your Process and about the environment as well, and write out perfect documentation detailing the important aspects of the Process. Just press a button, and you will have more than suitable amount of documentation about the Process, in a format that is easy to understand but detailed enough to provide information to both a seasoned veteran as well as integration newbie.

<figure><img src="https://421307484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQI65mBosbdweu563CvPI%2Fuploads%2FjrSUbboIrakKMZhUsI6m%2Fimage.png?alt=media&#x26;token=2f698d28-9ddb-4c41-8174-f516c4894c43" alt=""><figcaption><p>Just click a button and you have comprehensive documentation about the Process.</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.frends.com/frends-development/ai-features/documentation-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
