I've been working on this, it's pretty nice<p><a href="https://github.com/mmabrouk/chatgpt-wrapper/pull/6" rel="nofollow">https://github.com/mmabrouk/chatgpt-wrapper/pull/6</a>
This is an interface to the text-davinci-003 completion service, which is based on GPT-3, not GPT-3.5 like ChatGPT.<p>There is no public facing API for ChatGPT yet.