Packages
Description
Prompt Central allows for collecting templates and prompts into package files that can be uploaded to the application and used at runtime. These file are zip file containing a special manifest to allow for better description and indentification.
package.json
The file is JSON and contains these elements:
{
"name": "UNIQUE NAME OF PACKAGE",
"version": "PACKAGE SEMVER",
"description": "SUMMARY TEXT DESCRIBING PACKAGE",
"author": "CONTACT EMAIL OR WEB",
"files": []
}-
nameThe name of the package for display in the web application. This name needs to be unique within a single instance.
-
versionThe semantic version of the package.
-
descriptionThe summary text describing the package. This is displayed in the application when searching for template or prompts.
-
authorInclude a method for contacting the author. Email address or URL is supported.
-
filesThis is an array of file objects used to tag filers in a package for further processing.