> For the complete documentation index, see [llms.txt](https://cleyrop.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cleyrop.gitbook.io/docs/v4.7-en/le-druide/generer-des-documents.md).

# Generate documents

Generate office documents (Word, PDF, PowerPoint, Markdown) directly from a conversation with Le Druide.

The Druid can produce office documents from your exchanges: report **Word**, presentation **PowerPoint**, **PDF** or file **Markdown**. Describe the desired document in natural language, preview it, and download it directly from the conversation.

***

## Generate a document from a conversation

Document generation transforms an analysis, a summary, or content produced in The Druid into a ready-to-use file.

1. Open a conversation in **Le Druide**.
2. Formulate your request in natural language, specifying the **desired format** (Word, PDF, PowerPoint, or Markdown).
3. Provide the **context** to use if necessary: data, source text, or expected structure.
4. **Preview** the generated document directly in the conversation.
5. **Comment on** the generated document and send your feedback to the Druid so it can produce a corrected new version.
6. **Download** the file: choose the **export format** (Markdown, PDF, Word, or PowerPoint) and, if needed, a *template* (field **Model**).

<figure><img src="https://4159280578-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMHNFH6aA4j5ucH4XFBXy%2Fuploads%2FtffIUamfjq53lKi6qtJU%2Fimage.png?alt=media&amp;token=08c27183-c538-46a1-b784-49da1bcf80f0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4159280578-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMHNFH6aA4j5ucH4XFBXy%2Fuploads%2FegZWMRM2J42oVmrmEzi1%2Fimage.png?alt=media&amp;token=8aad194d-7df3-4e73-a19c-6285d09b27dd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4159280578-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMHNFH6aA4j5ucH4XFBXy%2Fuploads%2FPN71GjouST2tZUyKIpex%2Fimage.png?alt=media&amp;token=04ce694d-ec90-4b72-806c-8b9247cbf380" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
A *template* neutral template (without branding) is applied by default. You can use your own *template* Word or PowerPoint: see [Use your own template](#utiliser-votre-propre-modele).

The comment can be **global** or refer to a **specific passage** of the document.

Each iteration creates a new version; previous versions remain available.
{% endhint %}

***

## Use your own *template* <a href="#utiliser-votre-propre-modele" id="utiliser-votre-propre-modele"></a>

Export a document generated with your visual identity (cover page, headers and footers, styles) from a *template* Word or PowerPoint. In the interface, the *template* is referred to by the field **Model** : this is indeed a document template, with no connection to AI models.

1. Attach your *template* to the conversation: a **.docx** for a Word or PDF export, a **.pptx** for a PowerPoint export.
2. Click on **Download** on the generated document, then choose the **export format**.
3. In **Model**, select your file instead of the **Default template**. You can also drop the *template* directly from this window.
4. Click on **Download** : the document is regenerated with the styles of the *template*.

{% hint style="info" %}

* The *template* is used for the duration of the conversation; it is neither kept for other conversations, nor shared.
* A *template* `.pptx` applies only to a PowerPoint export; a *template* `.docx` only to Word and PDF exports.
* A file that cannot serve as a *template* (macros, invalid structure) is rejected with an explicit message.
  {% endhint %}

***

## Best practices

* Specify the format and expected structure (number of slides, sections) for a more faithful result.
* Provide clear context (data or source text) rather than a vague request.
* Always check the document in the preview before downloading it.
