all AI news
Playing with ChatGPT API
Playing with AI erichartford.com
I thought I would try out ChatGPT's new API, so I decided to write a command line interface. My code is located here:
I wanted it to be conversational, so it will remember your conversation history as you type.
Similar to chatgpt-wrapper. https://github.com/mmabrouk/chatgpt-wrapper but in Node.
I wanted it to use TypeScript, and I wanted it to use Node's new native fetch api (which was officially promoted from "experimental" as of 18.13.0)
Example output:
I found that it's …
api chatgpt code command command line conversation conversational fetch history line node playing thought type typescript