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

# Enum Response Cache KeyStrategy

> Strategy for deriving an LLM response-cache key.

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

Strategy for deriving an LLM response-cache key.

The `Unknown` variant preserves an unsupported JSON/TOML value long enough for configuration validation to report it with a field-specific diagnostic.

## Variants

### `ExactRequest`

<pre />

Key on the normalized request exactly.

### `Logical`

<pre />

Normalize tool schemas structurally while preserving their interface.

### `Unknown(String)`

<pre />

A wire value not supported by this Relay build.

## Implementations

### `impl ResponseCacheKeyStrategy`

<pre />

#### `as_str`

<pre />

Stable JSON/TOML representation of this strategy.

## Trait Implementations

### `impl Clone for ResponseCacheKeyStrategy`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for ResponseCacheKeyStrategy`

<pre />

#### `fmt`

<pre />

### `impl Default for ResponseCacheKeyStrategy`

<pre />

#### `default`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl From<&str> for ResponseCacheKeyStrategy`

<pre />

#### `from`

<pre />

### `impl From<String> for ResponseCacheKeyStrategy`

<pre />

#### `from`

<pre />

### `impl PartialEq for ResponseCacheKeyStrategy`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for ResponseCacheKeyStrategy`

<pre />

#### `serialize`

<pre />

### `impl Eq for ResponseCacheKeyStrategy`

<pre />

### `impl StructuralPartialEq for ResponseCacheKeyStrategy`

<pre />