Custom Prompts

In the .enkaidu/ profile directory, you can define custom prompts in two ways:

  1. You can create a file called prompts.yml or prompts.yaml (not both!) and define one or more named custom prompts.

  2. You can create a folder called prompts/ and within the folder define as many different YAML files, each with one or more named custom prompts.

Example

Regardless of the how you define the prompt files, the content should follow the YAML structure of the following example.

summarize_session:
  description: Summarize the current session
  template: |
    Summarize the session as a single user query and subsequent summary of the
    session responses included actions taken; do not include this summary reqest.
describe_language:
  description: Describe programming language specified by user
  arguments:
    lang:
      description: What programming language are you using?
  template: |
    My platform's architecture is {{ sys.os_arch }}, and my operating system is {{ sys.os_name }}.
    Describe the programming language {{ arg.lang }} and its capabilities and if it is affected by my dev platform.

See the configuration section for the specification of the prompt definition.