ten minutes with gpt-4 and i have a server-side rendered idiomatic haskell web application capable of calling the chatgpt api. i'm floored.
Mar 16, 2023 · 2:39 PM UTC
initial spec -> three rounds of pasting compile errors back to gpt-4 and getting updated code in response -> "make it pretty" -> done
ah, i also had to paste the JSON examples of a request / response / endpoint from the API docs, as it tried to guess at an RPC format initially, but that was it in terms of steering.
gist.github.com/harryaskham/… is the gpt-4-written code. again, ten minutes 🤯