anthropic.internal._lower_prompt

function in the anthropic package.

Reference version

Signature

function anthropic.internal._lower_prompt(
prompt: ai.Prompt,
default_cache_args: baml.json.json,
preview: bool = …
) -> anthropic.internal.Prompt throws baml.errors.InvalidArgument | baml.errors.Timeout | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported

Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 17430–18526