> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server. # Module openai_chat > Built-in codec for the OpenAI Chat Completions API. 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`. Built-in codec for the OpenAI Chat Completions API. Implements [`LlmCodec`](/reference/api/rust-library-reference/nemo-relay/codec/traits/trait-llmcodec) (request decode/encode) and [`LlmResponseCodec`](/reference/api/rust-library-reference/nemo-relay/codec/traits/trait-llmresponsecodec) (response decode) for the OpenAI Chat Completions format. ## Structs * [OpenAIChatCodec](/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatcodec): Built-in codec for the OpenAI Chat Completions API. * [OpenAIChatStreamingCodec](/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatstreamingcodec): Streaming counterpart to [`OpenAIChatCodec`](/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatcodec). > Built-in codec for the OpenAI Chat Completions API. ## Docs - [Struct OpenAI Chat Codec](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatcodec.md): Built-in codec for the OpenAI Chat Completions API. - [Struct OpenAI Chat Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatstreamingcodec.md): Streaming counterpart to `OpenAIChatCodec`.