Omni.Answer.Refusal (Omni v2.0.0)

Copy Markdown View Source

The model declined to answer a question.

Any question can be refused; the others in the decision are still answered. OpenAI's Decisions API and OpenRouter's System One API report refusals.

Summary

Types

t()

A refused question.

Functions

Creates a refusal.

Types

t()

@type t() :: %Omni.Answer.Refusal{}

A refused question.

Functions

new(attrs \\ [])

@spec new(Enumerable.t()) :: t()

Creates a refusal.