> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Create LlmHandle Params

> Builder parameters for `NemoRelayContextState::create_llm_handle`.

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`.

<pre />

Builder parameters for [`NemoRelayContextState::create_llm_handle`](/reference/api/rust-library-reference/nemo-relay/api/runtime/state/struct-nemorelaycontextstate).

## Fields

### `name: &'a str`

Logical provider or model family name. Gateway-managed provider calls should pass the provider route name, for example `anthropic.messages`.

### `uuid: Option<Uuid>`

Optional UUID reserved before request interception so outbound propagation can identify the emitted LLM span.

### `parent_uuid: Option<Uuid>`

Optional parent scope UUID.

### `attributes: LlmAttributes`

LLM attribute bitflags.

### `data: Option<Json>`

Optional application payload stored on the handle.

### `metadata: Option<Json>`

Optional metadata stored on the handle.

### `model_name: Option<String>`

Optional normalized model name stored on the handle.

### `timestamp: Option<DateTime<Utc>>`

Optional timestamp captured as the handle start time and reused by the emitted start event. When omitted, the current UTC time is used.

## Implementations

### `impl<'a> CreateLlmHandleParams<'a>`

<pre />

#### `builder`

<pre />

Create a builder for building `CreateLlmHandleParams`. On the builder, call `.name(...)`, `.uuid(...)`(optional), `.parent_uuid(...)`(optional), `.attributes(...)`(optional), `.data(...)`(optional), `.metadata(...)`(optional), `.model_name(...)`(optional), `.timestamp(...)`(optional) to set the values of the fields. Finally, call `.build()` to create the instance of `CreateLlmHandleParams`.

## Trait Implementations

### `impl<'a> Clone for CreateLlmHandleParams<'a>`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl<'a> Debug for CreateLlmHandleParams<'a>`

<pre />

#### `fmt`

<pre />