pull-pal/llm/prompts/code-change-request.tmpl
Maximillian von Briesen d92efcb7e9
Prompt improvements (#9)
improve prompt templates to get response in yaml format and make parsing easier
also add debug file functionality so that exact input, prompts, and output can be easily seen for every request
2023-09-04 16:44:59 -04:00

25 lines
532 B
Cheetah

Files:
{{ range $index, $file := .Files }}
- name: {{ $file.Path }}:
contents:
```
{{ $file.Contents }}
```
{{ end }}
Modify the files above to accomplish the following task:
Subject: {{ .Subject }}
Body:
{{ .Body }}
Respond in a parseable YAML format based on the following template. Respond only with YAML, and nothing else:
files:
{{ range $index, $file := .Files }}
-
path: {{ $file.Path }}
contents: |
[new {{ $file.Path }} contents]
{{ end }}
notes: |
[additional context about your changes]