summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
AgeCommit message (Collapse)AuthorLines
2023-03-09feat: support two types of role prompts (#52)sigoden-43/+21
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. ```
2023-03-09refactor: trivial updatessigoden-9/+3
- change prompt's temp role name - questionnaire of 'save chat messages' default set true - `.info` do not show role name
2023-03-09feat: add remain tokens indicator and max tokens guard (#50)sigoden-30/+37
2023-03-09feat: support conversation (#48)sigoden-0/+429