aws.internal._prompt_content
(internal) One non-system prompt message as Converse content blocks. Text and media lower exactly as they do for a journal turn; a `${cache(args)}` becomes a `cachePoint` block at the position it was written, with `args` embedded as written, and the text on either side of it is trimmed where it faces the checkpoint (`ai.wire.prompt_parts`).
Reference version
Signature
function aws.internal._prompt_content(
message: ai.PromptMessage,
default_cache_args: baml.json.json,
preview: bool = …
) -> aws.internal.ContentBlock[] throws baml.errors.InvalidArgument | baml.errors.Timeout | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported
(internal) One non-system prompt message as Converse content blocks. Text
and media lower exactly as they do for a journal turn; a ${cache(args)}
becomes a cachePoint block at the position it was written, with args
embedded as written, and the text on either side of it is trimmed where it
faces the checkpoint (ai.wire.prompt_parts).
Source:<builtin>/aws/ns_internal/bedrock.bamlbytes 26361–27644