You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Gptcmd allows you to interact with large language models, such as OpenAI's GPT,
4
4
## Getting started
5
5
Gptcmd requires [Python](https://python.org) 3.7.1. Python 3.8.6 or later is strongly recommended and will be required to run future releases. Gptcmd is available on PyPI, and can, for instance, be installed with `pip install gptcmd` at a command line shell. Running `gptcmd` at a shell starts the application. If Python's `bin` or `scripts` directory isn't on your path, you may need to launch the application with a command like `~/.local/bin/gptcmd` (depending on your system configuration). In most cases though, `gptcmd` should "just work".
6
6
7
-
If you'd like to use OpenAI models and you don't have an OpenAI account, you'll need to create one and [add some credit](https://platform.openai.com/account/billing/overview). $5 or so goes very far, especially on `gpt-4o-mini`.
7
+
If you'd like to use OpenAI models and you don't have an OpenAI account, you'll need to create one and [add some credit](https://platform.openai.com/account/billing/overview). $5 or so goes very far, [especially on `gpt-4o-mini`](#model-selection).
8
8
9
9
Gptcmd searches for provider credentials in its configuration file, falling back to the `OPENAI_API_KEY` environment variable if no key is provided in its configuration. If you'd like to use OpenAI models and you don't have an API key, you'll need to [generate a key](https://platform.openai.com/account/api-keys).
10
10
@@ -172,7 +172,7 @@ Similarly, user and assistant messages can be added with the `user` and `assista
172
172
173
173
```
174
174
(gpt-4o) user What are the first five Fibonacci numbers?
175
-
'What are the first five Fibanacci numbers?' added as user
175
+
'What are the first five Fibonacci numbers?' added as user
176
176
(gpt-4o) assistant 1, 1, 2, 3, 5.
177
177
'1, 1, 2, 3, 5.' added as assistant
178
178
(gpt-4o) say And the next five?
@@ -313,7 +313,7 @@ If pi were equal to three point one four six two eight, then pi would be rationa
313
313
Therefore, we conclude that pi is not exactly equal to three point one four six two eight.
314
314
```
315
315
316
-
The `edit` command with no arguments opens the contents of the last message in an external text editor for editing. Providing the index of a message to `edit` as an argument edits that message.
316
+
The `edit` command with no arguments opens the contents of the last message in an external text editor for modification. Providing the index of a message to `edit` as an argument edits that message.
317
317
318
318
### Message streaming
319
319
The `stream` command toggles message streaming. By default, streaming is enabled, so long responses from the language model are output in real time as they are generated. While a message is being streamed, pressing <kbd>Control</kbd>+<kbd>c</kbd> causes Gptcmd to stop waiting for the message to generate fully, allowing other commands to be used. When streaming is disabled, Gptcmd retrieves an entire response for each query and displays it when it arrives.
@@ -411,8 +411,8 @@ The `set` command with no arguments shows all set API parameters:
0 commit comments