malli

ikitommi 2024-08-08T10:48:31.686509Z

my quick poke on malli + OpenAI structured outputs. Simple and beautiful - https://x.com/ikitommi/status/1821495690314326076

🤯 1
ikitommi 2024-08-08T10:55:01.702539Z

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

ikitommi 2024-08-08T11:00:43.023899Z

wrote https://github.com/wkok/openai-clojure/issues/66 to openai-clojure to add support for this.

Nim Sadeh 2024-08-09T01:45:32.725099Z

What's summer.openai? I currently use wkok's openai library

ikitommi 2024-08-09T06:55:45.898249Z

The full code is in the gist linked above

ikitommi 2024-08-09T06:56:40.666799Z

wkoks library sadly didn't work here, tied to old openapi definition, thus my issue to update it