> For clean Markdown of any page, append .md to the page URL. For a task-oriented documentation index, fetch https://docs.nvidia.com/nemo/relay/llms.txt. Use the documentation version matching the installed NeMo Relay package: latest follows the latest stable release, vX.Y.Z identifies a retained release snapshot, and dev documents development changes. Preserve the selected version when following links; do not mix examples or API contracts from different versions. Fetch the relevant section's /llms.txt before individual pages instead of loading a complete version index. # Module ir_builder > AnnotatedLlmRequest to PromptIR construction pipeline. Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`. AnnotatedLlmRequest to PromptIR construction pipeline. ## Functions * [build_prompt_ir](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/ir_builder/fn-build-prompt-ir): Build a normalized [`PromptIR`](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/struct-promptir) from an annotated LLM request. ## Docs - [Function build_prompt_ir](https://docs.nvidia.com/nemo/relay/latest/reference/api/rust-library-reference/nemo-relay-adaptive/acg/ir_builder/fn-build-prompt-ir.md): Build a normalized `PromptIR` from an annotated LLM request.