summaryrefslogtreecommitdiffstats
path: root/src/render/mod.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-09 19:10:02 +0800
committerGitHub <noreply@github.com>2023-03-09 19:10:02 +0800
commit9767c07eeeb20cb2f8386faf66cb88452987988b (patch)
treefd6eec9a9ccad49798ab9de7329db507987d8a4d /src/render/mod.rs
parentc45d71cdeabbced7a55381e3b431c3eae3799ac0 (diff)
downloadaichat-9767c07eeeb20cb2f8386faf66cb88452987988b.tar.gz
feat: support two types of role prompts (#52)
1. embeded prompt use __INPUT__ placeholder will generate one user message when send to gpt ``` - name: shell prompt: > I want you to act as a linux shell expert. Q: How to unzip a file A: unzip file.zip Q: __INPUT__ A: ``` 2. system prompt no __INPUT__ placeholder will generate on system message and one user message when send to gpt ``` - name: shell prompt: | I want you to act as a linux shell expert. I want you to answer only with bash code. Do not write explanations. ```
Diffstat (limited to 'src/render/mod.rs')
0 files changed, 0 insertions, 0 deletions