A simple native Haiku OpenAI / ChatGPT Client
img | ||
include | ||
.genio | ||
.gitignore | ||
App.cpp | ||
App.h | ||
BUILD.bazel | ||
Conversation.cpp | ||
Conversation.h | ||
DumBer | ||
LICENSE | ||
LICENSE.MIT | ||
MainWindow.cpp | ||
MainWindow.h | ||
Makefile | ||
meson.build | ||
README.md | ||
Resources.rdef |
DumBer
A simple native Haiku OpenAI / ChatGPT Client
You need an access token
To be able to use this app you need an OpenAI account and to create a token. Just save it as one line in a 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.
Haiku Experimental Network API
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.