my quick poke on malli + OpenAI structured outputs. Simple and beautiful - https://x.com/ikitommi/status/1821495690314326076
thought of adding malli.experimental.openai, but the needed glue code is just few lines of code, so just a gist: https://gist.github.com/ikitommi/e643713719c3620f943ef34086451c69#file-openai-clj
wrote https://github.com/wkok/openai-clojure/issues/66 to openai-clojure to add support for this.
What's summer.openai? I currently use wkok's openai library
The full code is in the gist linked above
wkoks library sadly didn't work here, tied to old openapi definition, thus my issue to update it