Liking cljdoc? Tell your friends :D

vortex.schema


->json-schema-for-inferenceclj

(->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.
raw docstring

->schemaclj


schema?clj

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close