Template File Metadata
Template File Metadata
---
PromptInfo:
promptId: getParagraph
name: ✍️ Write paragraphs
description: select a content contiens items, a paragraph for each item will be generated.
required_values: title, outline
author: Noureddine
tags: writing
version: 0.0.1
commands:
- generate
---
PromptInfo is metadata that contains information about the prompt and must be in the header of each template.
It contains the following fields:
- promptId: a unique string to identify the prompt. It is used as the id for each prompt in the UI.
- name: a name to identify the prompt. It should be short and precise.
- description: a description to explain what this prompt does and how to use it, you can put anything here, but simple and concise is better.
- author: an author name or username to credit who wrote this prompt.
- required_values: the required values for the template.
- tags: Some tags that describe this prompt. This information is used in filtering prompts.
- version: the version of this prompt, follow semantic versioning.
-
commands: This is used to convert templates to commands to be able to assign hotkey for each command (you need to reload the plugin to see the changes)
-
generate
: complie the template and generate the content through gpt-3 and insert the result in the active note. -
generate&create
: complie the template and generate the content through gpt-3 and insert the result in the new note. -
insert
: complie the template and insert the result in the active note without gpt-3 insert the result in the active note.. -
insert&create
: complie the template and insert the result in the active note without gpt-3 insert the result in the new note.. -
model
: show the template as form of inputs and insert the result in the active note. -
clipboard
: complie the template and generate the content through gpt-3 and write the result in the clipboard.
-
Table of contents
Local Graph
Mentions
Templates
[!note] Templates Templates are used to make your work easier by providing a structure so that you don’t have to...
What's New
Version 0.3.0-beta Key features and improvements in Text Generator v0.3.0-beta include: Refactoring the code: To ensure optimal performance and readability,...