Template Content Details
id
- the lowercase id of the template using letters, numbers, hyphens, and underscores (without spaces), ex.my-template
,my_template
,mytemplate
name
- string name of the template, used just for the informationschema_version
- version of the template schema to define support by the prich toolversion
- version of the template, used for the information by user as neededauthor
- author of the template, used for the informationdescription
- description of the template, used for describing the template purposetags
- list of lowercase tags used to mark template with some tags, could be used for searching latersteps
- list of pipeline workflow steps that would be executed in order during the template executionusage_examples
- list of strings to show examples of the template execution commands, used for information onlyvariables
- list of variables available for the templatevenv
-isolated
/shared
used only whenpython
steps are used in the template to specify if isolated venv should be created or to use one shared venv for all templates
Example:
id: test-template
name: Test Template
version: '1.0'
description: Example template - Generate text about specified topic
tags:
- example
- writer
steps:
- name: Ask to generate text
type: llm
instructions: You are {{ role }}
input: Generate text about {{ topic }}
variables:
- name: role
type: str
description: Role of the Assistant
default: article writer
required: false
cli_option: --role
- name: topic
type: str
description: Generate text about Topic
default: short brief about LLM usage
required: false
cli_option: --topic
schema_version: '1.0'