685 B
685 B
DumBer
A simple native Haiku OpenAI / ChatGPT Client
To be able to use this app you need an OpenAI account and to create a token ans save it as one text file in: /boot/home/config/openai_key
About code quality
This app uses Haiku's Experimental API for higher level network
I just wanted to learn about Haiku code again. This is probably not the best place to look for examples of good code. I am not a good programmer but it works more or less.
https://www.haiku-os.org/docs/api/group__netservices.html
License notes
This uses a MIT license because I couldn't think of anything simpler. Do what you want with this.
This app includes json code by Niels Lohmann.