Public declaration syntax from forge-swift/Sources/ForgeCore/Config.swift Original source SHA-256: 585aeb82c6b2cfb39edbc5099f6b22a995b84759e2f3343c134db204b9b44644 Function bodies and constant values are omitted. This is not the complete implementation. Source line 25 public struct GenerateOptions: Codable, Sendable, Equatable Source line 27 public var temperature: Double? /// Maximum tokens to generate. public var maxTokens: Int? /// Top-p (nucleus) sampling threshold. public var topP: Double? /// Stop sequences -- generation stops when any of these are produced. public var stopSequences: [String]? /// Frequency penalty (-2.0 to 2.0). public var frequencyPenalty: Double? /// Presence penalty (-2.0 to 2.0). public var presencePenalty: Double? /// Seed for deterministic generation (if supported by provider). public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 29 public var maxTokens: Int? /// Top-p (nucleus) sampling threshold. public var topP: Double? /// Stop sequences -- generation stops when any of these are produced. public var stopSequences: [String]? /// Frequency penalty (-2.0 to 2.0). public var frequencyPenalty: Double? /// Presence penalty (-2.0 to 2.0). public var presencePenalty: Double? /// Seed for deterministic generation (if supported by provider). public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 31 public var topP: Double? /// Stop sequences -- generation stops when any of these are produced. public var stopSequences: [String]? /// Frequency penalty (-2.0 to 2.0). public var frequencyPenalty: Double? /// Presence penalty (-2.0 to 2.0). public var presencePenalty: Double? /// Seed for deterministic generation (if supported by provider). public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 33 public var stopSequences: [String]? /// Frequency penalty (-2.0 to 2.0). public var frequencyPenalty: Double? /// Presence penalty (-2.0 to 2.0). public var presencePenalty: Double? /// Seed for deterministic generation (if supported by provider). public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 35 public var frequencyPenalty: Double? /// Presence penalty (-2.0 to 2.0). public var presencePenalty: Double? /// Seed for deterministic generation (if supported by provider). public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 37 public var presencePenalty: Double? /// Seed for deterministic generation (if supported by provider). public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 39 public var seed: Int? /// JSON schema for structured output enforcement. public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 41 public var outputSchema: JsonSchema? /// Creates default generate options with all fields nil. public init( temperature: Double?; Source line 44 public init( temperature: Double?; Source line 68 public func withTemperature(_ temperature: Double) -> GenerateOptions Source line 78 public func withMaxTokens(_ maxTokens: Int) -> GenerateOptions Source line 88 public func withTopP(_ topP: Double) -> GenerateOptions Source line 98 public func withStopSequences(_ sequences: [String]) -> GenerateOptions Source line 108 public func withFrequencyPenalty(_ penalty: Double) -> GenerateOptions Source line 118 public func withPresencePenalty(_ penalty: Double) -> GenerateOptions Source line 128 public func withSeed(_ seed: Int) -> GenerateOptions Source line 138 public func withOutputSchema(_ schema: JsonSchema) -> GenerateOptions Source line 148 public struct EmbedOptions: Codable, Sendable, Equatable Source line 150 public var model: String? /// Dimensionality of the output embeddings (if configurable). public var dimensions: Int? /// Creates default embed options. public init(model: String?; Source line 152 public var dimensions: Int? /// Creates default embed options. public init(model: String?; Source line 155 public init(model: String?; Source line 164 public func withModel(_ model: String) -> EmbedOptions Source line 174 public func withDimensions(_ dimensions: Int) -> EmbedOptions