File size: 612 Bytes
7b335fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
prompt:
  template: |-  # The "|-" makes the following string behave similar to a string in """...""" in Python to render linebreaks correctly. For YAML syntax explanations see e.g. https://www.cloudbees.com/blog/yaml-tutorial-everything-you-need-get-started.
    Translate the following text to {{language}}:
    {{text}}
  template_variables:
    - language
    - text
  metadata:
    name: "Simple Translator"
    description: "A simple translation prompt for illustrating the standard prompt YAML format"
    tags: 
      - translation
      - multilinguality
    version: "0.0.1"
    author: "Guy van Babel"