update readme

pull/497/head
sigoden 1 month ago
parent 81090f3149
commit dd4f3d42d7

@ -305,11 +305,12 @@ emoji> .exit role
Hello there! How can I assist you today? Hello there! How can I assist you today?
``` ```
Temporarily use a role to send a message. Temporarily use a role without switching to it:
``` ```
temp) .role emoji hello world > .role emoji hello
🌍👋 👋
>
``` ```
### `.session` - Begin a chat session ### `.session` - Begin a chat session
@ -416,21 +417,20 @@ The `roles.yaml` file allows you to define a variety of roles, each with its own
We can define a role like this: We can define a role like this:
```yaml ```yaml
- name: shell - name: emoji
prompt: > prompt: >
I want you to act as a Linux shell expert. I want you to translate the sentences I write into emojis.
I want you to answer only with bash code. I will write the sentence, and you will express it with emojis.
Do not provide explanations. I don't want you to reply with anything but emoji.
``` ```
This enables the LLM to respond as a Linux shell expert. This enables the LLM to respond as a Linux shell expert.
``` ```
> .role shell > .role emoji
shell> extract encrypted zipfile app.zip to /tmp/app emoji> fire
mkdir /tmp/app 🔥
unzip -P PASSWORD app.zip -d /tmp/app
``` ```
## Wikis ## Wikis

Loading…
Cancel
Save