Create README.md

This commit is contained in:
0xacx 2023-02-09 01:12:25 +02:00 committed by GitHub
parent 32be4f1688
commit d6d6e906f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ The script uses the `completions` endpoint and the `text-davinci-003` model for
- Generate images from a text prompt
- View your chat history
- List all available OpenAI models
- Set OpenAI request parameters
![Screenshot 2023-01-12 at 13 59 08](https://user-images.githubusercontent.com/99351112/212061157-bc92e221-ad29-46b7-a0a8-c2735a09449d.png)
@ -57,4 +58,8 @@ This script relies on curl for the requests to the api and jq to parse the json
- To view your chat history, type `history`
- To get a list of the models available at OpenAI API, type `models`
- To view all the information on a specific model, use `model:` and the model `id` as it appears in the list of models. For example: `model:text-babbage:001` will get you all the fields for `text-babbage:001` model
- To set request parameters (temperature, model, image size and max tokens) you can start the script like this: `chatgpt --temperature 0.9 --model text-babbage:001 --max-tokens 100 --size 1024x1024`
The available parameters are:
- `temperature`, `-t` or `--temperature`