(->json-schema-for-inference schema
&
{:keys [all-required?] :or {all-required? false}})Transforms a Malli schema into a JSON Schema suitable for use with
Gemini/Vertex inference, updating the :type keyword to match what
the Gemini API expects: all-caps type names.
Transforms a Malli schema into a JSON Schema suitable for use with Gemini/Vertex inference, updating the `:type` keyword to match what the Gemini API expects: all-caps type names.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |