Liking cljdoc? Tell your friends :D

openai.impl

Shared implementation helpers for OpenAI SDK wrapper namespaces.

Shared implementation helpers for OpenAI SDK wrapper namespaces.
raw docstring

->json-schema-propertiesclj

(->json-schema-properties m)
source

->json-value-propertiesclj

(->json-value-properties m)
source

->keywordclj

(->keyword s)
source

all-pagesclj

(all-pages page)

Realize every element across all pages of an SDK *ListPage via its autoPager.

Realize every element across all pages of an SDK *ListPage via its autoPager.
sourceraw docstring

encode-outputclj

(encode-output x)
source

enum-nameclj

(enum-name k)
source

json-mapperclj

source

json-value->cljclj

(json-value->clj value)
source

missing-key!clj

(missing-key! k)
source

opt-getclj

(opt-get o)
source

parse-argumentsclj

(parse-arguments s)
source

sdk-object->cljclj

(sdk-object->clj value)
source

service-error-typeclj

(service-error-type e)
source

throw-normalized!clj

(throw-normalized! e)

Rethrow an SDK exception: service errors and I/O errors become ex-info keyed :openai/error with the original as cause; anything else propagates unchanged.

Rethrow an SDK exception: service errors and I/O errors become ex-info
keyed `:openai/error` with the original as cause; anything else propagates
unchanged.
sourceraw docstring

with-api-errorscljmacro

(with-api-errors & body)
source

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