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

# DecisionsResponseAnswers

A Decisions answer using a boolean, choice, score, or image bounding-box evaluation.

## Supported Types

### DecisionsBoxAnswer

```go theme={null}
decisionsResponseAnswers := components.CreateDecisionsResponseAnswersBox(components.DecisionsBoxAnswer{/* values here */})
```

### DecisionsChoiceAnswer

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

### DecisionsNoulAnswer

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

### DecisionsScoreAnswer

```go theme={null}
decisionsResponseAnswers := components.CreateDecisionsResponseAnswersScore(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 decisionsResponseAnswers.Type {
	case components.DecisionsResponseAnswersTypeBox:
		// decisionsResponseAnswers.DecisionsBoxAnswer is populated
	case components.DecisionsResponseAnswersTypeChoice:
		// decisionsResponseAnswers.DecisionsChoiceAnswer is populated
	case components.DecisionsResponseAnswersTypeNoul:
		// decisionsResponseAnswers.DecisionsNoulAnswer is populated
	case components.DecisionsResponseAnswersTypeScore:
		// decisionsResponseAnswers.DecisionsScoreAnswer is populated
	default:
		// Unknown type - use decisionsResponseAnswers.GetUnknownRaw() for raw JSON
}
```
