PromptInput
interfaceWhat prompt needs: a name, a one-line description, and the text.
Import
import { PromptInput } from '@modular/sdk';Members3
- 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.
- name
stringShort identifier, also what the user sees when picking the prompt.
Notes
- category
- Authoring