Prompt
interfaceA named block of prompt text, as returned by prompt.
Import
import { Prompt } from '@modular/sdk';Members4
- content
stringThe text inserted into the composer. prompt removes the common indentation and surrounding whitespace, so multiline template literals can follow the surrounding TypeScript indentation.
- description
stringOne line telling the user what inserting this will do.
- kind
'prompt'- name
stringShort identifier, also what the user sees when picking the prompt.
Notes
- category
- Authoring