ai.wire.prompt_blocks

A rendered prompt message's parts as content blocks: a `string` part is `Text`, a media part is `Media` with null provenance. The rendered prompt then lowers through the same path as the journal's turns.

Reference version

Signature

function ai.wire.prompt_blocks(message: ai.PromptMessage) -> ai.content.Block[]

A rendered prompt message's parts as content blocks: a string part is Text, a media part is Media with null provenance. The rendered prompt then lowers through the same path as the journal's turns.

Source:<builtin>/ai/ns_wire/wire.bamlbytes 1880119358