Liking cljdoc? Tell your friends :D

llm.sdk.providers.bedrock.converse

AWS Bedrock Converse API transport adapter.

Auth: AWS Signature V4 — sdk/complete dispatches on :profile/auth-strategy :aws-sigv4 and signs the request via llm.sdk.aws-sigv4 just before the HTTP send.

Streaming: Bedrock's /converse-stream emits binary event-stream frames (vnd.amazon.eventstream). sdk/complete reads the raw InputStream via llm.sdk.aws-eventstream/frame-seq and hands each parsed frame to parse-stream-event-bedrock as a map.

Model-id mapping: canonical short ids (e.g. claude-sonnet-4-5, nova-pro) are mapped to Bedrock's region-versioned id format (e.g. anthropic.claude-sonnet-4-5-20250101-v1:0); unknown ids pass through verbatim so callers can provide explicit ARNs.

AWS Bedrock Converse API transport adapter.

Auth: AWS Signature V4 — sdk/complete dispatches on
:profile/auth-strategy :aws-sigv4 and signs the request via
llm.sdk.aws-sigv4 just before the HTTP send.

Streaming: Bedrock's /converse-stream emits binary event-stream
frames (vnd.amazon.eventstream). sdk/complete reads the raw
InputStream via llm.sdk.aws-eventstream/frame-seq and hands
each parsed frame to parse-stream-event-bedrock as a map.

Model-id mapping: canonical short ids (e.g. claude-sonnet-4-5,
nova-pro) are mapped to Bedrock's region-versioned id format
(e.g. anthropic.claude-sonnet-4-5-20250101-v1:0); unknown ids
pass through verbatim so callers can provide explicit ARNs.
raw docstring

build-request-bedrockclj

(build-request-bedrock _profile request)
source

make-transportclj

(make-transport)
source

model-id-mappingclj

source

parse-error-bedrockclj

(parse-error-bedrock _profile status body)
source

parse-response-bedrockclj

(parse-response-bedrock _profile raw)
source

parse-stream-event-bedrockclj

(parse-stream-event-bedrock _profile input)
source

resolve-model-idclj

(resolve-model-id model)

Translate a canonical short id to the Bedrock fully-qualified id. Pass-through if the id already looks Bedrock-shaped (contains '.' or ':') or if it isn't in the table.

Translate a canonical short id to the Bedrock fully-qualified id.
Pass-through if the id already looks Bedrock-shaped (contains '.' or ':')
or if it isn't in the table.
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