---
tags: [documentation, obsidian, plugin, gpt-3]
author: [yann houry]
date: 19-10-2022
---
Plugin découvert en lisant [Photoshop for text](https://stephanango.com/photoshop-for-text). Possède à présent un compte Twitter [@TextGenPlugin](https://twitter.com/TextGenPlugin) et un [site web](https://text-gen.com/).
> [!info]+
> Référence à Text Generator dans
> - [[15 exemples concrets d'utilisation en classe de l'IA]]
> - [[Écriture et IA]]
Lire [Obsidian Textgenerator Plugin](https://github.com/nhaouari/obsidian-textgenerator-plugin) pour comprendre comment procéder. En gros,
1. Create an account on [OpenAI](https://beta.openai.com/signup)
2. Click on your `Account` and click on `View API keys`
3. Generate the API key that Text Generator Plugin will use
4. After installing the "Text generator plugin" and enabling it, you need to provide the generated API Key to the plugin
Shortcuts to use the plugin
- `ctrl + j`
- `ctrl ⌥ 1`
- `ctrl ⌥ 2`
- `ctrl ⌥ j`
Je l'utilise le plus souvent en tapant `cmd + p` et tape "text..." puis choisis l'option désirée.
## Updates
Peut à présent intégrer des images générées avec Dall.e. Prompt à utiliser : `Generate and insert template`.
Lire https://docs.google.com/document/d/11WlzjBT0xRpQhP9tFMtxzd0q6ANIdHPUBkMV-YB043U/edit
Important apport : [les templates](https://text-gen.com/templates) permettant de tirer partie plus finement de GPT mais aussi de [Huggingface](https://huggingface.co/welcome).
<iframe width="560" height="315" src="https://www.youtube.com/embed/OergqWCdFKc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
1. `cmd + p`
2. Text Generator
3. Generate and Insert Template
4. Sélectionner le template voulu (par exemple `Summarize` ou `Get Tags for Your Content`)
Lire en particulier
- [Template File Metadata](https://text-gen.com/template-file-metadata)
- [Context available for templates](https://text-gen.com/context-available-for-templates)
Penser à aller d'abord dans Text Generator: *Templates Packages Manager* (dans la barre latérale gauche d'Obsidian) et installer les templates
> [!info]+ Voir également
> Le plugin [GPT3 Notes](https://github.com/micahke/obsidian-gpt3-notes)
---