Contents

init(includeSchemaInPrompt:reasoningLevel:)

Creates options that control how the model is prompted.

Declaration

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

Parameters

  • includeSchemaInPrompt:

    If true, injects the schema into the prompt to bias the model.

  • reasoningLevel:

    Controls the amount of reasoning that the model is allowed to output before producing a response