> 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 full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Generation Params

> Normalized generation parameters across providers.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Normalized generation parameters across providers.

## Fields

### `temperature: Option<f64>`

Sampling temperature.

### `max_tokens: Option<u64>`

Maximum number of tokens to generate.

### `top_p: Option<f64>`

Nucleus sampling probability.

### `stop: Option<Vec<String>>`

Stop sequences.

## Trait Implementations

### `impl Clone for GenerationParams`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for GenerationParams`

<pre />

#### `fmt`

<pre />

### `impl Default for GenerationParams`

<pre />

#### `default`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for GenerationParams`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for GenerationParams`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for GenerationParams`

<pre />