> 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 Model Routing Intent

> Model routing and selection intent.

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 />

Model routing and selection intent.

Guides backend selection based on task complexity, criticality, and fallback preferences.

## Fields

### `model_class: ModelClass`

Target model class for this request.

### `complexity_score: f64`

Estimated complexity of the task `[0.0, 1.0]`.

### `criticality: f64`

How critical correct output is `[0.0, 1.0]`.

### `fallback_allowed: bool`

Whether fallback to a lower model class is acceptable.

## Trait Implementations

### `impl Clone for ModelRoutingIntent`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for ModelRoutingIntent`

<pre />

#### `fmt`

<pre />

### `impl<'de> Deserialize<'de> for ModelRoutingIntent`

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for ModelRoutingIntent`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for ModelRoutingIntent`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for ModelRoutingIntent`

<pre />