Skip to content

Commit

Permalink
Add chat example
Browse files Browse the repository at this point in the history
  • Loading branch information
chand1012 committed Jul 17, 2023
1 parent 1297435 commit 0c4863a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ Once that is complete, you can start running commands!

More detailed usage can be found in the [documentation](https://ottodocs.chand1012.dev/docs/usage/otto).

### Chat

![Made with VHS](https://vhs.charm.sh/vhs-7lC4zu09dmW4TZFOyQtCKI.gif)

To Chat with ChatGPT from the commandline, use chat.

```
otto chat
```

### Code Generation

![Made with VHS](https://vhs.charm.sh/vhs-5A6u3ITYSIp2qd1T7XdYEM.gif)
Expand Down
Binary file added img/chat.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions img/chat.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Output img/chat.gif

Set Shell "zsh"
Set FontSize 32
Set Width 1600
Set Height 900

Type "otto chat" Sleep 500ms Enter
Sleep 5s
Type "what are some major differences between Go and Rust?" Sleep 500ms Enter
Sleep 30s

0 comments on commit 0c4863a

Please sign in to comment.