# `Vllm.SamplingParams.StructuredOutputsParams`
[🔗](https://github.com/nshkrdotcom/vllm/blob/v0.3.0/lib/snakebridge_generated/vllm/sampling_params/structured_outputs_params.ex#L7)

Sampling parameters for text generation.

# `t`

```elixir
@opaque t()
```

# `all_constraints_none`

```elixir
@spec all_constraints_none(
  SnakeBridge.Ref.t(),
  keyword()
) :: {:ok, boolean()} | {:error, Snakepit.Error.t()}
```

Returns True if all structured-output constraint fields are None.

## Returns

- `boolean()`

# `all_non_structural_tag_constraints_none`

```elixir
@spec all_non_structural_tag_constraints_none(
  SnakeBridge.Ref.t(),
  keyword()
) :: {:ok, boolean()} | {:error, Snakepit.Error.t()}
```

Returns True if all structured-output constraint fields are None.

## Returns

- `boolean()`

# `choice`

```elixir
@spec choice(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `disable_additional_properties`

```elixir
@spec disable_additional_properties(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `disable_any_whitespace`

```elixir
@spec disable_any_whitespace(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `disable_fallback`

```elixir
@spec disable_fallback(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `grammar`

```elixir
@spec grammar(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `json`

```elixir
@spec json(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `json_object`

```elixir
@spec json_object(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `new`

```elixir
@spec new(term(), term(), term(), keyword()) ::
  {:ok, SnakeBridge.Ref.t()} | {:error, Snakepit.Error.t()}
```

Sampling parameters for text generation.

## Parameters

- `dataclass_self__` (term())
- `args` (term())
- `kwargs` (term())

# `regex`

```elixir
@spec regex(SnakeBridge.Ref.t()) :: {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `structural_tag`

```elixir
@spec structural_tag(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}
```

# `whitespace_pattern`

```elixir
@spec whitespace_pattern(SnakeBridge.Ref.t()) ::
  {:ok, term()} | {:error, Snakepit.Error.t()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
