> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Answers

A Decisions answer using a boolean, choice, or score evaluation.

## Supported Types

### DecisionsChoiceAnswer

```go theme={null}
answers := components.CreateAnswersChoice(components.DecisionsChoiceAnswer{/* values here */})
```

### DecisionsNoulAnswer

```go theme={null}
answers := components.CreateAnswersNoul(components.DecisionsNoulAnswer{/* values here */})
```

### DecisionsScoreAnswer

```go theme={null}
answers := components.CreateAnswersScore(components.DecisionsScoreAnswer{/* values here */})
```

## Union Discrimination

Use the `Type` field to determine which variant is active, then access the corresponding field:

```go theme={null}
switch answers.Type {
	case components.AnswersTypeChoice:
		// answers.DecisionsChoiceAnswer is populated
	case components.AnswersTypeNoul:
		// answers.DecisionsNoulAnswer is populated
	case components.AnswersTypeScore:
		// answers.DecisionsScoreAnswer is populated
	default:
		// Unknown type - use answers.GetUnknownRaw() for raw JSON
}
```
