Comment

Comment by aqme28

I have a basic python script running in one of my tabs on my CLI to talk to OpenAI. It's not even 50 lines. It's basically just a while loop for user input, which it then sends to the the ChatGPT API and prints the response. Add a try/catch for rate limits and connection issues and that's it.

It's really nice to have an always-open ChatGPT equivalent in one of my terminal tabs that I can switch to at any time.

parent aqme28 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton