---
title: "init(includeSchemaInPrompt:reasoningLevel:)"
framework: foundationmodels
role: symbol
role_heading: Initializer
path: "foundationmodels/contextoptions/init(includeschemainprompt:reasoninglevel:)"
---

# init(includeSchemaInPrompt:reasoningLevel:)

Creates prompting options that controls how the model is prompted.

## Declaration

```swift
init(includeSchemaInPrompt: Bool? = nil, reasoningLevel: ContextOptions.ReasoningLevel? = nil)
```

## Parameters

- `includeSchemaInPrompt`: Inject the schema into the prompt to bias the model.
- `reasoningLevel`: Controls the amount of thinking that the model is allowed to output before producing a response
