Liking cljdoc? Tell your friends :D

llm.sdk.transport.decide

Provider-native typed decision request and response conversion.

Provider-native typed decision request and response conversion.
raw docstring

DecisionTransportcljprotocol

Typed decisions use native endpoints, not chat completions.

Typed decisions use native endpoints, not chat completions.

build-decision-requestclj

(build-decision-request this profile request)

Return a native HTTP request map (:method :url :headers :body).

Return a native HTTP request map (:method :url :headers :body).

parse-decision-errorclj

(parse-decision-error this profile status body)

Return a classified error map for a non-2xx response.

Return a classified error map for a non-2xx response.

parse-decision-responseclj

(parse-decision-response this profile raw-body)

Return a canonical DecisionResponse from a decoded JSON body.

Return a canonical DecisionResponse from a decoded JSON body.
sourceraw docstring

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