ChatGpt in your terminal
Generate an API key -> https://platform.openai.com/account/api-keys
# .bashrc or .zshrc
export OPENAI_API_KEY=your-api-key
# this environment variable is used as authentication in openai's api endpoints
$ npm install -g @princejoogie/chatgpt-cli
$ gpt # this is the bin when installing the package globally
- [x] Response streaming
- [ ] Conversation history
- [ ] Model change (default gpt-3.5-turbo)
$ pnpm install
$ pnpm dev # terminal 1
$ pnpm start # terminal 2
Made with ☕ by Prince Carlo Juguilon