Skip to content

Structured output

Symbol kindCount
Associated Type1
Case51
Class1
Enumeration9
Function5
Initializer18
Instance Method7
Instance Property159
Protocol1
Structure16
Type Method29
KindSymbolDeclarationSource
Associated TypeSwiftAI.Outputassociatedtype Output : Decodable, SendablePackages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
CaseSwiftAI.AIObjectGenerationFailureKind.decodingcase decodingPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectGenerationFailureKind.noJSONcase noJSONPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectGenerationFailureKind.repairFailedcase repairFailedPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectGenerationFailureKind.schemaValidationcase schemaValidationPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectGenerationSessionStatus.errorcase errorPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
CaseSwiftAI.AIObjectGenerationSessionStatus.readycase readyPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
CaseSwiftAI.AIObjectGenerationSessionStatus.streamingcase streamingPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
CaseSwiftAI.AIObjectGenerationSessionStatus.submittedcase submittedPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
CaseSwiftAI.AIObjectOutputStrategy.arraycase arrayPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectOutputStrategy.enumerationcase enumerationPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectOutputStrategy.jsoncase jsonPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIObjectOutputStrategy.objectcase objectPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.AIOutputKind.arraycase arrayPackages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputKind.choicecase choicePackages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputKind.jsoncase jsonPackages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputKind.objectcase objectPackages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputKind.textcase textPackages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.finish(reason:usage:)case finish(reason: String?, usage: TokenUsage?)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.metadata(_:)case metadata([String : JSONValue])Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.output(_:)case output(AIOutputGenerationResult<Output>)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.partialOutput(_:)case partialOutput(Partial)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.raw(_:)case raw(LanguageStreamPart)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.responseMetadata(_:)case responseMetadata(AIResponseMetadata)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.source(_:)case source(AISource)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.textDelta(_:)case textDelta(String)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIOutputStreamPart.warning(_:)case warning(AIWarning)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
CaseSwiftAI.AIParsePartialJSONState.failedParsecase failedParsePackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
CaseSwiftAI.AIParsePartialJSONState.repairedParsecase repairedParsePackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
CaseSwiftAI.AIParsePartialJSONState.successfulParsecase successfulParsePackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
CaseSwiftAI.AIParsePartialJSONState.undefinedInputcase undefinedInputPackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
CaseSwiftAI.ObjectStreamPart.finish(reason:usage:)case finish(reason: String?, usage: TokenUsage?)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.metadata(_:)case metadata([String : JSONValue])Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.object(_:)case object(ObjectGenerationResult<Object>)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.partial(_:)case partial(Object)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.partialObject(_:)case partialObject(JSONValue)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.raw(_:)case raw(LanguageStreamPart)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.responseMetadata(_:)case responseMetadata(AIResponseMetadata)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.source(_:)case source(AISource)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.textDelta(_:)case textDelta(String)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAI.ObjectStreamPart.warning(_:)case warning(AIWarning)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.citedText(_:citations:providerMetadata:)case citedText(String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:])Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.custom(_:providerMetadata:)case custom(JSONValue, providerMetadata: [String : JSONValue] = [:])Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.file(_:)case file(AIStreamFile)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.reasoning(_:providerMetadata:)case reasoning(String, providerMetadata: [String : JSONValue] = [:])Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.reasoningFile(_:)case reasoningFile(AIStreamFile)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.source(_:)case source(AISource)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.text(_:providerMetadata:)case text(String, providerMetadata: [String : JSONValue] = [:])Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.toolApprovalRequest(_:)case toolApprovalRequest(AIToolApprovalRequest)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.toolApprovalResponse(_:)case toolApprovalResponse(AIToolApprovalResponse)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.toolCall(_:)case toolCall(AIToolCall)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
CaseSwiftAIProvider.AIResultContentPart.toolResult(_:)case toolResult(AIToolResult)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
ClassSwiftAI.AIObjectGenerationSession@MainActor final class AIObjectGenerationSession<Output, Partial> where Output : Sendable, Partial : SendablePackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
EnumerationSwiftAI.AIObjectGenerationFailureKindenum AIObjectGenerationFailureKindPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
EnumerationSwiftAI.AIObjectGenerationSessionStatusenum AIObjectGenerationSessionStatusPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
EnumerationSwiftAI.AIObjectOutputStrategyenum AIObjectOutputStrategyPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
EnumerationSwiftAI.AIOutputKindenum AIOutputKindPackages/swift-ai-core/Sources/SwiftAI/Output.swift
EnumerationSwiftAI.AIOutputStreamPartenum AIOutputStreamPart<Output, Partial> where Output : Sendable, Partial : SendablePackages/swift-ai-core/Sources/SwiftAI/Output.swift
EnumerationSwiftAI.AIParsePartialJSONStateenum AIParsePartialJSONStatePackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
EnumerationSwiftAI.ObjectStreamPartenum ObjectStreamPart<Object> where Object : SendablePackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
EnumerationSwiftAI.Outputenum OutputPackages/swift-ai-core/Sources/SwiftAI/Output.swift
EnumerationSwiftAIProvider.AIResultContentPartenum AIResultContentPartPackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
FunctionSwiftAI.fixJson(_:)func fixJson(_ input: String) -> StringPackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
FunctionSwiftAI.parsePartialJSON(_:)func parsePartialJSON(_ jsonText: String?) -> AIParsePartialJSONResultPackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
FunctionSwiftAIProvider.resultSources(from:)func resultSources(from content: [AIResultContentPart]) -> [AISource]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
FunctionSwiftAIProvider.resultToolCalls(from:)func resultToolCalls(from content: [AIResultContentPart]) -> [AIToolCall]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
FunctionSwiftAIProvider.resultToolResults(from:)func resultToolResults(from content: [AIResultContentPart]) -> [AIToolResult]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
InitializerSwiftAI.init(_:name:description:as:)init(_ jsonSchema: JSONValue, name: String? = nil, description: String? = nil, as type: Output.Type = Output.self)Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
InitializerSwiftAI.init(callID:object:text:rawObject:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:)init(callID: String, object: Output, text: String, rawObject: JSONValue, reasoning: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(callID:operationID:providerID:modelID:outputKind:request:schema:schemaName:schemaDescription:maxRetries:)init(callID: String, operationID: String, providerID: String, modelID: String?, outputKind: String, request: LanguageModelRequest, schema: JSONValue?, schemaName: String?, schemaDescription: String?, maxRetries: Int)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(callID:providerID:modelID:text:errorDescription:finishReason:usage:warnings:providerMetadata:responseMetadata:)init(callID: String, providerID: String, modelID: String?, text: String, errorDescription: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(callID:stepNumber:providerID:modelID:request:)init(callID: String, stepNumber: Int, providerID: String, modelID: String?, request: LanguageModelRequest)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(callID:stepNumber:providerID:modelID:text:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:)init(callID: String, stepNumber: Int, providerID: String, modelID: String?, text: String, reasoning: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(model:output:initialPartialObject:initialObject:onError:onFinish:)@MainActor init(model: any LanguageModel, output: AIOutput<Output, Partial>, initialPartialObject: Partial? = nil, initialObject: Output? = nil, onError: (@MainActor @Sendable (any Error) -> Void)? = nil, onFinish: (@MainActor @Sendable (AIObjectGenerationSessionFinishEvent<Output>) -> Void)? = nil)Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
InitializerSwiftAI.init(object:result:error:)init(object: Output?, result: AIOutputGenerationResult<Output>?, error: (any Error)? = nil)Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
InitializerSwiftAI.init(object:text:rawObject:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:textResult:)init(object: Object, text: String, rawObject: JSONValue, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), textResult: TextGenerationResult)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(objectResult:)init(objectResult: ObjectGenerationResult<Output>)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
InitializerSwiftAI.init(onStart:onStepStart:onStepFinish:onFinish:onError:)init(onStart: (@Sendable (AIObjectGenerationStartEvent) async -> Void)? = nil, onStepStart: (@Sendable (AIObjectGenerationStepStartEvent) async -> Void)? = nil, onStepFinish: (@Sendable (AIObjectGenerationStepFinishEvent) async -> Void)? = nil, onFinish: (@Sendable (AIObjectGenerationFinishEvent<Output>) async -> Void)? = nil, onError: (@Sendable (AIObjectGenerationErrorEvent) async -> Void)? = nil)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(output:text:rawOutput:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:textResult:)init(output: Output, text: String, rawOutput: JSONValue, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), textResult: TextGenerationResult)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
InitializerSwiftAI.init(provider:strategy:kind:message:path:text:repairAttempted:finishReason:usage:warnings:providerMetadata:responseMetadata:)init(provider: String, strategy: AIObjectOutputStrategy, kind: AIObjectGenerationFailureKind, message: String, path: String? = nil, text: String, repairAttempted: Bool = false, finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:jsonInstruction:repairText:)init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil)Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
InitializerSwiftAI.init(text:errorMessage:)init(text: String, errorMessage: String)Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
InitializerSwiftAI.init(textResult:)init(textResult: TextGenerationResult)Packages/swift-ai-core/Sources/SwiftAI/Output.swift
InitializerSwiftAI.init(value:state:)init(value: JSONValue?, state: AIParsePartialJSONState)Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
InitializerSwiftAIProvider.init(text:structuredOutputText:content:reasoning:finishReason:usage:files:toolCalls:toolResults:toolApprovalRequests:toolApprovalResponses:steps:sources:responseMessages:providerMetadata:rawValue:warnings:requestMetadata:responseMetadata:)init(text: String, structuredOutputText: String? = nil, content: [AIResultContentPart] = [], reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, files: [AIStreamFile] = [], toolCalls: [AIToolCall] = [], toolResults: [AIToolResult] = [], toolApprovalRequests: [AIToolApprovalRequest] = [], toolApprovalResponses: [AIToolApprovalResponse] = [], steps: [AIToolStep] = [], sources: [AISource] = [], responseMessages: [AIMessage] = [], providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata())Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance MethodSwiftAI.clear()@MainActor func clear()Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance MethodSwiftAI.clearError()@MainActor func clearError()Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance MethodSwiftAI.languageModelRequest(messages:abortSignal:)func languageModelRequest(messages: [AIMessage], abortSignal: AIAbortSignal? = nil) -> LanguageModelRequestPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance MethodSwiftAI.stop(reason:)@MainActor func stop(reason: String? = "stopped")Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance MethodSwiftAI.submit(_:options:)@discardableResult @MainActor func submit(_ prompt: String, options: AIObjectGenerationSessionRequestOptions = AIObjectGenerationSessionRequestOptions()) -> Task<Void, Never>Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance MethodSwiftAI.submit(messages:options:)@discardableResult @MainActor func submit(messages: [AIMessage], options: AIObjectGenerationSessionRequestOptions = AIObjectGenerationSessionRequestOptions()) -> Task<Void, Never>Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance MethodSwiftAI.submit(request:timeoutNanoseconds:retryPolicy:telemetry:jsonInstruction:repairText:)@discardableResult @MainActor func submit(request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> Task<Void, Never>Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.callIDvar callID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.callIDvar callID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.callIDvar callID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.callIDvar callID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.callIDvar callID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.descriptionvar description: String? { get }Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.descriptionvar description: String? { get }Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.descriptionvar description: String?Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.descriptionvar description: String { get }Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.descriptionvar description: String?Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.errorvar error: (any Error)?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.error@Published @MainActor var error: (any Error)? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.errorDescriptionvar errorDescription: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.errorMessagevar errorMessage: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.extraBodyvar extraBody: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.finishReason@Published @MainActor var finishReason: String? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.frequencyPenaltyvar frequencyPenalty: Double?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.headersvar headers: [String : String]Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.isLoading@MainActor var isLoading: Bool { get }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.jsonInstructionvar jsonInstruction: AIJSONInstruction?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.jsonSchemavar jsonSchema: JSONValue { get }Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.jsonSchemavar jsonSchema: JSONValuePackages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.kindvar kind: AIObjectGenerationFailureKindPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.kindvar kind: AIOutputKindPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.maxOutputTokensvar maxOutputTokens: Int?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.maxRetriesvar maxRetries: IntPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.messagevar message: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.metadata@Published @MainActor var metadata: [String : JSONValue] { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.model@MainActor var model: any LanguageModelPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.modelIDvar modelID: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.modelIDvar modelID: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.modelIDvar modelID: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.modelIDvar modelID: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.namevar name: String? { get }Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.namevar name: String? { get }Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.namevar name: String?Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
Instance PropertySwiftAI.namevar name: String?Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.objectvar object: Output?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.object@Published @MainActor var object: Output? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.objectvar object: ObjectPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.objectvar object: OutputPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.onError@MainActor var onError: (@MainActor @Sendable (any Error) -> Void)?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.onErrorvar onError: (@Sendable (AIObjectGenerationErrorEvent) async -> Void)?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.onFinish@MainActor var onFinish: (@MainActor @Sendable (AIObjectGenerationSessionFinishEvent<Output>) -> Void)?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.onFinishvar onFinish: (@Sendable (AIObjectGenerationFinishEvent<Output>) async -> Void)?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.onStartvar onStart: (@Sendable (AIObjectGenerationStartEvent) async -> Void)?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.onStepFinishvar onStepFinish: (@Sendable (AIObjectGenerationStepFinishEvent) async -> Void)?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.onStepStartvar onStepStart: (@Sendable (AIObjectGenerationStepStartEvent) async -> Void)?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.operationIDvar operationID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.output@MainActor var output: AIOutput<Output, Partial>Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.outputvar output: OutputPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.outputKindvar outputKind: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.partialObject@Published @MainActor var partialObject: Partial? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.pathvar path: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.presencePenaltyvar presencePenalty: Double?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.providervar provider: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerIDvar providerID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerIDvar providerID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerIDvar providerID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerIDvar providerID: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.providerOptionsvar providerOptions: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.rawObjectvar rawObject: JSONValuePackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.rawObjectvar rawObject: JSONValuePackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.rawOutputvar rawOutput: JSONValuePackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.reasoningvar reasoning: String?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.reasoningvar reasoning: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.reasoningvar reasoning: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.reasoningvar reasoning: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.reasoningvar reasoning: StringPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.repairAttemptedvar repairAttempted: BoolPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.repairTextvar repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.requestvar request: LanguageModelRequestPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.requestvar request: LanguageModelRequestPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.responseMetadata@Published @MainActor var responseMetadata: AIResponseMetadata? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.resultvar result: AIOutputGenerationResult<Output>?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.result@Published @MainActor var result: AIOutputGenerationResult<Output>? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.retryPolicyvar retryPolicy: AIRetryPolicyPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.schemavar schema: JSONValue?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.schemavar schema: JSONValue?Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.schemaDescriptionvar schemaDescription: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.schemaNamevar schemaName: String?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.seedvar seed: Int?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.sources@Published @MainActor var sources: [AISource] { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.statevar state: AIParsePartialJSONStatePackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
Instance PropertySwiftAI.status@Published @MainActor var status: AIObjectGenerationSessionStatus { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.stepNumbervar stepNumber: IntPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.stepNumbervar stepNumber: IntPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.stopSequencesvar stopSequences: [String]Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.strategyvar strategy: AIObjectOutputStrategyPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.telemetryvar telemetry: Telemetry.Options?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.temperaturevar temperature: Double?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.text@Published @MainActor var text: String { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textvar text: StringPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.textResultvar textResult: TextGenerationResultPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.textResultvar textResult: TextGenerationResultPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.timeoutNanosecondsvar timeoutNanoseconds: UInt64?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.topKvar topK: Int?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.topPvar topP: Double?Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.usage@Published @MainActor var usage: TokenUsage? { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAI.valuevar value: JSONValue?Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
Instance PropertySwiftAI.warnings@Published @MainActor var warnings: [AIWarning] { get set }Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Instance PropertySwiftAIProvider.citationsvar citations: [AICitation] { get }Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.contentvar content: [AIResultContentPart]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.filesvar files: [AIStreamFile]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.finalStepvar finalStep: AIToolStep? { get }Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.finishReasonvar finishReason: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.rawValuevar rawValue: JSONValuePackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.reasoningvar reasoning: StringPackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.reasoningTextvar reasoningText: String { get }Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.requestMetadatavar requestMetadata: AIRequestMetadataPackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.responseMessagesvar responseMessages: [AIMessage]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.sourcesvar sources: [AISource]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.stepsvar steps: [AIToolStep]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.structuredOutputTextvar structuredOutputText: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.textvar text: StringPackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.toolApprovalRequestsvar toolApprovalRequests: [AIToolApprovalRequest]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.toolApprovalResponsesvar toolApprovalResponses: [AIToolApprovalResponse]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.toolCallsvar toolCalls: [AIToolCall]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.toolResultsvar toolResults: [AIToolResult]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.usagevar usage: TokenUsage?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Instance PropertySwiftAIProvider.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
ProtocolSwiftAI.AIObjectSchemaprotocol AIObjectSchema : SendablePackages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
StructureSwiftAI.AIJSONSchemastruct AIJSONSchema<Output> where Output : Decodable, Output : SendablePackages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift
StructureSwiftAI.AIObjectGenerationCallbacksstruct AIObjectGenerationCallbacks<Output> where Output : SendablePackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectGenerationErrorstruct AIObjectGenerationErrorPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectGenerationErrorEventstruct AIObjectGenerationErrorEventPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectGenerationFinishEventstruct AIObjectGenerationFinishEvent<Output> where Output : SendablePackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectGenerationSessionFinishEventstruct AIObjectGenerationSessionFinishEvent<Output> where Output : SendablePackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
StructureSwiftAI.AIObjectGenerationSessionRequestOptionsstruct AIObjectGenerationSessionRequestOptionsPackages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift
StructureSwiftAI.AIObjectGenerationStartEventstruct AIObjectGenerationStartEventPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectGenerationStepFinishEventstruct AIObjectGenerationStepFinishEventPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectGenerationStepStartEventstruct AIObjectGenerationStepStartEventPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIObjectRepairContextstruct AIObjectRepairContextPackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAI.AIOutputstruct AIOutput<FinalOutput, PartialOutput> where FinalOutput : Sendable, PartialOutput : SendablePackages/swift-ai-core/Sources/SwiftAI/Output.swift
StructureSwiftAI.AIOutputGenerationResultstruct AIOutputGenerationResult<Output> where Output : SendablePackages/swift-ai-core/Sources/SwiftAI/Output.swift
StructureSwiftAI.AIParsePartialJSONResultstruct AIParsePartialJSONResultPackages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift
StructureSwiftAI.ObjectGenerationResultstruct ObjectGenerationResult<Object> where Object : SendablePackages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift
StructureSwiftAIProvider.TextGenerationResultstruct TextGenerationResultPackages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift
Type MethodSwiftAI.array(element:minItems:maxItems:name:description:)static func array<ElementSchema>(element: ElementSchema, minItems: Int? = nil, maxItems: Int? = nil, name: String? = nil, description: String? = nil) -> AIOutput<[ElementSchema.Output], [ElementSchema.Output]> where ElementSchema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.array(element:minItems:maxItems:name:description:as:)static func array<Element>(element: JSONValue, minItems: Int? = nil, maxItems: Int? = nil, name: String? = nil, description: String? = nil, as type: Element.Type = Element.self) -> AIOutput<[Element], [Element]> where Element : Decodable, Element : SendablePackages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.array(element:name:description:)static func array<ElementSchema>(element: ElementSchema, name: String? = nil, description: String? = nil) -> AIOutput<[ElementSchema.Output], [ElementSchema.Output]> where ElementSchema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.array(element:name:description:as:)static func array<Element>(element: JSONValue, name: String? = nil, description: String? = nil, as type: Element.Type = Element.self) -> AIOutput<[Element], [Element]> where Element : Decodable, Element : SendablePackages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.choice(options:name:description:)static func choice(options: [String], name: String? = nil, description: String? = nil) -> AIOutput<String, String>Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.generateEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateEnum(model: any LanguageModel, prompt: String, values: [String], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String>Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateEnum(model:request:values:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String>Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateJSON(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue>Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateJSON(model:request:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue>Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObject(model:prompt:as:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObject<Object>(model: any LanguageModel, prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObject(model:prompt:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObject<Schema>(model: any LanguageModel, prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObject(model:request:as:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObject<Object>(model: any LanguageModel, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObject(model:request:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObject<Schema>(model: any LanguageModel, request: LanguageModelRequest, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObjectArray(model:prompt:as:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObjectArray<Element>(model: any LanguageModel, prompt: String, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObjectArray(model:prompt:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObjectArray<ElementSchema>(model: any LanguageModel, prompt: String, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[ElementSchema.Output]> where ElementSchema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObjectArray(model:request:as:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObjectArray<Element>(model: any LanguageModel, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.generateObjectArray(model:request:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func generateObjectArray<ElementSchema>(model: any LanguageModel, request: LanguageModelRequest, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[ElementSchema.Output]> where ElementSchema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift
Type MethodSwiftAI.json(name:description:)static func json(name: String? = nil, description: String? = nil) -> AIOutput<JSONValue, JSONValue>Packages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.object(schema:name:description:)static func object<Schema>(schema: Schema, name: String? = nil, description: String? = nil) -> AIOutput<Schema.Output, JSONValue> where Schema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.object(schema:name:description:as:)static func object<Object>(schema: JSONValue? = nil, name: String? = nil, description: String? = nil, as type: Object.Type = Object.self) -> AIOutput<Object, JSONValue> where Object : Decodable, Object : SendablePackages/swift-ai-core/Sources/SwiftAI/Output.swift
Type MethodSwiftAI.streamObject(model:prompt:as:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObject<Object>(model: any LanguageModel, prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectSchema.swift
Type MethodSwiftAI.streamObject(model:prompt:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObject<Schema>(model: any LanguageModel, prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Schema.Output>, any Error> where Schema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectSchema.swift
Type MethodSwiftAI.streamObject(model:request:as:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObject<Object>(model: any LanguageModel, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObject.swift
Type MethodSwiftAI.streamObject(model:request:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObject<Schema>(model: any LanguageModel, request: LanguageModelRequest, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Schema.Output>, any Error> where Schema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectSchema.swift
Type MethodSwiftAI.streamObjectArray(model:prompt:as:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObjectArray<Element>(model: any LanguageModel, prompt: String, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[Element]>, any Error> where Element : Decodable, Element : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift
Type MethodSwiftAI.streamObjectArray(model:prompt:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObjectArray<ElementSchema>(model: any LanguageModel, prompt: String, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[ElementSchema.Output]>, any Error> where ElementSchema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift
Type MethodSwiftAI.streamObjectArray(model:request:as:elementSchema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObjectArray<Element>(model: any LanguageModel, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[Element]>, any Error> where Element : Decodable, Element : SendablePackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift
Type MethodSwiftAI.streamObjectArray(model:request:elementSchema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:)static func streamObjectArray<ElementSchema>(model: any LanguageModel, request: LanguageModelRequest, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[ElementSchema.Output]>, any Error> where ElementSchema : AIObjectSchemaPackages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift
Type MethodSwiftAI.text()static func text() -> AIOutput<String, String>Packages/swift-ai-core/Sources/SwiftAI/Output.swift