diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-30 10:36:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-30 10:36:08 +0800 |
| commit | b3e687943811fd48589d7030122c33c7e9867ec9 (patch) | |
| tree | ecd1d829420f928a7df4a46d7bab0db24cb66755 /README.md | |
| parent | 44ea384ee59fafb76882e1d6687bc4cbc6d61611 (diff) | |
| download | aichat-b3e687943811fd48589d7030122c33c7e9867ec9.tar.gz | |
feat: deprecate prompt, remove `--prompt` and `.prompt` (#176)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 32 |
1 files changed, 2 insertions, 30 deletions
@@ -29,8 +29,7 @@ Download it from [GitHub Releases](https://github.com/sigoden/aichat/releases), - Supports multiple AIs, including openai and localai. - Support chat and command modes -- Predefine model [roles](#roles) -- Use GPT prompt easily +- Use [roles](#roles) - Powerful [Chat REPL](#chat-repl) - Context-aware conversation/session - Syntax highlighting markdown and 200 other languages @@ -91,9 +90,7 @@ clients: # Setup AIs ### Roles -We can let ChatGPT play a certain role through `prompt` to have it better generate what we want. - -We can predefine a batch of roles in `roles.yaml`. +We can define a batch of roles in `roles.yaml`. > We can get the location of `roles.yaml` through the repl's `.info` command or cli's `--info` option. @@ -167,7 +164,6 @@ AIChat also provides `.edit` command for multi-lines editing. .info Print system-wide information .set Modify the configuration temporarily .model Choose a model -.prompt Add a GPT prompt .role Select a role .clear role Clear the currently selected role .session Start a session @@ -216,30 +212,6 @@ vi_keybindings true > .model localai:gpt4all-j ``` -### `.prompt` - Set GPT prompt - -When you set up a prompt, every message sent later will carry the prompt. - -``` -〉{ .prompt -I want you to translate the sentences I write into emojis. -I will write the sentence, and you will express it with emojis. -I just want you to express it with emojis. -I want you to reply only with emojis. -} -Done - -P〉You are a genius -👉🧠💡👨🎓 - -P〉I'm embarrassed -🙈😳 -``` - -`.prompt` actually creates a temporary role internally, so **run `.clear role` to clear the prompt**. - -When you are satisfied with the prompt, add it to `roles.yaml` for later use. - ### `.role` - Let the AI play a role Select a role: |
