From d2e06bf7168de362ebcca45e977db96aaa3fa3b4 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 30 Oct 2023 19:30:28 +0800 Subject: chore: update readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 48cf2a7..de00983 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ Select a role: 〉.role emoji ``` -Send message with role: +Send message with the role: ``` emoji〉hello @@ -239,7 +239,7 @@ prompt: I want you to translate the sentences I write into emojis. I will write temperature: null ``` -## `.session` - context-aware conversation +### `.session` - context-aware conversation By default, aichat behaves in a one-off request/response manner. @@ -294,9 +294,11 @@ Options: -V, --version Print version ``` +Here are some practical examples: + ```sh aichat -s # Start REPL with a new temp session -aichat -s temp # Use temp session +aichat -s temp # Reuse temp session aichat -r shell -s # Create a session with a role aichat -m openai:gpt-4-32k -s # Create a session with a model aichat -s sh unzip a file # Run session in command mode -- cgit v1.2.3