> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/aqua-intelligence/create-requirements-with-ease-with-aqua-intelligence/create-user-stories-bdds-or-prds-based-on-a-file.md).

# Create user stories, BDDs, or PRDs based on a file

With aqua Intelligence users can quickly generate User Stories, Behavior-Driven Development (BDD) requirements, or Product Requirements Documents (PRD) based on files they upload. Supported file formats include images (png, jpg, webp, tiff), xlsx, and PDFs. This feature is designed to speed up requirement documentation by leveraging pre-existing materials and transforming them into actionable requirements.

When creating the requirement with aqua Intelligence, select **the 'File' as input option and upload your file.** Click 'Browse' or drag and drop your file into the designated area.

Provide additional context in case you find it important for aqua Intelligence to consider.

Choose between creating a **user story**, **BDD**, or **PRD**. and click 'Create' button.

<figure><img src="/files/944guvL9UPYPHVFNyZlB" alt=""><figcaption></figcaption></figure>

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

After the document is generated, you can review the content, make any necessary edits, and add it.

If you don't like the result, click 'Regenerate' icon.

You can create requirements based on the files from the requirements page too. Just click the button 'Write' and use it as from the navigation page.&#x20;

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

{% hint style="info" %}
Please note that while this feature is in beta, it has a few limitations:

* It can generate only one document at a time.
  {% endhint %}

You can create one or multiple User Stories or features written in the Gherkin format at a time!&#x20;

Check out the next page for mutliple items output [Create multiple user stories or BDDs with aqua Intelligence](/documentation/aqua-intelligence/create-requirements-with-ease-with-aqua-intelligence/create-multiple-user-stories-or-bdds-with-aqua-intelligence.md)


---

# 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.aqua-cloud.io/documentation/aqua-intelligence/create-requirements-with-ease-with-aqua-intelligence/create-user-stories-bdds-or-prds-based-on-a-file.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.
