Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CristiVlad25/gpt-cli
Access GPT3, ChatGPT, and GPT4 straight from your terminal
https://github.com/CristiVlad25/gpt-cli
Last synced: 3 months ago
JSON representation
Access GPT3, ChatGPT, and GPT4 straight from your terminal
- Host: GitHub
- URL: https://github.com/CristiVlad25/gpt-cli
- Owner: CristiVlad25
- Created: 2023-01-08T15:09:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T15:52:20.000Z (over 1 year ago)
- Last Synced: 2024-05-16T00:48:11.015Z (6 months ago)
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 175
- Watchers: 3
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-gpt4 - gpt-cli - Access GPT3, ChatGPT, and GPT4 straight from your terminal. (Tools / Open-source projects)
- awesome-gpt4-zh-CN - gpt-cli - 直接从你的终端访问GPT3、ChatGPT和GPT4。 (提示- [会议安排](https://github.com/stephanj/Scheduling-using-GPT4) 使用GPT-4。 / 开源项目)
README
![Untitled](https://user-images.githubusercontent.com/17044663/211204519-feaa9464-d8f3-495c-b61c-5eb7532f67b9.png)
# gpt-cli
Access GPT3, ChatGPT, and GPT4 straight from your terminal.### How to use:
1. Create a new file in the root folder or in other location: `nano /root/gpt.sh`.
2. Paste the code from either `*.sh` files and make sure to edit line #4 to reflect your OPENAI API Key. Save.
3. `chmod +x gpt.sh`.
4. For convenience of access, add an alias to `/.bashrc` located in `/root`, such as: `alias gpt=/root/gpt.sh`.
5. Use: `gpt `.Note: I've hardcoded some of the parameters (temperature, presence penalty, frequency penalty, max token, top_p) for convenience. In the future, if there is interest, I might develop this further.