| Case | SwiftAI.AIPruneEmptyMessages.keep | case keep | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneEmptyMessages.remove | case remove | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneReasoning.all | case all | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneReasoning.beforeLastMessage | case beforeLastMessage | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneReasoning.none | case none | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneToolCalls.Scope.all | case all | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneToolCalls.Scope.beforeLastMessages(_:) | case beforeLastMessages(Int) | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIRealtimeSessionError.closed | case closed | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionError.connectionEndedBeforeOpening | case connectionEndedBeforeOpening | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionError.unexpectedClosure(_:) | case unexpectedClosure(AIDuplexWebSocketCloseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionEvent.closed(_:) | case closed(AIDuplexWebSocketCloseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionEvent.opened(protocol:) | case opened(protocol: String?) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionEvent.server(_:) | case server(AIRealtimeServerEvent) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIStreamTimeoutPhase.chunk | case chunk | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Case | SwiftAI.AIStreamTimeoutPhase.firstChunk | case firstChunk | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Case | SwiftAIOpenAI.ResponsesRequestMode.openAICompatible | case openAICompatible | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAICompatibleMetadata.swift |
| Case | SwiftAIOpenAI.ResponsesRequestMode.openResponses(providerOptionsName:) | case openResponses(providerOptionsName: String) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAICompatibleMetadata.swift |
| Case | SwiftAIOpenAICompatible.OpenAICompatibleWireProfile.generic | case generic | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Case | SwiftAIOpenAICompatible.OpenAICompatibleWireProfile.openAI(namespace:) | case openAI(namespace: String) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Case | SwiftAIProvider.AIAbortSource.signal(_:) | case signal(AIAbortSignal) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIAbortSource.timeoutMilliseconds(_:) | case timeoutMilliseconds(Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: Result) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchLifecycleStatus.completed | case completed | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchLifecycleStatus.failed | case failed | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchLifecycleStatus.pending | case pending | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchReferenceType.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchRequest.image(_:) | case image(ImageBatchRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchRequest.text(_:) | case text(TextBatchRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchV4ItemResult.image(_:) | case image(AIBatchItemResult<ImageGenerationResult>) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchV4ItemResult.text(_:) | case text(AIBatchItemResult<TextGenerationResult>) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIContentPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.data(mimeType:data:providerMetadata:) | case data(mimeType: String, data: Data, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.file(mimeType:data:filename:providerMetadata:) | case file(mimeType: String, data: Data, filename: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.imageURL(_:providerMetadata:) | case imageURL(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.providerReference(mimeType:reference:filename:providerMetadata:) | case providerReference(mimeType: String, reference: AIProviderReference, filename: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.reasoning(_:providerMetadata:) | case reasoning(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.text(_:providerMetadata:) | case text(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolCall(_:) | case toolCall(AIToolCall) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolResult(_:) | case toolResult(AIToolResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.boolean(probability:) | case boolean(probability: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.box(box:) | case box(box: AIDecisionBox) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.choice(choice:probabilities:) | case choice(choice: String, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.refusal | case refusal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.score(score:probabilities:) | case score(score: Double, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.boolean | case boolean | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.box | case box | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.choice | case choice | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.refusal | case refusal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.score | case score | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.base64(_:) | case base64(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.data(_:) | case data(Data) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.reference(_:) | case reference(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.url(_:) | case url(URL) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelReference.model(_:) | case model(any AIDecisionModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelReference.modelID(_:) | case modelID(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelResolutionError.defaultProviderUnsupported(modelID:) | case defaultProviderUnsupported(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelResolutionError.noSuchModel(modelID:) | case noSuchModel(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelResolutionError.unsupportedSpecificationVersion(version:providerID:modelID:) | case unsupportedSpecificationVersion(version: String, providerID: String, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionState.object(_:) | case object([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionState.parts(_:) | case parts([AIDecisionStatePart]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionState.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionStatePart.file(mediaType:data:filename:providerOptions:) | case file(mediaType: String, data: AIDecisionFileData, filename: String? = nil, providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionStatePart.json(_:) | case json(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionStatePart.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIError.apiCall(_:) | case apiCall(AIAPICallError) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.gateway(_:) | case gateway(GatewayError) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.invalidArgument(argument:message:) | case invalidArgument(argument: String, message: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.invalidResponse(provider:message:) | case invalidResponse(provider: String, message: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.invalidURL(_:) | case invalidURL(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.missingAPIKey(provider:environmentVariables:) | case missingAPIKey(provider: String, environmentVariables: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.timeout(durationNanoseconds:) | case timeout(durationNanoseconds: UInt64) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.unsupportedModel(provider:capability:modelID:) | case unsupportedModel(provider: String, capability: ModelCapability, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.boolean(probability:) | case boolean(probability: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.box(box:) | case box(box: AIDecisionBox) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.choice(choice:probabilities:) | case choice(choice: String, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.score(score:probabilities:) | case score(score: Double, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelReference.model(_:) | case model(any AIEvaluationModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelReference.modelID(_:) | case modelID(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelResolutionError.defaultProviderUnsupported(modelID:) | case defaultProviderUnsupported(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelResolutionError.noSuchModel(modelID:) | case noSuchModel(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelResolutionError.unsupportedSpecificationVersion(version:providerID:modelID:) | case unsupportedSpecificationVersion(version: String, providerID: String, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.boolean(instructions:criteria:) | case boolean(instructions: JSONValue = .null, criteria: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.box(instructions:) | case box(instructions: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.choice(instructions:criteria:) | case choice(instructions: JSONValue = .null, criteria: [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.score(instructions:criteria:) | case score(instructions: JSONValue = .null, criteria: [JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.boolean | case boolean | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.box | case box | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.choice | case choice | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.score | case score | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIFileOperation.delete | case delete | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIFileOperation.download | case download | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIFileOperation.getMetadata | case getMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIFileOperation.upload | case upload | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.contextAppend(content:delegationID:eventID:providerOptions:) | case contextAppend(content: String, delegationID: String?, eventID: String? = nil, providerOptions: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.conversationItemCreate(_:) | case conversationItemCreate(AIRealtimeConversationItem) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.conversationItemTruncate(itemID:contentIndex:audioEndMilliseconds:) | case conversationItemTruncate(itemID: String, contentIndex: Int, audioEndMilliseconds: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioAppend(audio:) | case inputAudioAppend(audio: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioAppendWithEventID(audio:eventID:) | case inputAudioAppendWithEventID(audio: String, eventID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioClear | case inputAudioClear | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioCommit | case inputAudioCommit | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioMute(eventID:) | case inputAudioMute(eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioUnmute(eventID:) | case inputAudioUnmute(eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.responseCancel | case responseCancel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.responseCreate(options:) | case responseCreate(options: AIRealtimeResponseOptions? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionClose(eventID:) | case sessionClose(eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionStart(_:eventID:) | case sessionStart(AIRealtimeSessionConfiguration, eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionUpdate(_:) | case sessionUpdate(AIRealtimeSessionConfiguration) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionUpdateWithEventID(_:eventID:) | case sessionUpdateWithEventID(AIRealtimeSessionConfiguration, eventID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConnectionKind.clientSecretWebSocket | case clientSecretWebSocket | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConnectionKind.serverWebSocket | case serverWebSocket | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConnectionKind.webRTC | case webRTC | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationItem.audioMessage(audio:) | case audioMessage(audio: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationItem.functionCallOutput(callID:name:output:) | case functionCallOutput(callID: String, name: String?, output: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationItem.textMessage(text:) | case textMessage(text: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationMode.continuous | case continuous | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationMode.turnBased | case turnBased | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeDelegationMode.client | case client | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeDelegationMode.provider | case provider | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeFinalizationMode.sessionClose | case sessionClose | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeFinalizationMode.transportClose | case transportClose | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeOutputModality.audio | case audio | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeOutputModality.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioChunk(delta:raw:) | case audioChunk(delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioCommitted(itemID:previousItemID:raw:) | case audioCommitted(itemID: String?, previousItemID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioDelta(responseID:itemID:delta:raw:) | case audioDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioDone(responseID:itemID:raw:) | case audioDone(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioTranscriptDelta(responseID:itemID:delta:raw:) | case audioTranscriptDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioTranscriptDone(responseID:itemID:transcript:raw:) | case audioTranscriptDone(responseID: String, itemID: String, transcript: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.commandAcknowledged(command:clientEventID:raw:) | case commandAcknowledged(command: String, clientEventID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.contentPartAdded(responseID:itemID:raw:) | case contentPartAdded(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.contentPartDone(responseID:itemID:raw:) | case contentPartDone(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.conversationItemAdded(itemID:item:raw:) | case conversationItemAdded(itemID: String, item: JSONValue, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.correlatedError(message:code:clientEventID:raw:) | case correlatedError(message: String, code: String?, clientEventID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.custom(rawType:raw:) | case custom(rawType: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.delegationCreated(delegationID:target:offsetMilliseconds:responseID:raw:) | case delegationCreated(delegationID: String, target: AIRealtimeDelegationMode?, offsetMilliseconds: Double?, responseID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.error(message:code:raw:) | case error(message: String, code: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.functionCallArgumentsDelta(responseID:itemID:callID:delta:raw:) | case functionCallArgumentsDelta(responseID: String, itemID: String, callID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.functionCallArgumentsDone(responseID:itemID:callID:name:arguments:raw:) | case functionCallArgumentsDone(responseID: String, itemID: String, callID: String, name: String, arguments: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.inputTranscriptionCompleted(itemID:transcript:raw:) | case inputTranscriptionCompleted(itemID: String, transcript: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.outputItemAdded(responseID:itemID:raw:) | case outputItemAdded(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.outputItemDone(responseID:itemID:raw:) | case outputItemDone(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.responseCreated(responseID:raw:) | case responseCreated(responseID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.responseDone(responseID:status:raw:) | case responseDone(responseID: String, status: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionClosed(sessionID:usage:reason:raw:) | case sessionClosed(sessionID: String?, usage: AIRealtimeSessionUsage, reason: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionCreated(sessionID:raw:) | case sessionCreated(sessionID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionStarted(sessionID:delegationMode:raw:) | case sessionStarted(sessionID: String, delegationMode: AIRealtimeDelegationMode?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionUpdated(raw:) | case sessionUpdated(raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionUsage(usage:contextWindowUsageRatio:raw:) | case sessionUsage(usage: AIRealtimeSessionUsage, contextWindowUsageRatio: Double?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.speechStarted(itemID:raw:) | case speechStarted(itemID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.speechStopped(itemID:raw:) | case speechStopped(itemID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.textDelta(responseID:itemID:delta:raw:) | case textDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.textDone(responseID:itemID:text:raw:) | case textDone(responseID: String, itemID: String, text: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.transcriptFragment(speaker:delta:startMilliseconds:endMilliseconds:raw:) | case transcriptFragment(speaker: AIRealtimeTranscriptSpeaker, delta: String, startMilliseconds: Double, endMilliseconds: Double, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeStartupMode.sessionStart | case sessionStart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeStartupMode.sessionUpdate | case sessionUpdate | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTranscriptSpeaker.assistant | case assistant | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTranscriptSpeaker.user | case user | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTransportKind.webRTC | case webRTC | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTransportKind.webSocket | case webSocket | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTurnDetectionType.disabled | case disabled | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTurnDetectionType.semanticVAD | case semanticVAD | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTurnDetectionType.serverVAD | case serverVAD | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeWireMessage.binary(_:) | case binary(Data) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeWireMessage.json(_:) | case json(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeWireMessage.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIResponseFormat.json(schema:name:description:) | case json(schema: JSONValue? = nil, name: String? = nil, description: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIResponseFormat.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIRetryErrorReason.cancelled | case cancelled | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIRetryErrorReason.errorNotRetryable | case errorNotRetryable | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIRetryErrorReason.maxRetriesExceeded | case maxRetriesExceeded | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIToolInputEncoding.json | case json | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Case | SwiftAIProvider.AIToolInputEncoding.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Case | SwiftAIProvider.BatchItemResult.image(_:) | case image(ImageBatchItemResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.BatchItemResult.text(_:) | case text(TextBatchItemResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.FileUploadData.data(_:) | case data(Data) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Case | SwiftAIProvider.FileUploadData.stream(_:) | case stream(AsyncThrowingStream<Data, any Error>) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: ImageBatchGenerationResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.JSONValue.array(_:) | case array([JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.bool(_:) | case bool(Bool) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.null | case null | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.number(_:) | case number(Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.object(_:) | case object([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.string(_:) | case string(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.MessageRole.assistant | case assistant | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.MessageRole.system | case system | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.MessageRole.tool | case tool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.MessageRole.user | case user | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.audioGeneration | case audioGeneration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.audioTransformation | case audioTransformation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.completion | case completion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.decision | case decision | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.dubbing | case dubbing | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.embedding | case embedding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.evaluation | case evaluation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.image | case image | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.language | case language | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.reranking | case reranking | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.speech | case speech | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.transcription | case transcription | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.video | case video | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.TextBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.TextBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.TextBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.TextBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: TextBatchGenerationResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProviderUtilities.AISmoothStreamChunking.line | case line | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Case | SwiftAIProviderUtilities.AISmoothStreamChunking.word | case word | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Case | SwiftAISDK.AIUIMessagePart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.data(_:) | case data(AIUIDataPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue?) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.file(_:) | case file(AIStreamFile) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.metadata(_:) | case metadata([String : JSONValue]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.raw(_:) | case raw(JSONValue) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.reasoning(_:) | case reasoning(AIUIReasoningPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.source(_:) | case source(AISource) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.text(_:) | case text(AIUITextPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolCall(_:) | case toolCall(AIToolCall) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolResult(_:) | case toolResult(AIToolResult) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIStreamingPartState.done | case done | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIStreamingPartState.streaming | case streaming | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAITransport.AIDuplexWebSocketEvent.closed(_:) | case closed(AIDuplexWebSocketCloseMetadata) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketEvent.message(_:) | case message(AIDuplexWebSocketMessage) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketEvent.opened(protocol:) | case opened(protocol: String?) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketMessage.binary(_:) | case binary(Data) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketMessage.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Class | SwiftAI.AIRealtimeSession | final class AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Class | SwiftAIAnthropic.AnthropicBatchLanguageModel | final class AnthropicBatchLanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Class | SwiftAIAnthropic.AnthropicBatchProvider | final class AnthropicBatchProvider | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Class | SwiftAIAnthropic.AnthropicFileClient | final class AnthropicFileClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Class | SwiftAIAnthropic.AnthropicLanguageModel | final class AnthropicLanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Class | SwiftAIAnthropic.AnthropicSkillsClient | final class AnthropicSkillsClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Class | SwiftAIOpenAI.MultipartFileClient | final class MultipartFileClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Class | SwiftAIOpenAI.OpenAIBatchProvider | final class OpenAIBatchProvider | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Class | SwiftAIOpenAI.OpenAICompatibleResponsesModel | final class OpenAICompatibleResponsesModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Class | SwiftAIOpenAI.OpenAIDecisionModel | final class OpenAIDecisionModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Class | SwiftAIOpenAI.OpenAILiveModel | final class OpenAILiveModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Class | SwiftAIOpenAI.OpenAIResponsesBatchLanguageModel | final class OpenAIResponsesBatchLanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Class | SwiftAIOpenAI.OpenAISkillsClient | final class OpenAISkillsClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleChatModel | final class OpenAICompatibleChatModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleCompletionModel | final class OpenAICompatibleCompletionModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Class | SwiftAIProvider.AIAbortController | final class AIAbortController | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Class | SwiftAIProvider.AIAbortHandlerRegistration | final class AIAbortHandlerRegistration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Class | SwiftAIProvider.AIAbortSignal | final class AIAbortSignal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Class | SwiftAIProviderUtilities.AIDelayedPromise | final class AIDelayedPromise<Value> where Value : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Class | SwiftAIProviderUtilities.AISerialJobExecutor | final class AISerialJobExecutor | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Class | SwiftAIProviderUtilities.DecisionLanguageModel | final class DecisionLanguageModel | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Class | SwiftAIProviderUtilities.EvaluationLanguageModel | final class EvaluationLanguageModel | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Class | SwiftAISDK.AICustomProvider | final class AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Class | SwiftAITransport.URLSessionDuplexWebSocketTransport | final class URLSessionDuplexWebSocketTransport | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Class | SwiftAITransport.URLSessionTransport | final class URLSessionTransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Enumeration | SwiftAI.AI | enum AI | Packages/swift-ai-core/Sources/SwiftAI/AI.swift |
| Enumeration | SwiftAI.AIPruneEmptyMessages | enum AIPruneEmptyMessages | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Enumeration | SwiftAI.AIPruneReasoning | enum AIPruneReasoning | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Enumeration | SwiftAI.AIPruneToolCalls.Scope | enum Scope | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Enumeration | SwiftAI.AIRealtimeSessionError | enum AIRealtimeSessionError | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Enumeration | SwiftAI.AIRealtimeSessionEvent | enum AIRealtimeSessionEvent | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Enumeration | SwiftAI.AIStreamTimeoutPhase | enum AIStreamTimeoutPhase | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Enumeration | SwiftAIAnthropic.AnthropicTools | enum AnthropicTools | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Enumeration | SwiftAIOpenAI.ResponsesRequestMode | enum ResponsesRequestMode | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAICompatibleMetadata.swift |
| Enumeration | SwiftAIOpenAICompatible.OpenAICompatibleWireProfile | enum OpenAICompatibleWireProfile | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Enumeration | SwiftAIProvider.AIAbortSource | enum AIAbortSource | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Enumeration | SwiftAIProvider.AIBatchItemResult | enum AIBatchItemResult<Result> where Result : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchLifecycleStatus | enum AIBatchLifecycleStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchReferenceType | enum AIBatchReferenceType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchRequest | enum AIBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchV4ItemResult | enum AIBatchV4ItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIContentPart | enum AIContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Enumeration | SwiftAIProvider.AIDecisionAnswer | enum AIDecisionAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionAnswerType | enum AIDecisionAnswerType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionFileData | enum AIDecisionFileData | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionModelReference | enum AIDecisionModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionModelResolutionError | enum AIDecisionModelResolutionError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionState | enum AIDecisionState | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionStatePart | enum AIDecisionStatePart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIError | enum AIError | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Enumeration | SwiftAIProvider.AIEvaluationAnswer | enum AIEvaluationAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationModelReference | enum AIEvaluationModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationModelResolutionError | enum AIEvaluationModelResolutionError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationQuestion | enum AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationQuestionType | enum AIEvaluationQuestionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIFileOperation | enum AIFileOperation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Enumeration | SwiftAIProvider.AIRealtimeClientEvent | enum AIRealtimeClientEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeConnectionKind | enum AIRealtimeConnectionKind | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeConversationItem | enum AIRealtimeConversationItem | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeConversationMode | enum AIRealtimeConversationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeDelegationMode | enum AIRealtimeDelegationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeFinalizationMode | enum AIRealtimeFinalizationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeOutputModality | enum AIRealtimeOutputModality | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeServerEvent | enum AIRealtimeServerEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeStartupMode | enum AIRealtimeStartupMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeTranscriptSpeaker | enum AIRealtimeTranscriptSpeaker | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeTransportKind | enum AIRealtimeTransportKind | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeTurnDetectionType | enum AIRealtimeTurnDetectionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeWireMessage | enum AIRealtimeWireMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIResponseFormat | enum AIResponseFormat | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Enumeration | SwiftAIProvider.AIRetryErrorReason | enum AIRetryErrorReason | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Enumeration | SwiftAIProvider.AIToolInputEncoding | enum AIToolInputEncoding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Enumeration | SwiftAIProvider.BatchItemResult | enum BatchItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.FileUploadData | enum FileUploadData | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Enumeration | SwiftAIProvider.ImageBatchItemResult | enum ImageBatchItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.JSONValue | enum JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Enumeration | SwiftAIProvider.MessageRole | enum MessageRole | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Enumeration | SwiftAIProvider.ModelCapability | enum ModelCapability | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Enumeration | SwiftAIProvider.TextBatchItemResult | enum TextBatchItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProviderUtilities.AIJSONSchemaValidator | enum AIJSONSchemaValidator | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONSchemaValidator.swift |
| Enumeration | SwiftAIProviderUtilities.AISmoothStreamChunking | enum AISmoothStreamChunking | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Enumeration | SwiftAIProviderUtilities.AIWarningLogging | enum AIWarningLogging | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Enumeration | SwiftAISDK.AI | enum AI | Sources/SwiftAISDK/Compatibility.swift |
| Enumeration | SwiftAISDK.AIProviders | enum AIProviders | Sources/SwiftAISDK/Compatibility.swift |
| Enumeration | SwiftAISDK.AIUIMessagePart | enum AIUIMessagePart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Enumeration | SwiftAISDK.AIUIStreamingPartState | enum AIUIStreamingPartState | Sources/SwiftAISDK/CoreUIMessages.swift |
| Enumeration | SwiftAITransport.AIDuplexWebSocketEvent | enum AIDuplexWebSocketEvent | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Enumeration | SwiftAITransport.AIDuplexWebSocketMessage | enum AIDuplexWebSocketMessage | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Function | SwiftAI.pruneMessages(_:reasoning:toolCalls:emptyMessages:) | func pruneMessages(_ messages: [AIMessage], reasoning: AIPruneReasoning = .none, toolCalls: [AIPruneToolCalls] = [], emptyMessages: AIPruneEmptyMessages = .remove) -> [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Function | SwiftAI.toResponseMessages(content:toolsByName:) | func toResponseMessages(content: [AIContentPart], toolsByName: [String : AITool] = [:]) async throws -> [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/ResponseMessages.swift |
| Function | SwiftAIAnthropic.amazonBedrockThinkingBindingBody(_:) | func amazonBedrockThinkingBindingBody(_ body: [String : JSONValue]) -> [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Function | SwiftAIAnthropic.anthropicCitationDocuments(from:) | func anthropicCitationDocuments(from messages: [AIMessage]) -> [AnthropicCitationDocument] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicContainerMetadata(from:) | func anthropicContainerMetadata(from value: JSONValue?) -> JSONValue? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicContextManagementMetadata(from:) | func anthropicContextManagementMetadata(from value: JSONValue?) -> JSONValue? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicFinishReason(_:) | func anthropicFinishReason(_ reason: String?) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicFinishReason(_:toolCallCount:) | func anthropicFinishReason(_ reason: String?, toolCallCount: Int) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicFinishReason(_:toolCalls:) | func anthropicFinishReason(_ reason: String?, toolCalls: [AIToolCall]) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicGeneratedContent(from:providerID:citationDocuments:usesJSONToolResponseFormat:toolNameMapping:markCodeExecutionDynamic:isBatchResult:) | func anthropicGeneratedContent(from value: JSONValue?, providerID: String, citationDocuments: [AnthropicCitationDocument], usesJSONToolResponseFormat: Bool = false, toolNameMapping: AIToolNameMapping = AIToolNameMapping(), markCodeExecutionDynamic: Bool = false, isBatchResult: Bool = false) -> AnthropicGeneratedContent | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicMergedUsage(_:_:) | func anthropicMergedUsage(_ existing: JSONValue, _ update: JSONValue) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicModelCapabilities(_:) | func anthropicModelCapabilities(_ modelID: String) -> AnthropicModelCapabilities | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Function | SwiftAIAnthropic.anthropicProviderMetadata(from:providerID:requestProviderOptions:) | func anthropicProviderMetadata(from raw: JSONValue, providerID: String, requestProviderOptions: [String : JSONValue] = [:]) -> [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicProviderMetadata(usage:stopSequence:stopDetails:container:contextManagement:inputTransformations:safeguardResults:providerID:requestProviderOptions:) | func anthropicProviderMetadata(usage: JSONValue?, stopSequence: JSONValue, stopDetails: JSONValue = .null, container: JSONValue, contextManagement: JSONValue, inputTransformations: JSONValue = .null, safeguardResults: JSONValue = .null, providerID: String, requestProviderOptions: [String : JSONValue] = [:]) -> [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicSanitizeJSONSchema(_:) | func anthropicSanitizeJSONSchema(_ schema: JSONValue) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Function | SwiftAIAnthropic.anthropicStopDetailsMetadata(from:) | func anthropicStopDetailsMetadata(from value: JSONValue?) -> JSONValue? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicStreamProviderError(from:) | func anthropicStreamProviderError(from raw: JSONValue) -> AIStreamProviderError? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicSupportedHTTPURL(_:) | func anthropicSupportedHTTPURL(_ value: String) -> Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Function | SwiftAIAnthropic.anthropicTokenUsage(from:) | func anthropicTokenUsage(from usage: JSONValue?) -> TokenUsage? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicValidateFallbackContent(_:providerID:) | func anthropicValidateFallbackContent(_ content: JSONValue?, providerID: String) throws | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicValidateFallbackEvent(_:providerID:) | func anthropicValidateFallbackEvent(_ raw: JSONValue, providerID: String) throws | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIOpenAI.isOpenAIBackedProvider(_:config:) | func isOpenAIBackedProvider(_ providerID: String, config: OpenAIModelConfiguration) -> Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Function | SwiftAIOpenAI.managedFileDelete(_:providerReferenceKey:providerID:config:) | func managedFileDelete(_ request: FileDeleteRequest, providerReferenceKey: String, providerID: String, config: OpenAIModelConfiguration) async throws -> FileDeleteResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileDownload(_:providerReferenceKey:providerID:config:) | func managedFileDownload(_ request: FileDownloadRequest, providerReferenceKey: String, providerID: String, config: OpenAIModelConfiguration) async throws -> FileDownloadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileMetadata(_:providerReferenceKey:providerID:config:) | func managedFileMetadata(_ request: FileMetadataRequest, providerReferenceKey: String, providerID: String, config: OpenAIModelConfiguration) async throws -> FileMetadataResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileProviderMetadata(from:) | func managedFileProviderMetadata(from raw: JSONValue) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileResponseID(_:providerID:) | func managedFileResponseID(_ raw: JSONValue, providerID: String) throws -> String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.openAIBackedProviderRoot(_:config:) | func openAIBackedProviderRoot(_ providerID: String, config: OpenAIModelConfiguration) -> String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Function | SwiftAIOpenAI.openAIImageHasDefaultResponseFormat(_:) | func openAIImageHasDefaultResponseFormat(_ modelID: String) -> Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIOptions.swift |
| Function | SwiftAIOpenAI.openAIImageMaxImagesPerCall(_:) | func openAIImageMaxImagesPerCall(_ modelID: String) -> Int | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIOptions.swift |
| Function | SwiftAIOpenAI.openAILanguageModelCapabilities(_:) | func openAILanguageModelCapabilities(_ modelID: String) -> OpenAILanguageModelCapabilities | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Function | SwiftAIOpenAI.openAIResponsesJSONString(_:) | func openAIResponsesJSONString(_ value: JSONValue) -> String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesParsing.swift |
| Function | SwiftAIOpenAI.sendMultipartFileUpload(form:config:headers:abortSignal:) | func sendMultipartFileUpload(form: MultipartFormData, config: OpenAIModelConfiguration, headers requestHeaders: [String : String], abortSignal: AIAbortSignal?) async throws -> AIHTTPResponse | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAICompatible.isOpenAIBackedProvider(_:config:) | func isOpenAIBackedProvider(_ providerID: String, config: OpenAICompatibleModelConfiguration) -> Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Function | SwiftAIOpenAICompatible.openAIBackedProviderRoot(_:config:) | func openAIBackedProviderRoot(_ providerID: String, config: OpenAICompatibleModelConfiguration) -> String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleChatTools(from:normalizeSchema:warnings:) | func openAICompatibleChatTools(from tools: [String : JSONValue], normalizeSchema: (@Sendable (JSONValue) throws -> (schema: JSONValue, warnings: [AIWarning]))? = nil, warnings: inout [AIWarning]) throws -> [JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleFinishReason(_:) | func openAICompatibleFinishReason(_ reason: String?) -> String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleHTTPStatusError(provider:response:) | func openAICompatibleHTTPStatusError(provider: String, response: AIHTTPResponse) -> AIError | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleMergeProviderMetadata(_:into:) | func openAICompatibleMergeProviderMetadata(_ source: [String : JSONValue], into target: inout [String : JSONValue]) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleNamespacedProviderMetadata(_:providerID:namespace:) | func openAICompatibleNamespacedProviderMetadata(_ metadata: [String : JSONValue], providerID: String, namespace: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderMetadataNamespace(_:providerOptions:) | func openAICompatibleProviderMetadataNamespace(_ providerID: String, providerOptions: [String : JSONValue]? = nil) -> String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleResponseMetadata(from:response:modelID:suppressZeroCreatedTimestamp:) | func openAICompatibleResponseMetadata(from raw: JSONValue? = nil, response: AIHTTPResponse, modelID: String? = nil, suppressZeroCreatedTimestamp: Bool = false) -> AIResponseMetadata | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAIResponsesMoveKey(_:to:in:) | func openAIResponsesMoveKey(_ source: String, to destination: String, in values: inout [String : JSONValue]) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/WireKeyMapping.swift |
| Function | SwiftAIProvider.checkedBatchSafeIntegerSum(_:) | func checkedBatchSafeIntegerSum(_ values: [Int]) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Function | SwiftAIProvider.decisionJSONText(_:) | func decisionJSONText(_ value: JSONValue) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionJSON.swift |
| Function | SwiftAIProvider.delay(_:abortSignal:) | func delay(_ delayInMilliseconds: Int? = nil, abortSignal: AIAbortSignal? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.evaluationResult(from:providerID:modelID:) | func evaluationResult(from result: AIDecisionModelV4Result, providerID: String, modelID: String) throws -> AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Function | SwiftAIProvider.isFiniteJSON(_:) | func isFiniteJSON(_ value: JSONValue) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Function | SwiftAIProvider.isURLSupported(mediaType:url:supportedURLs:) | func isURLSupported(mediaType: String, url: String, supportedURLs: [String : [AISupportedURLPattern]]) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Function | SwiftAIProvider.mergeAbortSignals(_:) | @discardableResult func mergeAbortSignals(_ signals: AIAbortSignal?...) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.mergeAbortSignals(_:) | @discardableResult func mergeAbortSignals(_ signals: [AIAbortSignal?]) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.mergeAbortSignals(sources:) | @discardableResult func mergeAbortSignals(sources: AIAbortSource?...) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.mergeAbortSignals(sources:) | @discardableResult func mergeAbortSignals(sources: [AIAbortSource?]) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.normalizedBatchJSONInteger(_:) | func normalizedBatchJSONInteger(_ value: JSONValue?) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Function | SwiftAIProvider.normalizedBatchRequestCounts(total:pending:completed:failed:) | func normalizedBatchRequestCounts(total: Int?, pending: Int?, completed: Int?, failed: Int?) -> AIBatchRequestCounts? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Function | SwiftAIProvider.prepareRetries(maxRetries:) | func prepareRetries(maxRetries: Int? = nil) throws -> AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Function | SwiftAIProvider.secureJSONParse(_:) | func secureJSONParse(_ text: String) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Function | SwiftAIProvider.setAbortTimeout(abortController:label:timeoutMilliseconds:) | @discardableResult func setAbortTimeout(abortController: AIAbortController?, label: String, timeoutMilliseconds: Int?) -> Task<Void, Never>? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.sleepWithAbortSignal(nanoseconds:abortSignal:) | func sleepWithAbortSignal(nanoseconds: UInt64, abortSignal: AIAbortSignal?) async throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.validateDecisionModelVersion(_:) | func validateDecisionModelVersion(_ model: any AIDecisionModelV4) throws -> any AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Function | SwiftAIProvider.validateEvaluationInput(state:questions:decision:) | func validateEvaluationInput(state: JSONValue, questions: [String : AIEvaluationQuestion], decision: Bool = false) throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Function | SwiftAIProvider.validateEvaluationModelVersion(_:) | func validateEvaluationModelVersion(_ model: any AIEvaluationModelV4) throws -> any AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Function | SwiftAIProviderUtilities.addAdditionalPropertiesToJSONSchema(_:) | func addAdditionalPropertiesToJSONSchema(_ schema: JSONValue) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONSchemaValidator.swift |
| Function | SwiftAIProviderUtilities.aiBatchResultLineLimit(_:) | func aiBatchResultLineLimit(_ maxLineBytes: Int?) throws -> Int | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/BatchResultLines.swift |
| Function | SwiftAIProviderUtilities.aiForEachBatchResultLine(_:url:maxLineBytes:abortSignal:cancelBody:consume:) | func aiForEachBatchResultLine(_ body: AsyncThrowingStream<Data, any Error>, url: String, maxLineBytes: Int, abortSignal: AIAbortSignal?, cancelBody: @Sendable () -> Void = {}, consume: (Data) throws -> Void) async throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/BatchResultLines.swift |
| Function | SwiftAIProviderUtilities.aiRequestMetadata(body:headers:) | func aiRequestMetadata(body: JSONValue?, headers: [String : String]) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAIProviderUtilities.aiResponseMetadata(from:response:modelID:) | func aiResponseMetadata(from raw: JSONValue? = nil, response: AIHTTPResponse, modelID: String? = nil) -> AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAIProviderUtilities.aiWarningJSON(_:) | func aiWarningJSON(_ warning: AIWarning) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningSerialization.swift |
| Function | SwiftAIProviderUtilities.asArray(_:) | func asArray<Value>(_ value: Value?) -> [Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.asArray(_:) | func asArray<Value>(_ value: [Value]?) -> [Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.calculateTokensPerSecond(tokens:durationMilliseconds:) | func calculateTokensPerSecond(tokens: Double?, durationMilliseconds: Double?) -> Double | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.canonicalJSONText(_:) | func canonicalJSONText(_ value: JSONValue) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONInstructions.swift |
| Function | SwiftAIProviderUtilities.cosineSimilarity(_:_:) | func cosineSimilarity(_ vector1: [Double], _ vector2: [Double]) throws -> Double | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.cosineSimilarity(_:_:) | func cosineSimilarity(_ vector1: [Float], _ vector2: [Float]) throws -> Double | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createAsyncIterableStream(_:) | func createAsyncIterableStream<Element>(_ source: AsyncThrowingStream<Element, any Error>) -> AsyncThrowingStream<Element, any Error> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createIdGenerator(prefix:separator:size:alphabet:) | func createIdGenerator(prefix: String? = nil, separator: String = "-", size: Int = 16, alphabet: String = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") -> AIIdGenerator | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createStitchableStream() | func createStitchableStream<Element>() -> AIStitchableStream<Element> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createToolNameMapping(tools:providerToolNames:) | func createToolNameMapping(tools: [String : JSONValue]? = nil, providerToolNames: [String : String]) -> AIToolNameMapping | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.decisionStatePartJSON(_:) | func decisionStatePartJSON(_ part: AIDecisionStatePart) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionSerialization.swift |
| Function | SwiftAIProviderUtilities.extractLines(text:startLine:endLine:) | func extractLines(text: String, startLine: Int? = nil, endLine: Int? = nil) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.fileDate(_:) | func fileDate(_ value: JSONValue?) -> Date? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileInteger(_:) | func fileInteger(_ value: JSONValue?) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileMetadata(from:) | func fileMetadata(from raw: JSONValue) -> [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileProviderMetadata(from:) | func fileProviderMetadata(from raw: JSONValue) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileUploadMetadata(_:defaultFilename:) | func fileUploadMetadata(_ request: FileUploadRequest, defaultFilename: String) -> [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.filterNullable(_:) | func filterNullable<Value>(_ values: Value?...) -> [Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.generateId() | func generateId() -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.getPotentialStartIndex(_:_:) | func getPotentialStartIndex(_ text: String, _ searchedText: String) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.imageGenerationRequestMetadata(_:body:) | func imageGenerationRequestMetadata(_ request: ImageGenerationRequest, body: JSONValue? = nil) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAIProviderUtilities.injectJSONInstruction(into:schema:instruction:) | func injectJSONInstruction(into messages: [AIMessage], schema: JSONValue?, instruction: AIJSONInstruction) -> [AIMessage] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONInstructions.swift |
| Function | SwiftAIProviderUtilities.isCustomReasoning(_:) | func isCustomReasoning(_ reasoning: String?) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.isDeepEqualData(_:_:) | func isDeepEqualData(_ lhs: JSONValue, _ rhs: JSONValue) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.isJSONSerializable(_:) | func isJSONSerializable(_ value: Any?) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.isParsableJSON(_:) | func isParsableJSON(_ input: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.mapReasoningToProviderBudget(reasoning:maxOutputTokens:maxReasoningBudget:minReasoningBudget:budgetPercentages:warnings:) | func mapReasoningToProviderBudget(reasoning: String, maxOutputTokens: Int, maxReasoningBudget: Int, minReasoningBudget: Int = 1024, budgetPercentages: [String : Double] = [ "minimal": 0.02, "low": 0.1, "medium": 0.3, "high": 0.6, "xhigh": 0.9, "max": 0.95 ], warnings: inout [AIWarning]) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mapReasoningToProviderEffort(reasoning:effortMap:warnings:) | func mapReasoningToProviderEffort(reasoning: String, effortMap: [String : String], warnings: inout [AIWarning]) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mergeCallbacks(_:) | func mergeCallbacks<Event>(_ callbacks: [AICallback<Event>?]) -> AICallback<Event> where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mergeCallbacks(_:) | func mergeCallbacks<Event>(_ callbacks: AICallback<Event>?...) -> AICallback<Event> where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mergeObjects(_:_:) | func mergeObjects(_ target: [String : JSONValue]?, _ source: [String : JSONValue]?) -> [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.multipartFileProviderOptions(_:providerOptionsName:) | func multipartFileProviderOptions(_ providerOptions: [String : JSONValue], providerOptionsName: String?) throws -> MultipartFileProviderOptions | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.multipartFileUploadRequestMetadata(_:includePurpose:defaultFilename:options:) | func multipartFileUploadRequestMetadata(_ request: FileUploadRequest, includePurpose: Bool, defaultFilename: String, options: MultipartFileProviderOptions) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.multipartFileUploadWarnings(_:includePurpose:) | func multipartFileUploadWarnings(_ request: FileUploadRequest, includePurpose: Bool) -> [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.notify(event:) | func notify<Event>(event: Event) async where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.notify(event:callback:) | func notify<Event>(event: Event, callback: AICallback<Event>?) async where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.notify(event:callbacks:) | func notify<Event>(event: Event, callbacks: [AICallback<Event>?]) async where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.parseJSON(_:schema:) | func parseJSON(_ text: String, schema: JSONValue? = nil) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.removeNilEntries(_:) | func removeNilEntries<Value>(_ input: [String : Value?]) -> [String : Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.resolvedToolCallID(_:whenMissing:) | func resolvedToolCallID(_ value: String?, whenMissing fallback: @autoclosure () -> String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.safeParseJSON(_:schema:) | func safeParseJSON(_ text: String, schema: JSONValue? = nil) -> AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.simulateReadableStream(chunks:initialDelayNanoseconds:chunkDelayNanoseconds:delay:) | func simulateReadableStream<Element>(chunks: [Element], initialDelayNanoseconds: UInt64? = 0, chunkDelayNanoseconds: UInt64? = 0, delay: (@Sendable (UInt64?) async throws -> Void)? = nil) -> AsyncThrowingStream<Element, any Error> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.skillUploadRequestMetadata(_:includeDisplayTitle:) | func skillUploadRequestMetadata(_ request: SkillUploadRequest, includeDisplayTitle: Bool) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SkillUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.smoothStream(_:delayNanoseconds:chunking:) | func smoothStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>, delayNanoseconds: UInt64? = 10_000_000, chunking: AISmoothStreamChunking = .word) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.smoothStream(_:delayNanoseconds:detectChunk:) | func smoothStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>, delayNanoseconds: UInt64? = 10_000_000, detectChunk: @escaping AISmoothStreamChunkDetector) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.splitArray(_:chunkSize:) | func splitArray<Element>(_ array: [Element], chunkSize: Int) throws -> [[Element]] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.stripFileExtension(_:) | func stripFileExtension(_ filename: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.sumTokenCounts(_:_:) | func sumTokenCounts(_ lhs: Int?, _ rhs: Int?) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.tokenUsage(from:) | func tokenUsage(from raw: JSONValue) -> TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/UsageParsing.swift |
| Function | SwiftAIProviderUtilities.toTextStream(_:) | func toTextStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>) -> AsyncThrowingStream<String, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.unsupportedStreamingFileUpload(providerID:) | func unsupportedStreamingFileUpload(providerID: String) -> AIError | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.validateDecisionInput(state:questions:) | func validateDecisionInput(state: AIDecisionState, questions: [String : AIDecisionQuestion]) throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionValidation.swift |
| Function | SwiftAIProviderUtilities.videoGenerationRequestMetadata(_:body:) | func videoGenerationRequestMetadata(_ request: VideoGenerationRequest, body: JSONValue? = nil) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAISDK.createAgentUIStream(agent:uiMessages:options:messageID:) | func createAgentUIStream(agent: any AIAgent, uiMessages: [AIUIMessage], options: AIAgentCallOptions = AIAgentCallOptions(), messageID: String = UUID().uuidString) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Function | SwiftAISDK.createAgentUIStream(agent:uiMessages:options:messageID:convertDataPart:) | func createAgentUIStream(agent: any AIAgent, uiMessages: [AIUIMessage], options: AIAgentCallOptions = AIAgentCallOptions(), messageID: String = UUID().uuidString, convertDataPart: AIUIDataPartConverter?) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Function | SwiftAISDK.isToolOutputErrorUIPart(_:) | func isToolOutputErrorUIPart(_ part: AIUIMessagePart) -> Bool | Sources/SwiftAISDK/CoreUIMessages.swift |
| Function | SwiftAISDK.toolOutputErrorUIPart(_:) | func toolOutputErrorUIPart(_ part: AIUIMessagePart) -> AIUIToolOutputErrorPart? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Function | SwiftAITransport.apiCallError(provider:response:) | func apiCallError(provider: String, response: AIHTTPResponse) -> AIError | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.apiCallError(provider:statusCode:body:headers:) | func apiCallError(provider: String, statusCode: Int, body: String, headers: [String : String] = [:]) -> AIError | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.bufferedHTTPResponse(from:request:) | func bufferedHTTPResponse(from response: AIHTTPStreamResponse, request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Function | SwiftAITransport.combineHeaders(_:) | func combineHeaders(_ headers: [String : String]...) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.decodeJSONBody(_:) | func decodeJSONBody(_ data: Data) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.deleteFromAPI(url:transport:headers:abortSignal:) | func deleteFromAPI(url: URL, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> (request: AIHTTPRequest, response: AIHTTPResponse) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.downloadURL(_:transport:headers:abortSignal:maxBytes:trustedOrigin:credentialedOrigin:) | func downloadURL(_ string: String, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, maxBytes: Int = AIDefaultMaxDownloadSize, trustedOrigin: String? = nil, credentialedOrigin: String? = nil) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.encodeJSONBody(_:) | func encodeJSONBody(_ value: JSONValue) throws -> Data | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.encodePathSegment(_:) | func encodePathSegment(_ value: String) -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.environmentValue(_:) | func environmentValue(_ names: [String]) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.fetchUntrustedURL(_:transport:headers:abortSignal:maxBytes:trustedOrigin:credentialedOrigin:untrustedFirstHopHeaders:) | func fetchUntrustedURL(_ string: String, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, maxBytes: Int = AIDefaultMaxDownloadSize, trustedOrigin: String? = nil, credentialedOrigin: String? = nil, untrustedFirstHopHeaders: [String] = []) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getBinaryStreamFromAPI(url:transport:providerID:headers:abortSignal:trustedOrigin:credentialedOrigin:) | func getBinaryStreamFromAPI(url: URL, transport: any AITransport, providerID: String, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, trustedOrigin: String? = nil, credentialedOrigin: String? = nil) async throws -> (request: AIHTTPRequest, response: AIHTTPStreamResponse) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getFromAPI(url:transport:headers:abortSignal:) | func getFromAPI(url: URL, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> (request: AIHTTPRequest, response: AIHTTPResponse) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getTextFromDataUrl(_:) | func getTextFromDataUrl(_ string: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getTextFromDataURL(_:) | func getTextFromDataURL(_ string: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.httpResponseHead(from:request:) | func httpResponseHead(from response: AIHTTPStreamResponse, request: AIHTTPRequest) -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Function | SwiftAITransport.isSameOrigin(_:_:) | func isSameOrigin(_ lhs: String, _ rhs: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.isValidHostnamePart(_:) | func isValidHostnamePart(_ value: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HostnameValidation.swift |
| Function | SwiftAITransport.jsonScalarString(_:) | func jsonScalarString(_ value: JSONValue) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Function | SwiftAITransport.normalizeHeaderEntries(_:) | func normalizeHeaderEntries(_ entries: [(String, String?)]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.normalizeHeaders(_:) | func normalizeHeaders(_ headers: [String : String?]?) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.normalizeHeaders(_:) | func normalizeHeaders(_ headers: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.parseServerSentEvents(_:) | func parseServerSentEvents(_ data: Data) -> [ServerSentEvent] | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Function | SwiftAITransport.prepareHeaders(_:defaultHeaders:) | func prepareHeaders(_ headers: [String : String?]?, defaultHeaders: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.prepareHeaders(_:defaultHeaders:) | func prepareHeaders(_ headers: [String : String], defaultHeaders: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.raceAbortSignal(_:operation:) | func raceAbortSignal<Output>(_ abortSignal: AIAbortSignal, operation: @escaping @Sendable () async throws -> Output) async throws -> Output where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.readResponseWithSizeLimit(response:url:maxBytes:) | func readResponseWithSizeLimit(response: AIHTTPStreamResponse, url: String, maxBytes: Int = AIDefaultMaxDownloadSize) async throws -> Data | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.requireStreamingTransport(_:providerID:) | func requireStreamingTransport(_ transport: any AITransport, providerID: String) throws -> any AIStreamingTransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.requireURL(_:) | func requireURL(_ string: String) throws -> URL | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.serverSentEvents(from:) | func serverSentEvents(from body: AsyncThrowingStream<Data, any Error>) -> IncrementalServerSentEventSequence | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Function | SwiftAITransport.streamDownloadURL(_:transport:headers:credentialedOrigin:trustedOrigin:abortSignal:maxBytes:) | func streamDownloadURL(_ string: String, transport: any AIStreamingTransport, headers: [String : String] = [:], credentialedOrigin: String? = nil, trustedOrigin: String? = nil, abortSignal: AIAbortSignal? = nil, maxBytes: Int = AIDefaultMaxDownloadSize) async throws -> (response: AIHTTPStreamResponse, request: AIHTTPRequest) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.userAgent(_:) | func userAgent(_ providerID: String) -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.validateDownloadURL(_:) | func validateDownloadURL(_ string: String) throws -> URL | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.validateHostnamePart(_:argument:) | func validateHostnamePart(_ value: String, argument: String) throws | Packages/swift-ai-core/Sources/SwiftAITransport/HostnameValidation.swift |
| Function | SwiftAITransport.withoutTrailingSlash(_:) | func withoutTrailingSlash(_ value: String) -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.withUserAgentSuffix(_:_:) | func withUserAgentSuffix(_ headers: [String : String?]? = nil, _ userAgentSuffixParts: String...) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.withUserAgentSuffix(_:_:) | func withUserAgentSuffix(_ headers: [String : String], _ userAgentSuffixParts: String...) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Global Variable | SwiftAIProvider.aiBatchMaximumSafeInteger | let aiBatchMaximumSafeInteger: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Global Variable | SwiftAITransport.AIDefaultMaxDownloadSize | let AIDefaultMaxDownloadSize: Int | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAI.init(_:) | init(_ rawValue: String) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(_:toolContexts:maxSteps:stopWhen:prepareStep:approval:choice:) | init(_ executableTools: [AITool], toolContexts: [String : JSONValue] = [:], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, approval: AIToolApproval? = nil, choice: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(id:model:instructions:executableTools:maxSteps:stopWhen:allowSystemInMessages:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:streamTimeout:retryPolicy:telemetry:) | init(id: String? = nil, model: any LanguageModel, instructions: String? = nil, executableTools: [AITool] = [], maxSteps: Int = 20, stopWhen: [AIStopCondition] = [], allowSystemInMessages: Bool = false, prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, streamTimeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Initializer | SwiftAI.init(id:model:instructions:executableTools:toolCallers:maxSteps:stopWhen:allowSystemInMessages:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:streamTimeout:retryPolicy:telemetry:) | init(id: String? = nil, model: any LanguageModel, instructions: String? = nil, executableTools: [AITool], toolCallers: AIToolCallerRouting, maxSteps: Int = 20, stopWhen: [AIStopCondition] = [], allowSystemInMessages: Bool = false, prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, streamTimeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Initializer | SwiftAI.init(phase:durationNanoseconds:) | init(phase: AIStreamTimeoutPhase, durationNanoseconds: UInt64) | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Initializer | SwiftAI.init(rawTools:toolContexts:executableTools:maxSteps:stopWhen:prepareStep:approval:choice:) | init(rawTools: [String : JSONValue] = [:], toolContexts: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, approval: AIToolApproval? = nil, choice: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init(rawValue: String) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(requestOptions:abortSignal:timeoutNanoseconds:streamTimeout:retryPolicy:telemetry:) | init(requestOptions: AIChatRequestOptions = AIChatRequestOptions(), abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, streamTimeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy? = nil, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Initializer | SwiftAI.init(scope:tools:) | init(scope: AIPruneToolCalls.Scope, tools: Set<String>? = nil) | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Initializer | SwiftAI.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(totalNanoseconds:stepNanoseconds:firstChunkNanoseconds:chunkNanoseconds:) | init(totalNanoseconds: UInt64? = nil, stepNanoseconds: UInt64? = nil, firstChunkNanoseconds: UInt64? = nil, chunkNanoseconds: UInt64? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Initializer | SwiftAIAnthropic.init() | init() | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init() | init() | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(apiKey:authToken:baseURL:headers:queryParams:environment:transport:transformRequestBody:batchResultDownloads:name:) | init(apiKey: String? = nil, authToken: String? = nil, baseURL: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, batchResultDownloads: AIBatchResultDownloadSettings? = nil, name: String? = nil) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init(baseURL:http:transformRequestBody:batchResultMaxLineBytes:) | init(baseURL: String, http: AIProviderHTTPClient, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, batchResultMaxLineBytes: Int? = nil) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init(citationDocuments:) | init(citationDocuments: [AnthropicCitationDocument]) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(modelID:config:) | init(modelID: String, config: AnthropicModelConfiguration) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Initializer | SwiftAIAnthropic.init(modelID:config:supportedURLs:transformRequestHeaders:) | init(modelID: String, config: AnthropicModelConfiguration, supportedURLs: [String : [AISupportedURLPattern]] = [ "image/*": [AISupportedURLPattern(anthropicSupportedHTTPURL)], "application/pdf": [AISupportedURLPattern(anthropicSupportedHTTPURL)] ], transformRequestHeaders: (@Sendable ([String : String], [String : JSONValue]) async throws -> [String : String])? = nil) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Initializer | SwiftAIAnthropic.init(providerID:baseURL:headers:transport:queryParams:transformRequestBody:batchResultMaxLineBytes:) | init(providerID: String, baseURL: String, headers: [String : String], transport: any AITransport, queryParams: [String : String], transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])?, batchResultMaxLineBytes: Int?) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init(providerID:config:) | init(providerID: String = "anthropic.messages", config: AnthropicModelConfiguration) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Initializer | SwiftAIAnthropic.init(providerID:ignoresTextBlocks:) | init(providerID: String, ignoresTextBlocks: Bool = false) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(providerID:providerReferenceKey:config:) | init(providerID: String, providerReferenceKey: String, config: AnthropicModelConfiguration) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Initializer | SwiftAIAnthropic.init(providerID:toolNameMapping:) | init(providerID: String, toolNameMapping: AIToolNameMapping = AIToolNameMapping()) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(providerID:toolNameMapping:markCodeExecutionDynamic:) | init(providerID: String, toolNameMapping: AIToolNameMapping = AIToolNameMapping(), markCodeExecutionDynamic: Bool = false) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIOpenAI.init(apiKey:baseURL:organization:project:headers:queryParams:environment:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:strictResponseInput:transformRequestBody:transformRequestBodyWithWarnings:batchResultDownloads:name:) | init(apiKey: String? = nil, baseURL: String? = nil, organization: String? = nil, project: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, strictResponseInput: Bool = false, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? = nil, batchResultDownloads: AIBatchResultDownloadSettings? = nil, name: String? = nil) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Initializer | SwiftAIOpenAI.init(body:warnings:) | init(body: [String : JSONValue], warnings: [AIWarning]) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Initializer | SwiftAIOpenAI.init(config:) | init(config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Initializer | SwiftAIOpenAI.init(http:baseURL:openAIBackedProviderRoot:) | init(http: AIProviderHTTPClient, baseURL: String, openAIBackedProviderRoot: String? = "openai") | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:configuration:) | init(modelID: String = "gpt-live-1", configuration settings: OpenAIProviderSettings) throws | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Initializer | SwiftAIOpenAI.init(providerID:providerReferenceKey:config:) | init(providerID: String, providerReferenceKey: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Initializer | SwiftAIOpenAI.init(providerID:providerReferenceKey:config:betaHeader:includePurpose:defaultFilename:providerOptionsName:) | init(providerID: String, providerReferenceKey: String, config: OpenAIModelConfiguration, betaHeader: (String, String)? = nil, includePurpose: Bool = false, defaultFilename: String = "file", providerOptionsName: String? = nil) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Initializer | SwiftAIOpenAICompatible.init() | init() | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Initializer | SwiftAIOpenAICompatible.init(http:baseURL:) | init(http: AIProviderHTTPClient, baseURL: String) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Initializer | SwiftAIOpenAICompatible.init(id:name:arguments:inputStarted:codeInterpreterContainerID:applyPatchHasDiff:applyPatchEndEmitted:rawValue:) | init(id: String? = nil, name: String? = nil, arguments: String = "", inputStarted: Bool = false, codeInterpreterContainerID: String? = nil, applyPatchHasDiff: Bool = false, applyPatchEndEmitted: Bool = false, rawValue: JSONValue? = nil) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Initializer | SwiftAIOpenAICompatible.init(modelID:config:) | init(modelID: String, config: OpenAICompatibleModelConfiguration) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Initializer | SwiftAIOpenAICompatible.init(modelID:config:) | init(modelID: String, config: OpenAICompatibleModelConfiguration) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ model: any AIDecisionModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ model: any AIEvaluationModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ matcher: @escaping @Sendable (String) -> Bool) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ format: AIStreamingAudioFormat) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Initializer | SwiftAIProvider.init(answers:rounding:usage:warnings:providerMetadata:response:) | init(answers: [String : AIDecisionAnswer], rounding: AIDecisionRounding? = nil, usage: AIDecisionModelUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], response: AIResponseMetadata? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(answers:rounding:usage:warnings:providerMetadata:response:) | init(answers: [String : AIEvaluationAnswer], rounding: AIEvaluationRounding? = nil, usage: AIEvaluationModelUsage? = nil, warnings: [AIWarning], providerMetadata: [String : JSONValue] = [:], response: AIResponseMetadata? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(answers:usage:warnings:rounding:providerMetadata:response:) | init(answers: [String : AIDecisionAnswer], usage: AIDecisionUsage, warnings: [AIWarning] = [], rounding: AIDecisionRounding? = nil, providerMetadata: [String : JSONValue] = [:], response: AIDecisionResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(answers:usage:warnings:rounding:providerMetadata:response:) | init(answers: [String : AIEvaluationAnswer], usage: AIEvaluationUsage, warnings: [AIWarning], rounding: AIEvaluationRounding? = nil, providerMetadata: [String : JSONValue] = [:], response: AIEvaluationResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(arrayLiteral:) | init(arrayLiteral elements: JSONValue...) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(batch:warnings:) | init(batch: TextBatch, warnings: [AIBatchWarning] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batch:warnings:providerMetadata:) | init(batch: TextBatch, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batch:warnings:providerMetadata:) | init(batch: AIBatch, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batches:nextCursor:providerMetadata:) | init(batches: [AIBatchListItem], nextCursor: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:providerOptions:abortSignal:headers:) | init(batchID: String, providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:status:) | init(batchID: String, status: AIBatchStatus) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:status:warnings:) | init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:status:warnings:providerMetadata:) | init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(booleanLiteral:) | init(booleanLiteral value: Bool) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(code:reason:) | init(code: Int, reason: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Initializer | SwiftAIProvider.init(content:mediaType:providerMetadata:warnings:requestMetadata:responseMetadata:) | init(content: AsyncThrowingStream<Data, any Error>, mediaType: String? = nil, providerMetadata: [String : JSONValue] = [:], warnings: [AIWarning] = [], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(conversation:transports:connections:startup:finalization:) | init(conversation: AIRealtimeConversationMode, transports: [AIRealtimeTransportKind], connections: [AIRealtimeConnectionKind]? = nil, startup: AIRealtimeStartupMode? = nil, finalization: AIRealtimeFinalizationMode? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(data:mediaType:filename:purpose:displayName:pollIntervalNanoseconds:pollTimeoutNanoseconds:providerOptions:extraBody:headers:abortSignal:) | init(data: Data, mediaType: String, filename: String? = nil, purpose: String? = nil, displayName: String? = nil, pollIntervalNanoseconds: UInt64 = 2_000_000_000, pollTimeoutNanoseconds: UInt64 = 300_000_000_000, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(dictionaryLiteral:) | init(dictionaryLiteral elements: (String, JSONValue)...) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(expiresAfterSeconds:sessionConfig:abortSignal:) | init(expiresAfterSeconds: Int? = nil, sessionConfig: AIRealtimeSessionConfiguration? = nil, abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(fileData:mediaType:filename:purpose:displayName:pollIntervalNanoseconds:pollTimeoutNanoseconds:providerOptions:extraBody:headers:abortSignal:) | init(fileData: FileUploadData, mediaType: String, filename: String? = nil, purpose: String? = nil, displayName: String? = nil, pollIntervalNanoseconds: UInt64 = 2_000_000_000, pollTimeoutNanoseconds: UInt64 = 300_000_000_000, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(files:displayTitle:providerOptions:headers:abortSignal:) | init(files: [SkillUploadFile], displayTitle: String? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(floatLiteral:) | init(floatLiteral value: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(functionality:) | init(functionality: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(id:modelID:request:) | init(id: String, modelID: String? = nil, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:modelID:request:) | init(id: String, modelID: String? = nil, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:modelID:request:) | init(id: String, modelID: String, request: ImageGenerationRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:request:) | init(id: String, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:request:) | init(id: String, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:timestamp:modelID:headers:body:) | init(id: String? = nil, timestamp: Date, modelID: String, headers: [String : String] = [:], body: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(inputTokens:outputTokens:) | init(inputTokens: Int? = nil, outputTokens: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(inputTokens:outputTokens:totalTokens:) | init(inputTokens: Int? = nil, outputTokens: Int? = nil, totalTokens: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(inputTokens:outputTokens:totalTokens:inputTokensNoCache:inputTokensCacheRead:inputTokensCacheWrite:outputTextTokens:outputReasoningTokens:rawValue:) | init(inputTokens: Int? = nil, outputTokens: Int? = nil, totalTokens: Int? = nil, inputTokensNoCache: Int? = nil, inputTokensCacheRead: Int? = nil, inputTokensCacheWrite: Int? = nil, outputTextTokens: Int? = nil, outputReasoningTokens: Int? = nil, rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(instructions:voice:outputModalities:inputAudioFormat:inputAudioTranscription:outputAudioTranscription:outputAudioFormat:turnDetection:tools:providerOptions:) | init(instructions: String? = nil, voice: String? = nil, outputModalities: [AIRealtimeOutputModality]? = nil, inputAudioFormat: AIRealtimeAudioFormat? = nil, inputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? = nil, outputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? = nil, outputAudioFormat: AIRealtimeAudioFormat? = nil, turnDetection: AIRealtimeTurnDetectionConfiguration? = nil, tools: [AIRealtimeToolDefinition]? = nil, providerOptions: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(integerLiteral:) | init(integerLiteral value: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(isEnabled:schemaPrefix:schemaSuffix:) | init(isEnabled: Bool = true, schemaPrefix: String? = nil, schemaSuffix: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Initializer | SwiftAIProvider.init(maxLineBytes:) | init(maxLineBytes: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/BatchResultDownloadSettings.swift |
| Initializer | SwiftAIProvider.init(maxRetries:initialDelayNanoseconds:backoffFactor:maxDelayNanoseconds:timeoutNanoseconds:) | init(maxRetries: Int = 2, initialDelayNanoseconds: UInt64 = 2_000_000_000, backoffFactor: Double = 2, maxDelayNanoseconds: UInt64 = 60_000_000_000, timeoutNanoseconds: UInt64? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Initializer | SwiftAIProvider.init(message:type:code:statusCode:) | init(message: String, type: String? = nil, code: String? = nil, statusCode: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(messages:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:toolContexts:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:) | init(messages: [AIMessage], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], toolContexts: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Initializer | SwiftAIProvider.init(modalities:instructions:metadata:) | init(modalities: [String]? = nil, instructions: String? = nil, metadata: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(model:language:prompt:) | init(model: String? = nil, language: String? = nil, prompt: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(nilLiteral:) | init(nilLiteral: ()) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(path:data:mediaType:) | init(path: String, data: Data, mediaType: String = "application/octet-stream") | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(probabilityDecimals:scoreDecimals:) | init(probabilityDecimals: Int? = nil, scoreDecimals: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(providerMetadata:) | init(providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(providerOptions:limit:cursor:abortSignal:headers:) | init(providerOptions: [String : JSONValue] = [:], limit: Int? = nil, cursor: String? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(providerReference:deleted:providerMetadata:warnings:rawValue:requestMetadata:responseMetadata:) | init(providerReference: [String : String], deleted: Bool, providerMetadata: [String : JSONValue] = [:], warnings: [AIWarning] = [], rawValue: JSONValue = .null, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:displayTitle:name:description:latestVersion:providerMetadata:requestMetadata:responseMetadata:warnings:rawValue:) | init(providerReference: [String : String], displayTitle: String? = nil, name: String? = nil, description: String? = nil, latestVersion: String? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), warnings: [AIWarning] = [], rawValue: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:filename:mediaType:byteSize:createdAt:expiresAt:metadata:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(providerReference: [String : String], filename: String? = nil, mediaType: String? = nil, byteSize: Int? = nil, createdAt: Date? = nil, expiresAt: Date? = nil, metadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:filename:mediaType:byteSize:createdAt:expiresAt:providerMetadata:warnings:rawValue:requestMetadata:responseMetadata:) | init(providerReference: [String : String], filename: String? = nil, mediaType: String? = nil, byteSize: Int? = nil, createdAt: Date? = nil, expiresAt: Date? = nil, providerMetadata: [String : JSONValue] = [:], warnings: [AIWarning] = [], rawValue: JSONValue = .null, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:filename:mediaType:metadata:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(providerReference: [String : String], filename: String? = nil, mediaType: String? = nil, metadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(questionID:questionType:providerID:modelID:message:) | init(questionID: String, questionType: AIEvaluationQuestionType, providerID: String, modelID: String, message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(questionIDs:providerID:modelID:message:) | init(questionIDs: [String], providerID: String, modelID: String, message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(reason:attempts:errors:) | init(reason: AIRetryErrorReason, attempts: Int, errors: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Initializer | SwiftAIProvider.init(reason:reasonName:) | init(reason: String? = nil, reasonName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Initializer | SwiftAIProvider.init(reference:status:) | init(reference: TextBatchReference, status: AIBatchStatus) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(reference:status:) | init(reference: AIBatchReference, status: AIBatchStatus) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(requestID:warning:) | init(requestID: String? = nil, warning: AIWarning) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(requests:providerOptions:abortSignal:headers:idempotencyKey:) | init(requests: [Request], providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], idempotencyKey: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(requests:providerOptions:abortSignal:headers:idempotencyKey:webhookURL:) | init(requests: [Request], providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(role:content:reasoning:providerMetadata:) | init(role: MessageRole, content: [AIContentPart], reasoning: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Initializer | SwiftAIProvider.init(seconds:) | init(seconds: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(source:startIndex:endIndex:citedText:) | init(source: AISource, startIndex: Int? = nil, endIndex: Int? = nil, citedText: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Initializer | SwiftAIProvider.init(state:questions:abortSignal:headers:providerOptions:) | init(state: JSONValue, questions: [String : AIEvaluationQuestion], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(state:questions:maxOutputTokens:reasoning:abortSignal:headers:providerOptions:) | init(state: [AIDecisionStatePart], questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(stateParts:questions:abortSignal:headers:providerOptions:) | init(stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(status:rawStatus:requestCounts:error:createdAt:expiresAt:providerMetadata:) | init(status: AIBatchLifecycleStatus, rawStatus: String? = nil, requestCounts: AIBatchRequestCounts? = nil, error: AIBatchError? = nil, createdAt: String? = nil, expiresAt: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(stream:mediaType:filename:purpose:displayName:pollIntervalNanoseconds:pollTimeoutNanoseconds:providerOptions:extraBody:headers:abortSignal:) | init(stream: AsyncThrowingStream<Data, any Error>, mediaType: String, filename: String? = nil, purpose: String? = nil, displayName: String? = nil, pollIntervalNanoseconds: UInt64 = 2_000_000_000, pollTimeoutNanoseconds: UInt64 = 300_000_000_000, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(text:content:finishReason:rawFinishReason:usage:response:providerMetadata:) | init(text: String, content: [AIResultContentPart] = [], finishReason: String? = nil, rawFinishReason: String? = nil, usage: TokenUsage = TokenUsage(), response: AIResponseMetadata? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(text:finishReason:rawFinishReason:usage:response:providerMetadata:) | init(text: String, finishReason: String? = nil, rawFinishReason: String? = nil, usage: TokenUsage = TokenUsage(), response: AIResponseMetadata? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(text:message:) | init(text: String, message: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Initializer | SwiftAIProvider.init(token:url:expiresAt:) | init(token: String, url: String, expiresAt: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(top:bottom:left:right:) | init(top: Double, bottom: Double, left: Double, right: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Initializer | SwiftAIProvider.init(total:pending:completed:failed:) | init(total: Int, pending: Int, completed: Int, failed: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(type:feature:setting:message:) | init(type: String, feature: String? = nil, setting: String? = nil, message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(type:name:description:parameters:) | init(type: String = "function", name: String, description: String? = nil, parameters: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(type:rate:) | init(type: String, rate: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(type:threshold:silenceDurationMilliseconds:prefixPaddingMilliseconds:) | init(type: AIRealtimeTurnDetectionType, threshold: Double? = nil, silenceDurationMilliseconds: Int? = nil, prefixPaddingMilliseconds: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(url:protocols:headers:) | init(url: String, protocols: [String] = [], headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(urls:base64Images:warnings:usage:response:providerMetadata:) | init(urls: [String], base64Images: [String] = [], warnings: [AIWarning] = [], usage: TokenUsage? = nil, response: AIResponseMetadata = AIResponseMetadata(), providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(version:id:providerID:) | init(version: Int = 2, id: String, providerID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(version:type:id:providerID:modelID:) | init(version: Int = 1, type: AIBatchReferenceType = .text, id: String, providerID: String, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProviderUtilities.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Initializer | SwiftAIProviderUtilities.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Initializer | SwiftAIProviderUtilities.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Initializer | SwiftAIProviderUtilities.init(customToolNameToProviderToolName:) | init(customToolNameToProviderToolName: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Initializer | SwiftAIProviderUtilities.init(model:providerID:) | init(model: any LanguageModel, providerID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Initializer | SwiftAIProviderUtilities.init(model:providerID:) | init(model: any LanguageModel, providerID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Initializer | SwiftAIProviderUtilities.init(providerID:) | init(providerID: String) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Initializer | SwiftAIProviderUtilities.init(purpose:expiresAfter:) | init(purpose: String? = nil, expiresAfter: Double? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Initializer | SwiftAIProviderUtilities.init(warnings:providerID:modelID:) | init(warnings: [AIWarning], providerID: String? = nil, modelID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Initializer | SwiftAISDK.init(_:outputSchema:) | init(_ tool: AITool, outputSchema: JSONValue? = nil) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(id:role:parts:metadata:) | init(id: String = UUID().uuidString, role: MessageRole, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:role:parts:metadata:unavailableStaticToolCallIDs:) | init(id: String = UUID().uuidString, role: MessageRole, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:], unavailableStaticToolCallIDs: Set<String>) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:text:state:providerMetadata:) | init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:text:state:providerMetadata:citations:) | init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:], citations: [AICitation] = []) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:value:providerMetadata:) | init(id: String? = nil, value: JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(inputSchema:outputSchema:) | init(inputSchema: JSONValue, outputSchema: JSONValue? = nil) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:decisionModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], decisionModels: [String : AIDecisionModelReference], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAITransport.init() | init() | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Initializer | SwiftAITransport.init(boundary:) | init(boundary: String = "SwiftAISDK-\(UUID().uuidString)") | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Initializer | SwiftAITransport.init(configuration:) | init(configuration: URLSessionConfiguration = .default) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Initializer | SwiftAITransport.init(event:id:data:) | init(event: String? = nil, id: String? = nil, data: String) | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Initializer | SwiftAITransport.init(method:url:headers:body:abortSignal:maxResponseBytes:followRedirects:) | init(method: String = "POST", url: URL, headers: [String : String] = [:], body: Data? = nil, abortSignal: AIAbortSignal? = nil, maxResponseBytes: Int? = nil, followRedirects: Bool = true) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(method:url:headers:body:bodyStream:cancelBodyStream:abortSignal:maxResponseBytes:followRedirects:) | init(method: String = "POST", url: URL, headers: [String : String] = [:], body: Data? = nil, bodyStream: AsyncThrowingStream<Data, any Error>? = nil, cancelBodyStream: @escaping @Sendable () async -> Void = {}, abortSignal: AIAbortSignal? = nil, maxResponseBytes: Int? = nil, followRedirects: Bool = true) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(session:) | init(session: URLSession = .shared) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(statusCode:headers:body:bodyAvailable:cancelBody:) | init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, bodyAvailable: Bool = true, cancelBody: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(statusCode:headers:body:cancelBody:) | init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, cancelBody: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(statusCode:headers:body:url:) | init(statusCode: Int, headers: [String : String] = [:], body: Data = Data(), url: URL? = nil) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(url:headers:protocols:abortSignal:) | init(url: URL, headers: [String : String] = [:], protocols: [String] = [], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Initializer | SwiftAITransport.init(url:message:) | init(url: String, message: String) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAI.appendAudio(_:) | func appendAudio(_ audio: Data) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.appendAudio(base64:) | func appendAudio(base64: String) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.appendContext(_:delegationID:eventID:providerOptions:) | func appendContext(_ content: String, delegationID: String?, eventID: String? = nil, providerOptions: [String : JSONValue]? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.cancel(reason:) | func cancel(reason: String? = nil) async | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.cancelResponse() | func cancelResponse() async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.clearAudio() | func clearAudio() async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.close(code:reason:) | func close(code: Int = AIDuplexWebSocketCloseMetadata.normalClosure.code, reason: String? = nil) async | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.close(code:reason:eventID:) | func close(code: Int = AIDuplexWebSocketCloseMetadata.normalClosure.code, reason: String? = nil, eventID: String) async | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.commitAudio() | func commitAudio() async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.createResponse(options:) | func createResponse(options: AIRealtimeResponseOptions? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.embed(_:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func embed(_ value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.embeddingModel(_:) | func embeddingModel(_ modelID: ModelID) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.embedMany(_:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func embedMany(_ values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generate(messages:) | func generate(messages: [AIMessage]) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(messages:options:) | func generate(messages: [AIMessage], options: AIAgentCallOptions) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(messages:options:) | func generate(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(prompt:) | func generate(prompt: String) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(prompt:options:) | func generate(prompt: String, options: AIAgentCallOptions) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(prompt:options:) | func generate(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generateAudio(_:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateAudio(_ prompt: String, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateImage(_:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateImage(_ prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateObject(_:as:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | func generateObject<Object>(_ prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateObject(_:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | func generateObject<Schema>(_ prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateSpeech(_:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateSpeech(_ text: String, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateText(_:options:tools:) | func generateText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateText(_:output:options:jsonInstruction:repairText:) | func generateText<FinalOutput, PartialOutput>(_ prompt: String, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateText(messages:options:tools:) | func generateText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateVideo(_:aspectRatio:durationSeconds:image:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateVideo(_ prompt: String, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.imageModel(_:) | func imageModel(_ modelID: ModelID) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.languageModel(_:) | func languageModel(_ modelID: ModelID) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.makeAsyncIterator() | func makeAsyncIterator() -> AIRealtimeSession.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.muteInput(eventID:) | func muteInput(eventID: String? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.request(messages:tools:) | func request(messages: [AIMessage], tools: LanguageToolOptions = .none) -> LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.rerank(query:documents:topK:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func rerank(query: String, documents: [String], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.rerankingModel(_:) | func rerankingModel(_ modelID: ModelID) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.send(_:) | func send(_ event: AIRealtimeClientEvent) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.sendAudioMessage(_:) | func sendAudioMessage(_ audio: Data) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.sendFunctionCallOutput(callID:name:output:) | func sendFunctionCallOutput(callID: String, name: String? = nil, output: String) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.sendText(_:) | func sendText(_ text: String) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.speechModel(_:) | func speechModel(_ modelID: ModelID) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.stream(messages:) | func stream(messages: [AIMessage]) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(messages:options:) | func stream(messages: [AIMessage], options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(messages:options:) | func stream(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(prompt:) | func stream(prompt: String) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(prompt:options:) | func stream(prompt: String, options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(prompt:options:) | func stream(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.streamText(_:options:tools:timeoutNanoseconds:) | func streamText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.streamText(_:output:options:timeoutNanoseconds:jsonInstruction:repairText:) | func streamText<FinalOutput, PartialOutput>(_ prompt: String, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, timeoutNanoseconds: UInt64? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.streamText(messages:options:tools:timeoutNanoseconds:) | func streamText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.transcribe(audio:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func transcribe(audio: Data, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.transcriptionModel(_:) | func transcriptionModel(_ modelID: ModelID) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.transformAudio(audio:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func transformAudio(audio: Data, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.unmuteInput(eventID:) | func unmuteInput(eventID: String? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.videoModel(_:) | func videoModel(_ modelID: ModelID) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [AISource] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:citationDocuments:) | mutating func apply(event raw: JSONValue, citationDocuments: [AnthropicCitationDocument] = []) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(messageStartContent:) | mutating func apply(messageStartContent value: JSONValue?) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.environmentValue(_:) | func environmentValue(_ names: [String]) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.finishParts() | mutating func finishParts() -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.finishParts(citationDocuments:) | mutating func finishParts(citationDocuments: [AnthropicCitationDocument] = []) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.finishSources() | mutating func finishSources() -> [AISource] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Method | SwiftAIAnthropic.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.rawRequest(path:modelID:body:contentType:headers:abortSignal:) | func rawRequest(path: String, modelID: String, body: Data, contentType: String?, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.request(path:modelID:body:headers:abortSignal:) | func request(path: String, modelID: String, body: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Method | SwiftAIAnthropic.streamRequest(_:) | func streamRequest(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Instance Method | SwiftAIAnthropic.withProviderID(_:) | func withProviderID(_ providerID: String) -> AnthropicModelConfiguration | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIOpenAI.buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.buildValidatedSessionConfig(_:) | func buildValidatedSessionConfig(_ config: AIRealtimeSessionConfiguration) throws -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.compatibleConfiguration() | func compatibleConfiguration() -> OpenAICompatibleModelConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.createServerEventParser() | func createServerEventParser() -> AIRealtimeServerEventParser | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Method | SwiftAIOpenAI.doEvaluate(_:) | func doEvaluate(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Method | SwiftAIOpenAI.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Method | SwiftAIOpenAI.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.getServerWebSocketConfig() | func getServerWebSocketConfig() throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.getValidatedWebSocketConfig(token:url:) | func getValidatedWebSocketConfig(token: String, url: String) throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.httpStatusError(_:) | func httpStatusError(_ response: AIHTTPResponse) -> AIError | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.preparedBatchRequest(for:) | func preparedBatchRequest(for request: LanguageModelRequest) throws -> OpenAICompatibleResponsesPreparedRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Method | SwiftAIOpenAI.rawRequest(path:modelID:body:contentType:headers:abortSignal:) | func rawRequest(path: String, modelID: String, body: Data, contentType: String?, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.request(path:modelID:body:headers:abortSignal:) | func request(path: String, modelID: String, body: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.sendJSONResponse(path:modelID:body:headers:abortSignal:) | func sendJSONResponse(path: String, modelID: String, body: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> (json: JSONValue, response: AIHTTPResponse) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Method | SwiftAIOpenAI.streamRequest(_:) | func streamRequest(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Instance Method | SwiftAIOpenAI.withProviderID(_:) | func withProviderID(_ providerID: String) -> OpenAIModelConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAICompatible.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Method | SwiftAIOpenAICompatible.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Method | SwiftAIOpenAICompatible.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Method | SwiftAIOpenAICompatible.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Method | SwiftAIProvider.abort(reason:reasonName:) | func abort(reason: String? = nil, reasonName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.addAbortHandler(_:) | @discardableResult func addAbortHandler(_ handler: @escaping @Sendable (String?) -> Void) -> AIAbortHandlerRegistration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.buildValidatedSessionConfig(_:) | func buildValidatedSessionConfig(_ config: AIRealtimeSessionConfiguration) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.buildValidatedSessionConfig(_:) | func buildValidatedSessionConfig(_ config: AIRealtimeSessionConfiguration) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.cancel() | func cancel() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.createClientSecret(_:) | func createClientSecret(_ options: AIRealtimeClientSecretOptions = .init()) async throws -> AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.createServerEventParser() | func createServerEventParser() -> AIRealtimeServerEventParser | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.createServerEventParser() | func createServerEventParser() -> AIRealtimeServerEventParser | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Method | SwiftAIProvider.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions) async throws -> AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions) async throws -> AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Method | SwiftAIProvider.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Method | SwiftAIProvider.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.embedding(_:) | func embedding(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.encode(to:) | func encode(to encoder: any Encoder) throws | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Method | SwiftAIProvider.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Method | SwiftAIProvider.files() | func files() throws -> any AIFileClient | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.getHealthCheckResponse(_:) | func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getHealthCheckResponse(_:) | func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getServerWebSocketConfig() | func getServerWebSocketConfig() throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getServerWebSocketConfig() | func getServerWebSocketConfig() throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getValidatedWebSocketConfig(token:url:) | func getValidatedWebSocketConfig(token: String, url: String) throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getValidatedWebSocketConfig(token:url:) | func getValidatedWebSocketConfig(token: String, url: String) throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.image(_:) | func image(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.reranking(_:) | func reranking(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.skills() | func skills() throws -> any AISkillsClient | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.speech(_:) | func speech(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.test(_:) | func test(_ url: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.textEmbedding(_:) | func textEmbedding(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.textEmbeddingModel(_:) | func textEmbeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.throwIfAborted() | func throwIfAborted() throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.transcription(_:) | func transcription(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.video(_:) | func video(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.waitUntilAborted() | func waitUntilAborted() async -> String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProviderUtilities.addStream(_:) | func addStream(_ innerStream: AsyncThrowingStream<Element, any Error>) throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.close() | func close() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Method | SwiftAIProviderUtilities.doEvaluate(_:) | func doEvaluate(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Method | SwiftAIProviderUtilities.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Method | SwiftAIProviderUtilities.finish() | mutating func finish() -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Instance Method | SwiftAIProviderUtilities.logWarnings(_:) | func logWarnings(_ event: AIWarningLogEvent) async | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Method | SwiftAIProviderUtilities.logWarnings(_:) | func logWarnings(_ event: AIWarningLogEvent) async | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Method | SwiftAIProviderUtilities.normalize(_:) | mutating func normalize(_ part: LanguageStreamPart) throws -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Instance Method | SwiftAIProviderUtilities.reject(_:) | func reject(_ error: any Error) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Method | SwiftAIProviderUtilities.resolve(_:) | func resolve(_ value: Value) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Method | SwiftAIProviderUtilities.run(_:) | func run(_ job: @escaping @Sendable () async throws -> Void) -> Task<Void, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Instance Method | SwiftAIProviderUtilities.terminate() | func terminate() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.toCustomToolName(_:) | func toCustomToolName(_ providerToolName: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.toProviderToolName(_:) | func toProviderToolName(_ customToolName: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.value() | func value() async throws -> Value | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Method | SwiftAIProviderUtilities.waitForIdle() | func waitForIdle() async | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Instance Method | SwiftAISDK.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.files() | func files() throws -> any AIFileClient | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.skills() | func skills() throws -> any AISkillsClient | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAITransport.append(_:) | mutating func append(_ data: Data) throws -> [ServerSentEvent] | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Method | SwiftAITransport.appendField(name:value:) | mutating func appendField(name: String, value: String) | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.appendFile(name:fileName:mimeType:content:) | mutating func appendFile(name: String, fileName: String = "blob", mimeType: String = "application/octet-stream", content: FileUploadData) | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.appendFile(name:fileName:mimeType:data:) | mutating func appendFile(name: String, fileName: String, mimeType: String, data: Data) | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.cancel() | func cancel() async | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.cancelBody() | func cancelBody() | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.cancelRequestBody() | func cancelRequestBody() async | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.cancelStream() | func cancelStream() async | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.close() | func close() async | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.close(code:) | func close(code: Int) async | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.close(code:reason:) | func close(code: Int, reason: Data?) async | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.connect(_:) | func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnection | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.connect(_:) | func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnection | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.finalize() | mutating func finalize() -> Data | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.finish() | mutating func finish() throws -> [ServerSentEvent] | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Method | SwiftAITransport.headerValue(_:) | func headerValue(_ name: String) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.headerValue(_:) | func headerValue(_ name: String) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.jsonValue() | func jsonValue() throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.makeAsyncIterator() | func makeAsyncIterator() -> IncrementalServerSentEventSequence.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Instance Method | SwiftAITransport.mergingHeaders(_:) | func mergingHeaders(_ other: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.next() | mutating func next() async throws -> ServerSentEvent? | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Instance Method | SwiftAITransport.send(_:) | func send(_ message: AIDuplexWebSocketMessage) async throws | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.send(_:) | func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.send(_:) | func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.send(binary:) | func send(binary: Data) async throws | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.send(text:) | func send(text: String) async throws | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.sendValidatedDownload(_:) | func sendValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.sendValidatedDownload(_:) | func sendValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.sendValidatedDownload(_:) | func sendValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.stream(_:) | func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.stream(_:) | func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.streamingBody() | func streamingBody() -> MultipartStreamingBody | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.streamValidatedDownload(_:) | func streamValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.streamValidatedDownload(_:) | func streamValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.streamValidatedDownload(_:) | func streamValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.allowSystemInMessages | var allowSystemInMessages: Bool | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.approval | var approval: AIToolApproval? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.choice | var choice: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.chunkNanoseconds | var chunkNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.clientSecretExpiresAt | let clientSecretExpiresAt: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.durationNanoseconds | var durationNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.events | let events: AsyncThrowingStream<AIRealtimeSessionEvent, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool] { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool] | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.firstChunkNanoseconds | var firstChunkNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.id | var id: String? { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.includeResponseBody | var includeResponseBody: Bool | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.maxSteps | var maxSteps: Int | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.maxSteps | var maxSteps: Int | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.model | var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.modelID | let modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.phase | var phase: AIStreamTimeoutPhase | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.prepareStep | var prepareStep: AIPrepareStep? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.prepareStep | var prepareStep: AIPrepareStep? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.providerID | let providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.rawTools | var rawTools: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.rawValue | var rawValue: String | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.requestOptions | var requestOptions: AIChatRequestOptions | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.requestOptions | var requestOptions: AIChatRequestOptions | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.responseFormat | var responseFormat: AIResponseFormat? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.scope | var scope: AIPruneToolCalls.Scope | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Instance Property | SwiftAI.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.stepNanoseconds | var stepNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.stopSequences | var stopSequences: [String] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.stopWhen | var stopWhen: [AIStopCondition] | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.stopWhen | var stopWhen: [AIStopCondition] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.streamTimeout | var streamTimeout: AIStreamTimeoutConfiguration? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.streamTimeout | var streamTimeout: AIStreamTimeoutConfiguration? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.toolApproval | var toolApproval: AIToolApproval? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.toolCallers | var toolCallers: AIToolCallerRouting | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.toolContexts | var toolContexts: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.tools | var tools: Set<String>? | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Instance Property | SwiftAI.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.totalNanoseconds | var totalNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.usesToolLoop | var usesToolLoop: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.version | var version: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.version | var version: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAIAnthropic.apiKey | var apiKey: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.authToken | var authToken: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.baseURL | var baseURL: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.baseURL | var baseURL: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.batchResultDownloads | var batchResultDownloads: AIBatchResultDownloadSettings? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.batchResultMaxLineBytes | var batchResultMaxLineBytes: Int? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.betas | var betas: [String] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.body | var body: [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.citationDocuments | var citationDocuments: [AnthropicCitationDocument] { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Property | SwiftAIAnthropic.content | var content: [AIResultContentPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.environment | var environment: [String : String]? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.filename | var filename: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.headers | var headers: [String : String] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.headers | var headers: [String : String] { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.http | var http: AIProviderHTTPClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.isKnownModel | var isKnownModel: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.markCodeExecutionDynamic | var markCodeExecutionDynamic: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.maximumTemperature | var maximumTemperature: Double | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.maxOutputTokens | var maxOutputTokens: Int | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.mediaType | var mediaType: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.metadataNamespace | var metadataNamespace: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.modelID | let modelID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.modelID | let modelID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.name | var name: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.prepareRequest | var prepareRequest: (@Sendable (LanguageModelRequest, String, inout [AIWarning]) throws -> LanguageModelRequest)? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.providerID | var providerID: String { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Instance Property | SwiftAIAnthropic.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.queryParams | var queryParams: [String : String] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.reasoning | var reasoning: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.rejectsBudgetThinking | var rejectsBudgetThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsForcedToolUse | var rejectsForcedToolUse: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsSamplingParameters | var rejectsSamplingParameters: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsThinkingDisabled | var rejectsThinkingDisabled: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsThinkingDisabledAboveHighEffort | var rejectsThinkingDisabledAboveHighEffort: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.requestPolicy | var requestPolicy: (@Sendable (String) -> AnthropicRequestPolicy)? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.sources | var sources: [AISource] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.supportsAdaptiveThinking | var supportsAdaptiveThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.supportsBetweenToolsThinking | var supportsBetweenToolsThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.supportsSamplingWithThinking | var supportsSamplingWithThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.supportsStructuredOutput | var supportsStructuredOutput: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.supportsXhighEffort | var supportsXhighEffort: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.text | var text: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.title | var title: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.toolCalls | var toolCalls: [AIToolCall] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.toolNameMapping | var toolNameMapping: AIToolNameMapping | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.toolResults | var toolResults: [AIToolResult] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.transport | var transport: any AITransport | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.transport | var transport: any AITransport { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.url | var url: @Sendable (String, String) throws -> URL { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.userMediaContent | var userMediaContent: (@Sendable (AIContentPart) throws -> JSONValue?)? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.usesJSONToolResponseFormat | var usesJSONToolResponseFormat: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.warnings | var warnings: [AIWarning] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIOpenAI.apiKey | var apiKey: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.baseURL | var baseURL: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.baseURL | var baseURL: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.batchResultDownloads | var batchResultDownloads: AIBatchResultDownloadSettings? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.batchResultMaxLineBytes | var batchResultMaxLineBytes: Int? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.body | var body: [String : JSONValue] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Instance Property | SwiftAIOpenAI.capabilities | let capabilities: AIRealtimeModelCapabilities? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Property | SwiftAIOpenAI.environment | var environment: [String : String]? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.errorHandler | var errorHandler: (@Sendable (AIHTTPResponse) -> AIError)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.explicitMessageItemType | var explicitMessageItemType: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.getResponseErrorMetadata | var getResponseErrorMetadata: (@Sendable (JSONValue) -> OpenResponsesErrorMetadata)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.headers | var headers: [String : String] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.headers | var headers: [String : String] { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.http | var http: AIProviderHTTPClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.includeUsage | var includeUsage: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.isReasoningModel | var isReasoningModel: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Property | SwiftAIOpenAI.name | var name: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.openAIBackedProviderRoot | var openAIBackedProviderRoot: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.openResponsesCustomToolID | var openResponsesCustomToolID: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.organization | var organization: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.prepareResponses | var prepareResponses: (@Sendable (String, LanguageModelRequest, Bool) throws -> OpenAICompatibleResponsesPreparedRequest)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.project | var project: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.providerID | var providerID: String { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Instance Property | SwiftAIOpenAI.queryParams | var queryParams: [String : String] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.requestModelID | var requestModelID: String? { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.responsesRequestMode | var responsesRequestMode: ResponsesRequestMode | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.specificationVersion | let specificationVersion: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.streamErrorParser | var streamErrorParser: (@Sendable (JSONValue) -> AIStreamProviderError?)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.strictResponseInput | var strictResponseInput: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.strictResponseInput | var strictResponseInput: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Property | SwiftAIOpenAI.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.supportedReasoningEfforts | var supportedReasoningEfforts: [String]? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.supportsAsyncToolCalling | var supportsAsyncToolCalling: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportsConfigurationUpdate | var supportsConfigurationUpdate: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportsNonReasoningParameters | var supportsNonReasoningParameters: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.supportsWebSearchSourcesInclude | var supportsWebSearchSourcesInclude: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transformRequestBodyWithWarnings | var transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transport | var transport: any AITransport | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transport | var transport: any AITransport { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.url | var url: @Sendable (String, String) throws -> URL { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Instance Property | SwiftAIOpenAICompatible.additionalWarnings | var additionalWarnings: (@Sendable (LanguageModelRequest) -> [AIWarning])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.allowsEmptyTextResponse | var allowsEmptyTextResponse: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.applyPatchEndEmitted | var applyPatchEndEmitted: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.applyPatchHasDiff | var applyPatchHasDiff: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.arguments | var arguments: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.baseURL | var baseURL: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.chatErrorHandler | var chatErrorHandler: (@Sendable (AIHTTPResponse) -> AIError)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.codeInterpreterContainerID | var codeInterpreterContainerID: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.convertMessages | var convertMessages: (@Sendable ([AIMessage]) throws -> [JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.errorHandler | var errorHandler: (@Sendable (AIHTTPResponse) -> AIError)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.headers | var headers: [String : String] { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.http | var http: AIProviderHTTPClient | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.id | var id: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.imageHasDefaultResponseFormat | var imageHasDefaultResponseFormat: (@Sendable (String) -> Bool)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.imageMetadata | var imageMetadata: (@Sendable (JSONValue) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.imageSupportsFileInputs | var imageSupportsFileInputs: (@Sendable (String) -> Bool?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.imageSupportsMaskInputs | var imageSupportsMaskInputs: (@Sendable (String) -> Bool?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.includeUsage | var includeUsage: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.inputStarted | var inputStarted: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.isReasoningModel | var isReasoningModel: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.languageCapabilities | var languageCapabilities: (@Sendable (String) -> OpenAICompatibleLanguageCapabilities)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.mapsReasoningEffort | var mapsReasoningEffort: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.maximumImages | var maximumImages: (@Sendable (String) -> Int)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.modelID | let modelID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Property | SwiftAIOpenAICompatible.modelID | let modelID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Property | SwiftAIOpenAICompatible.name | var name: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.normalizeSchema | var normalizeSchema: (@Sendable (JSONValue) throws -> (schema: JSONValue, warnings: [AIWarning]))? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.prepareBody | var prepareBody: (@Sendable ([String : JSONValue], LanguageModelRequest, String, inout [AIWarning]) throws -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | var providerID: String { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.rawValue | var rawValue: JSONValue? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.requestModelID | var requestModelID: String? { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.responseHeaderMetadata | var responseHeaderMetadata: (@Sendable ([String : String], String?) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.responseMetadata | var responseMetadata: (@Sendable (JSONValue, String?) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.streamErrorParser | var streamErrorParser: (@Sendable (JSONValue) -> AIStreamProviderError?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportedReasoningEfforts | var supportedReasoningEfforts: [String]? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsMultiPartToolContent | var supportsMultiPartToolContent: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsNonReasoningParameters | var supportsNonReasoningParameters: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsStructuredOutputForModel | var supportsStructuredOutputForModel: (@Sendable (String) -> Bool)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.toolCallsBeforeText | var toolCallsBeforeText: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transformRequestBodyWithWarnings | var transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transport | var transport: any AITransport { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.usage | var usage: (@Sendable (JSONValue) -> TokenUsage?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.usesGenericOpenAICompatibleProviderOptions | var usesGenericOpenAICompatibleProviderOptions: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.wireProfile | var wireProfile: OpenAICompatibleWireProfile | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIDecisionAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIDecisionAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIEvaluationAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIEvaluationAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.arrayValue | var arrayValue: [JSONValue]? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.attempts | var attempts: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.backoffFactor | var backoffFactor: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.base64Images | var base64Images: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batch | var batch: TextBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batch | var batch: AIBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batches | var batches: [AIBatchListItem] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batchID | var batchID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batchID | var batchID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batchID | var batchID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.body | var body: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.boolValue | var boolValue: Bool? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.bottom | var bottom: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.bufferedData | var bufferedData: Data? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.byteCount | var byteCount: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.byteSize | var byteSize: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.byteSize | var byteSize: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.capabilities | var capabilities: AIRealtimeModelCapabilities? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.capabilities | var capabilities: AIRealtimeModelCapabilities? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.citations | var citations: [AICitation] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.citations | var citations: [AICitation] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.citedText | var citedText: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.code | var code: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.code | var code: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAIProvider.combinedText | var combinedText: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.completed | var completed: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.connections | var connections: [AIRealtimeConnectionKind]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.content | var content: [AIResultContentPart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.content | var content: AsyncThrowingStream<Data, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.content | var content: [AIContentPart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.conversation | var conversation: AIRealtimeConversationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.createdAt | var createdAt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.createdAt | var createdAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.createdAt | var createdAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.cursor | var cursor: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.data | var data: Data { get set } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.data | var data: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.decisionOptions | var decisionOptions: AIDecisionModelV4CallOptions { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.deleted | var deleted: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Instance Property | SwiftAIProvider.displayName | var displayName: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.displayTitle | var displayTitle: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.displayTitle | var displayTitle: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.doubleValue | var doubleValue: Double? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.endIndex | var endIndex: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.error | var error: AIBatchError? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.errors | var errors: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.expiresAfterSeconds | var expiresAfterSeconds: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.failed | var failed: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.feature | var feature: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.file | var file: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.file | var file: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.file | var file: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.fileData | var fileData: FileUploadData | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filePayload | var filePayload: (mimeType: String, data: Data, filename: String?)? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.files | var files: [SkillUploadFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.finalization | var finalization: AIRealtimeFinalizationMode? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.functionality | var functionality: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.idempotencyKey | var idempotencyKey: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.initialDelayNanoseconds | var initialDelayNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.inputAudioFormat | var inputAudioFormat: AIRealtimeAudioFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.inputAudioTranscription | var inputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.inputEncoding | var inputEncoding: AIToolInputEncoding? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.inputTokens | var inputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.inputTokens | var inputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.inputTokens | var inputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.inputTokensCacheRead | var inputTokensCacheRead: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.inputTokensCacheWrite | var inputTokensCacheWrite: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.inputTokensNoCache | var inputTokensNoCache: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: JSONValue { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.intValue | var intValue: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.isAborted | var isAborted: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.isEnabled | var isEnabled: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Instance Property | SwiftAIProvider.isStream | var isStream: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.isValid | var isValid: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.jsonValue | var jsonValue: JSONValue { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.latestVersion | var latestVersion: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.left | var left: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.limit | var limit: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.maxDelayNanoseconds | var maxDelayNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxLineBytes | var maxLineBytes: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/BatchResultDownloadSettings.swift |
| Instance Property | SwiftAIProvider.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.message | var message: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Instance Property | SwiftAIProvider.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.metadata | var metadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.metadata | var metadata: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.modalities | var modalities: [String]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.model | var model: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.name | var name: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.name | var name: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.nextCursor | var nextCursor: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.objectValue | var objectValue: [String : JSONValue]? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.outputAudioFormat | var outputAudioFormat: AIRealtimeAudioFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.outputAudioTranscription | var outputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.outputModalities | var outputModalities: [AIRealtimeOutputModality]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.outputReasoningTokens | var outputReasoningTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.outputTextTokens | var outputTextTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.outputTokens | var outputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.outputTokens | var outputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.outputTokens | var outputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.parameters | var parameters: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.path | var path: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.pending | var pending: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.pollIntervalNanoseconds | var pollIntervalNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.pollTimeoutNanoseconds | var pollTimeoutNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.prefixPaddingMilliseconds | var prefixPaddingMilliseconds: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.probabilityDecimals | var probabilityDecimals: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.protocols | var protocols: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.providerOptionsTransformer | var providerOptionsTransformer: AIEmbeddingProviderOptionsTransformer? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerOptionsTransformer | var providerOptionsTransformer: AIEmbeddingProviderOptionsTransformer? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.purpose | var purpose: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.questionID | var questionID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.questionIDs | var questionIDs: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.questions | var questions: [String : AIDecisionQuestion] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.questions | var questions: [String : AIEvaluationQuestion] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.questionType | var questionType: AIDecisionQuestionType? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.questionType | var questionType: AIEvaluationQuestionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.rate | var rate: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.rawFinishReason | var rawFinishReason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.rawStatus | var rawStatus: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.reason | var reason: AIRetryErrorReason | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.reasonName | var reasonName: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reasonName | var reasonName: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reference | var reference: TextBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.reference | var reference: AIBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.request | var request: ImageGenerationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.requestCounts | var requestCounts: AIBatchRequestCounts? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.requestID | var requestID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requests | var requests: [Request] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.response | var response: AIDecisionResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.response | var response: AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.responseFormat | var responseFormat: AIResponseFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.right | var right: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.role | var role: MessageRole | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIDecisionRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIDecisionRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIEvaluationRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIEvaluationRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.schemaPrefix | var schemaPrefix: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Instance Property | SwiftAIProvider.schemaSuffix | var schemaSuffix: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Instance Property | SwiftAIProvider.scoreDecimals | var scoreDecimals: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.seconds | var seconds: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.sessionConfig | var sessionConfig: AIRealtimeSessionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.setting | var setting: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.signal | let signal: AIAbortSignal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.silenceDurationMilliseconds | var silenceDurationMilliseconds: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.source | var source: AISource | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.startIndex | var startIndex: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.startup | var startup: AIRealtimeStartupMode? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.state | var state: [AIDecisionStatePart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.state | var state: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.stateParts | var stateParts: [AIDecisionStatePart]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchLifecycleStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.statusCode | var statusCode: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.stopSequences | var stopSequences: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.stringValue | var stringValue: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.supportedCapabilities | var supportedCapabilities: Set<ModelCapability> { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedQuestionTypes | var supportedQuestionTypes: [AIDecisionQuestionType] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.supportedQuestionTypes | var supportedQuestionTypes: [AIEvaluationQuestionType] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsFileInputs | var supportsFileInputs: Bool? { get async } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsFileInputs | var supportsFileInputs: Bool? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsMaskInputs | var supportsMaskInputs: Bool? { get async } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsUnaryVideoGeneration | var supportsUnaryVideoGeneration: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsUnaryVideoGeneration | var supportsUnaryVideoGeneration: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.text | var text: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Instance Property | SwiftAIProvider.textValue | var textValue: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.threshold | var threshold: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.timestamp | var timestamp: Date | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.token | var token: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.toolCallConcurrency | var toolCallConcurrency: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.toolChoice | var toolChoice: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.toolContexts | var toolContexts: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.tools | var tools: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.tools | var tools: [AIRealtimeToolDefinition]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.top | var top: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.total | var total: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.totalTokens | var totalTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.totalTokens | var totalTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.transports | var transports: [AIRealtimeTransportKind] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.turnDetection | var turnDetection: AIRealtimeTurnDetectionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.type | let type: AIBatchReferenceType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.type | var type: AIDecisionAnswerType { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.type | var type: AIEvaluationQuestionType { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.type | var type: AIEvaluationQuestionType { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.type | var type: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.type | var type: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: AIRealtimeTurnDetectionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.url | var url: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.url | var url: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.urls | var urls: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIDecisionModelUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIDecisionUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIEvaluationModelUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.version | let version: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.version | let version: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.voice | var voice: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.warning | var warning: AIWarning | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIBatchWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIBatchWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIBatchWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.webhookURL | var webhookURL: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProviderUtilities.errorDescription | var errorDescription: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.expiresAfter | var expiresAfter: Double? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Instance Property | SwiftAIProviderUtilities.isPending | var isPending: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Property | SwiftAIProviderUtilities.isRejected | var isRejected: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Property | SwiftAIProviderUtilities.isResolved | var isResolved: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Property | SwiftAIProviderUtilities.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Property | SwiftAIProviderUtilities.providerID | let providerID: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.providerID | var providerID: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Property | SwiftAIProviderUtilities.purpose | var purpose: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Instance Property | SwiftAIProviderUtilities.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.specificationVersion | let specificationVersion: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.specificationVersion | let specificationVersion: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.stream | let stream: AsyncThrowingStream<Element, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Property | SwiftAIProviderUtilities.success | var success: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.supportedQuestionTypes | let supportedQuestionTypes: [AIEvaluationQuestionType] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.value | var value: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Property | SwiftAISDK.citations | var citations: [AICitation] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.inputSchema | var inputSchema: JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.outputSchema | var outputSchema: JSONValue? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.parts | var parts: [AIUIMessagePart] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.providerID | var providerID: String { get } | Sources/SwiftAISDK/Compatibility.swift |
| Instance Property | SwiftAISDK.providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.reasoning | var reasoning: String { get } | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.role | var role: MessageRole | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.state | var state: AIUIStreamingPartState? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.state | var state: AIUIStreamingPartState? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | var supportedCapabilities: Set<ModelCapability> { get } | Sources/SwiftAISDK/Compatibility.swift |
| Instance Property | SwiftAISDK.text | var text: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.text | var text: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.text | var text: String { get } | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.unavailableStaticToolCallIDs | var unavailableStaticToolCallIDs: Set<String> | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.value | var value: JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAITransport.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.body | var body: Data? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.body | var body: Data | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.body | var body: AsyncThrowingStream<Data, any Error> | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.bodyAvailable | var bodyAvailable: Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.bodyStream | var bodyStream: AsyncThrowingStream<Data, any Error>? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.bodyText | var bodyText: String { get } | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.boundary | var boundary: String | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Property | SwiftAITransport.containsStream | var containsStream: Bool { get } | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Property | SwiftAITransport.data | var data: String | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Property | SwiftAITransport.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.event | var event: String? | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Property | SwiftAITransport.events | var events: AsyncThrowingStream<AIDuplexWebSocketEvent, any Error> { get } | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.followRedirects | var followRedirects: Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Property | SwiftAITransport.maxResponseBytes | var maxResponseBytes: Int? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.message | var message: String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.method | var method: String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.protocols | var protocols: [String] | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.stream | let stream: AsyncThrowingStream<Data, any Error> | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Property | SwiftAITransport.url | var url: URL | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.url | var url: URL | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.url | var url: String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.url | var url: URL? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Subscript | SwiftAIProvider.subscript(_:) | subscript(key: String) -> JSONValue? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Subscript | SwiftAIProvider.subscript(_:) | subscript(index: Int) -> JSONValue? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Operator | SwiftAIProvider.==(_:_:) | static func == (lhs: AIRealtimeClientSecretOptions, rhs: AIRealtimeClientSecretOptions) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Protocol | SwiftAI.AIAgent | protocol AIAgent : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Protocol | SwiftAIProvider.AIBatchProvider | protocol AIBatchProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Protocol | SwiftAIProvider.AIDecisionModelV4 | protocol AIDecisionModelV4 : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Protocol | SwiftAIProvider.AIDecisionProvider | protocol AIDecisionProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Protocol | SwiftAIProvider.AIEvaluationModelV4 | protocol AIEvaluationModelV4 : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Protocol | SwiftAIProvider.AIEvaluationProvider | protocol AIEvaluationProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Protocol | SwiftAIProvider.AIFileClient | protocol AIFileClient : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AIFileProvider | protocol AIFileProvider : AIProvider | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AIProvider | protocol AIProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AIRealtimeModelV4 | protocol AIRealtimeModelV4 : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Protocol | SwiftAIProvider.AIRealtimeModelV4ValidationHooks | protocol AIRealtimeModelV4ValidationHooks : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Protocol | SwiftAIProvider.AISkillsClient | protocol AISkillsClient : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AISkillsProvider | protocol AISkillsProvider : AIProvider | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AudioGenerationModel | protocol AudioGenerationModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AudioTransformationModel | protocol AudioTransformationModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.BatchLanguageModel | protocol BatchLanguageModel : LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Protocol | SwiftAIProvider.EmbeddingModel | protocol EmbeddingModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.ImageModel | protocol ImageModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.LanguageModel | protocol LanguageModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.RawVideoGenerationInputModel | protocol RawVideoGenerationInputModel : VideoModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.RerankingModel | protocol RerankingModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.SpeechModel | protocol SpeechModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.TranscriptionModel | protocol TranscriptionModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.VideoModel | protocol VideoModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProviderUtilities.AIWarningLogger | protocol AIWarningLogger : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Protocol | SwiftAITransport.AIDuplexWebSocketConnection | protocol AIDuplexWebSocketConnection : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Protocol | SwiftAITransport.AIDuplexWebSocketTransport | protocol AIDuplexWebSocketTransport : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Protocol | SwiftAITransport.AIStreamingTransport | protocol AIStreamingTransport : AITransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Protocol | SwiftAITransport.AITransport | protocol AITransport : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAI.AIAgentCallOptions | struct AIAgentCallOptions | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Structure | SwiftAI.AIPruneToolCalls | struct AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Structure | SwiftAI.AIStreamTimeoutConfiguration | struct AIStreamTimeoutConfiguration | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Structure | SwiftAI.AIStreamTimeoutError | struct AIStreamTimeoutError | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Structure | SwiftAI.AIToolLoopAgent | struct AIToolLoopAgent | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Structure | SwiftAI.LanguageGenerationOptions | struct LanguageGenerationOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Structure | SwiftAI.LanguageToolOptions | struct LanguageToolOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Structure | SwiftAI.ModelID | struct ModelID | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Structure | SwiftAIAnthropic.AnthropicCitationDocument | struct AnthropicCitationDocument | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Structure | SwiftAIAnthropic.AnthropicGeneratedContent | struct AnthropicGeneratedContent | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Structure | SwiftAIAnthropic.AnthropicModelCapabilities | struct AnthropicModelCapabilities | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Structure | SwiftAIAnthropic.AnthropicModelConfiguration | struct AnthropicModelConfiguration | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Structure | SwiftAIAnthropic.AnthropicPreparedCall | struct AnthropicPreparedCall | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Structure | SwiftAIAnthropic.AnthropicProviderSettings | struct AnthropicProviderSettings | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Structure | SwiftAIAnthropic.AnthropicRequestPolicy | struct AnthropicRequestPolicy | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingContentBlocks | struct AnthropicStreamingContentBlocks | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingJSONToolText | struct AnthropicStreamingJSONToolText | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingProviderToolResults | struct AnthropicStreamingProviderToolResults | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingSources | struct AnthropicStreamingSources | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingToolCalls | struct AnthropicStreamingToolCalls | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIOpenAI.OpenAICompatibleResponsesPreparedRequest | struct OpenAICompatibleResponsesPreparedRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Structure | SwiftAIOpenAI.OpenAILanguageModelCapabilities | struct OpenAILanguageModelCapabilities | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Structure | SwiftAIOpenAI.OpenAIModelConfiguration | struct OpenAIModelConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Structure | SwiftAIOpenAI.OpenAIProviderSettings | struct OpenAIProviderSettings | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleLanguageCapabilities | struct OpenAICompatibleLanguageCapabilities | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleModelConfiguration | struct OpenAICompatibleModelConfiguration | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleToolCallBuffer | struct OpenAICompatibleToolCallBuffer | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Structure | SwiftAIProvider.AIAbortError | struct AIAbortError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Structure | SwiftAIProvider.AIBatch | struct AIBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchCancelResult | struct AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchError | struct AIBatchError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchListItem | struct AIBatchListItem | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchListOptions | struct AIBatchListOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchListResult | struct AIBatchListResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchOperationOptions | struct AIBatchOperationOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchReference | struct AIBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchRequestCounts | struct AIBatchRequestCounts | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchResultDownloadSettings | struct AIBatchResultDownloadSettings | Packages/swift-ai-core/Sources/SwiftAIProvider/BatchResultDownloadSettings.swift |
| Structure | SwiftAIProvider.AIBatchStartOptions | struct AIBatchStartOptions<Request> where Request : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchStartResult | struct AIBatchStartResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchStatus | struct AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchWarning | struct AIBatchWarning | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AICitation | struct AICitation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Structure | SwiftAIProvider.AIDecisionBox | struct AIDecisionBox | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Structure | SwiftAIProvider.AIDecisionModelV4CallOptions | struct AIDecisionModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionModelV4Result | struct AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionRefusalError | struct AIDecisionRefusalError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionResult | struct AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionUnsupportedFunctionalityError | struct AIDecisionUnsupportedFunctionalityError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDuplexWebSocketCloseMetadata | struct AIDuplexWebSocketCloseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Structure | SwiftAIProvider.AIEvaluationModelUsage | struct AIEvaluationModelUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationModelV4CallOptions | struct AIEvaluationModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationModelV4Result | struct AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationResponseMetadata | struct AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationResult | struct AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationRounding | struct AIEvaluationRounding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationUnsupportedQuestionTypeError | struct AIEvaluationUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationUsage | struct AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIJSONInstruction | struct AIJSONInstruction | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Structure | SwiftAIProvider.AIJSONParseError | struct AIJSONParseError | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Structure | SwiftAIProvider.AILanguageModelBatchRequest | struct AILanguageModelBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIMessage | struct AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Structure | SwiftAIProvider.AIRealtimeAudioFormat | struct AIRealtimeAudioFormat | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeAudioTranscriptionConfiguration | struct AIRealtimeAudioTranscriptionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeClientSecretOptions | struct AIRealtimeClientSecretOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeClientSecretResult | struct AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeModelCapabilities | struct AIRealtimeModelCapabilities | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeResponseOptions | struct AIRealtimeResponseOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeSessionConfiguration | struct AIRealtimeSessionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeSessionUsage | struct AIRealtimeSessionUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeToolDefinition | struct AIRealtimeToolDefinition | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeTurnDetectionConfiguration | struct AIRealtimeTurnDetectionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeWebSocketConfiguration | struct AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRetryError | struct AIRetryError | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Structure | SwiftAIProvider.AIRetryPolicy | struct AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Structure | SwiftAIProvider.AISupportedURLPattern | struct AISupportedURLPattern | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Structure | SwiftAIProvider.AIWarning | struct AIWarning | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDeleteRequest | struct FileDeleteRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDeleteResult | struct FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDownloadRequest | struct FileDownloadRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDownloadResult | struct FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileMetadataRequest | struct FileMetadataRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileMetadataResult | struct FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileUploadRequest | struct FileUploadRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileUploadResult | struct FileUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.ImageBatchGenerationResult | struct ImageBatchGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.ImageBatchRequest | struct ImageBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.LanguageModelRequest | struct LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Structure | SwiftAIProvider.SkillUploadFile | struct SkillUploadFile | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.SkillUploadRequest | struct SkillUploadRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.SkillUploadResult | struct SkillUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.StartBatchResult | struct StartBatchResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.StartTextBatchResult | struct StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatch | struct TextBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatchGenerationResult | struct TextBatchGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatchReference | struct TextBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatchRequest | struct TextBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TokenUsage | struct TokenUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProviderUtilities.AIConsoleWarningLogger | struct AIConsoleWarningLogger | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Structure | SwiftAIProviderUtilities.AIJSONParseResult | struct AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Structure | SwiftAIProviderUtilities.AIStitchableStream | struct AIStitchableStream<Element> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Structure | SwiftAIProviderUtilities.AIToolNameMapping | struct AIToolNameMapping | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Structure | SwiftAIProviderUtilities.AIWarningLogEvent | struct AIWarningLogEvent | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Structure | SwiftAIProviderUtilities.LanguageStreamNormalizer | struct LanguageStreamNormalizer | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Structure | SwiftAIProviderUtilities.MultipartFileProviderOptions | struct MultipartFileProviderOptions | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Structure | SwiftAISDK.AIUIDataPart | struct AIUIDataPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUIMessage | struct AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUIMessageToolSchema | struct AIUIMessageToolSchema | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUIReasoningPart | struct AIUIReasoningPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUITextPart | struct AIUITextPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAITransport.AIDownloadError | struct AIDownloadError | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIDuplexWebSocketRequest | struct AIDuplexWebSocketRequest | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Structure | SwiftAITransport.AIHTTPRequest | struct AIHTTPRequest | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIHTTPResponse | struct AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIHTTPStreamResponse | struct AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.IncrementalServerSentEventSequence | struct IncrementalServerSentEventSequence | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Structure | SwiftAITransport.IncrementalServerSentEventSequence.AsyncIterator | struct AsyncIterator | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Structure | SwiftAITransport.MultipartFormData | struct MultipartFormData | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Structure | SwiftAITransport.MultipartStreamingBody | struct MultipartStreamingBody | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Structure | SwiftAITransport.ServerSentEvent | struct ServerSentEvent | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Structure | SwiftAITransport.ServerSentEventParser | struct ServerSentEventParser | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Type Alias | SwiftAI.AIRealtimeSession.AsyncIterator | typealias AsyncIterator = AsyncThrowingStream<AIRealtimeSessionEvent, any Error>.Iterator | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Alias | SwiftAI.AIRealtimeSession.Element | typealias Element = AIRealtimeSessionEvent | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Alias | SwiftAIProvider.AICallback | typealias AICallback<Event> = @Sendable (Event) async throws -> Void | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreUtilities.swift |
| Type Alias | SwiftAIProvider.AIDecisionModelUsage | typealias AIDecisionModelUsage = AIEvaluationModelUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionQuestion | typealias AIDecisionQuestion = AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionQuestionType | typealias AIDecisionQuestionType = AIEvaluationQuestionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionResponseMetadata | typealias AIDecisionResponseMetadata = AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionRounding | typealias AIDecisionRounding = AIEvaluationRounding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionUnsupportedQuestionTypeError | typealias AIDecisionUnsupportedQuestionTypeError = AIEvaluationUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionUsage | typealias AIDecisionUsage = AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIIdGenerator | typealias AIIdGenerator = @Sendable () -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreUtilities.swift |
| Type Alias | SwiftAIProvider.AIRealtimeServerEventParser | typealias AIRealtimeServerEventParser = @Sendable (JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionAnswer | typealias Experimental_DecisionAnswer = AIDecisionAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModel | typealias Experimental_DecisionModel = AIDecisionModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4 | typealias Experimental_DecisionModelV4 = AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Answer | typealias Experimental_DecisionModelV4Answer = AIDecisionAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4CallOptions | typealias Experimental_DecisionModelV4CallOptions = AIDecisionModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Input | typealias Experimental_DecisionModelV4Input = JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Question | typealias Experimental_DecisionModelV4Question = AIDecisionQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Result | typealias Experimental_DecisionModelV4Result = AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4State | typealias Experimental_DecisionModelV4State = [AIDecisionStatePart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4StatePart | typealias Experimental_DecisionModelV4StatePart = AIDecisionStatePart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionQuestion | typealias Experimental_DecisionQuestion = AIDecisionQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionRefusalError | typealias Experimental_DecisionRefusalError = AIDecisionRefusalError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionResult | typealias Experimental_DecisionResult = AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionState | typealias Experimental_DecisionState = AIDecisionState | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionStatePart | typealias Experimental_DecisionStatePart = AIDecisionStatePart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionUnsupportedQuestionTypeError | typealias Experimental_DecisionUnsupportedQuestionTypeError = AIDecisionUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationAnswer | typealias Experimental_EvaluationAnswer = AIEvaluationAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModel | typealias Experimental_EvaluationModel = AIEvaluationModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4 | typealias Experimental_EvaluationModelV4 = AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Answer | typealias Experimental_EvaluationModelV4Answer = AIEvaluationAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4CallOptions | typealias Experimental_EvaluationModelV4CallOptions = AIEvaluationModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Input | typealias Experimental_EvaluationModelV4Input = JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Question | typealias Experimental_EvaluationModelV4Question = AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Result | typealias Experimental_EvaluationModelV4Result = AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationQuestion | typealias Experimental_EvaluationQuestion = AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationResult | typealias Experimental_EvaluationResult = AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationUnsupportedQuestionTypeError | typealias Experimental_EvaluationUnsupportedQuestionTypeError = AIEvaluationUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4 | typealias Experimental_RealtimeModelV4 = AIRealtimeModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ClientEvent | typealias Experimental_RealtimeModelV4ClientEvent = AIRealtimeClientEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ClientSecretOptions | typealias Experimental_RealtimeModelV4ClientSecretOptions = AIRealtimeClientSecretOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ClientSecretResult | typealias Experimental_RealtimeModelV4ClientSecretResult = AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ServerEvent | typealias Experimental_RealtimeModelV4ServerEvent = AIRealtimeServerEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4SessionConfig | typealias Experimental_RealtimeModelV4SessionConfig = AIRealtimeSessionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProviderUtilities.AISmoothStreamChunkDetector | typealias AISmoothStreamChunkDetector = @Sendable (String) throws -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Type Alias | SwiftAISDK.AIUIMessageToolInputRefiner | typealias AIUIMessageToolInputRefiner = @Sendable (JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Alias | SwiftAISDK.AIUIToolOutputErrorPart | typealias AIUIToolOutputErrorPart = AIToolResult | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Alias | SwiftAITransport.IncrementalServerSentEventSequence.Element | typealias Element = ServerSentEvent | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Type Method | SwiftAI.all(tools:) | static func all(tools: Set<String>? = nil) -> AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Type Method | SwiftAI.beforeLastMessage(tools:) | static func beforeLastMessage(tools: Set<String>? = nil) -> AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Type Method | SwiftAI.beforeLastMessages(_:tools:) | static func beforeLastMessages(_ count: Int, tools: Set<String>? = nil) -> AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Type Method | SwiftAI.cancelBatch(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:) | static func cancelBatch(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.connect(model:clientSecret:sessionConfiguration:webSocketTransport:abortSignal:) | static func connect(model: any AIRealtimeModelV4, clientSecret: AIRealtimeClientSecretResult, sessionConfiguration: AIRealtimeSessionConfiguration = .init(), webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared, abortSignal: AIAbortSignal? = nil) async throws -> AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Method | SwiftAI.connect(model:sessionConfiguration:clientSecretOptions:webSocketTransport:abortSignal:) | static func connect(model: any AIRealtimeModelV4, sessionConfiguration: AIRealtimeSessionConfiguration = .init(), clientSecretOptions: AIRealtimeClientSecretOptions = .init(), webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared, abortSignal: AIAbortSignal? = nil) async throws -> AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Method | SwiftAI.connectServer(model:sessionConfiguration:webSocketTransport:abortSignal:) | static func connectServer(model: any AIRealtimeModelV4, sessionConfiguration: AIRealtimeSessionConfiguration = .init(), webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared, abortSignal: AIAbortSignal? = nil) async throws -> AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Method | SwiftAI.embed(_:using:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(_ value: String, using model: any EmbeddingModel, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.embedMany(_:using:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(_ values: [String], using model: any EmbeddingModel, dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model: any AIDecisionModelV4, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeDecision.swift |
| Type Method | SwiftAI.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model reference: AIDecisionModelReference, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeDecision.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.generateAudio(_:using:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateAudio(_ prompt: String, using model: any AudioGenerationModel, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateImage(_:using:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(_ prompt: String, using model: any ImageModel, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateObject(_:using:as:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(_ prompt: String, using model: any LanguageModel, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateObject(_:using:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(_ prompt: String, using model: any LanguageModel, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateSpeech(_:using:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateSpeech(_ text: String, using model: any SpeechModel, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(_:using:options:tools:) | static func generateText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(_:using:output:options:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(messages:using:options:tools:) | static func generateText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(model:prompt:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = 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] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = 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] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, 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] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:output:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateVideo(_:using:aspectRatio:durationSeconds:image:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateVideo(_ prompt: String, using model: any VideoModel, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchResults(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<BatchItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchStatus(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.listBatches(provider:providerOptions:limit:cursor:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func listBatches(provider: any AIBatchProvider, providerOptions: [String : JSONValue] = [:], limit: Int? = nil, cursor: String? = nil, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> (batches: [AIBatch], nextCursor: String?, providerMetadata: [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.rerank(query:documents:using:topK:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func rerank(query: String, documents: [String], using model: any RerankingModel, topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.startBatch(provider:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startBatch(provider: any AIBatchProvider, requests: [AIBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.streamEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(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, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamEnum(model:request:values:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(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, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamJSON(model:request:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamText(_:using:options:tools:timeoutNanoseconds:) | static func streamText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.streamText(_:using:output:options:timeoutNanoseconds:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, timeoutNanoseconds: UInt64? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.streamText(messages:using:options:tools:timeoutNanoseconds:) | static func streamText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, 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] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, 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] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.transcribe(audio:using:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transcribe(audio: Data, using model: any TranscriptionModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.transformAudio(audio:using:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transformAudio(audio: Data, using model: any AudioTransformationModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAIAnthropic.advisor_20260301(model:maxUses:maxTokens:caching:) | static func advisor_20260301(model: String, maxUses: Int? = nil, maxTokens: Int? = nil, caching: JSONValue? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.anthropic(configuration:) | static func anthropic(configuration: AnthropicProviderSettings = .init()) throws -> AnthropicProvider | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Type Method | SwiftAIAnthropic.bash_20241022() | static func bash_20241022() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.bash_20250124() | static func bash_20250124() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.body(for:modelID:providerID:stream:supportsNativeStructuredOutput:supportsStrictTools:policy:) | static func body(for request: LanguageModelRequest, modelID: String, providerID: String, stream: Bool = false, supportsNativeStructuredOutput: Bool? = nil, supportsStrictTools: Bool? = nil, policy: AnthropicRequestPolicy = .init()) throws -> AnthropicPreparedCall | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.codeExecution_20250522() | static func codeExecution_20250522() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.codeExecution_20250825() | static func codeExecution_20250825() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.codeExecution_20260120() | static func codeExecution_20260120() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computer_20241022(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20241022(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computer_20250124(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20250124(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computer_20251124(displayWidthPx:displayHeightPx:displayNumber:enableZoom:) | static func computer_20251124(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil, enableZoom: Bool? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computerToolset_20260801(configs:) | static func computerToolset_20260801(configs: [String : JSONValue]? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.memory_20250818() | static func memory_20250818() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20241022() | static func textEditor_20241022() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20250124() | static func textEditor_20250124() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20250429() | static func textEditor_20250429() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20250728(maxCharacters:) | static func textEditor_20250728(maxCharacters: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.toolSearchBm25_20251119() | static func toolSearchBm25_20251119() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.toolSearchRegex_20251119() | static func toolSearchRegex_20251119() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webFetch_20250910(maxUses:allowedDomains:blockedDomains:citations:maxContentTokens:) | static func webFetch_20250910(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, citations: JSONValue? = nil, maxContentTokens: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webFetch_20260209(maxUses:allowedDomains:blockedDomains:citations:maxContentTokens:) | static func webFetch_20260209(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, citations: JSONValue? = nil, maxContentTokens: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webFetch_20260318(maxUses:allowedDomains:blockedDomains:citations:maxContentTokens:useCache:responseInclusion:) | static func webFetch_20260318(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, citations: JSONValue? = nil, maxContentTokens: Int? = nil, useCache: Bool? = nil, responseInclusion: String? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webSearch_20250305(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20250305(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webSearch_20260209(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20260209(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webSearch_20260318(maxUses:allowedDomains:blockedDomains:userLocation:responseInclusion:) | static func webSearch_20260318(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil, responseInclusion: String? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIOpenAICompatible.messageJSON(_:providerID:providerOptionsKey:systemRole:supportsMultiPartToolContent:wrapToolErrors:) | static func messageJSON(_ message: AIMessage, providerID: String, providerOptionsKey: String? = nil, systemRole: String? = nil, supportsMultiPartToolContent: Bool = false, wrapToolErrors: Bool = false) throws -> JSONValue | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Type Method | SwiftAIProvider.array(_:) | static func array(_ values: [String]) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Type Method | SwiftAIProvider.assistant(_:reasoning:) | static func assistant(_ text: String, reasoning: String? = nil) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.assistant(text:reasoning:toolCalls:toolApprovalRequests:) | static func assistant(text: String = "", reasoning: String? = nil, toolCalls: [AIToolCall], toolApprovalRequests: [AIToolApprovalRequest] = []) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.object(_:) | static func object(_ values: [String : JSONValue?]) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Type Method | SwiftAIProvider.system(_:) | static func system(_ text: String) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.text(_:citations:providerMetadata:) | static func text(_ text: String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:]) -> AIResultContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Type Method | SwiftAIProvider.textEnd(id:citations:providerMetadata:) | static func textEnd(id: String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:]) -> LanguageStreamPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Type Method | SwiftAIProvider.toolInputStart(id:name:inputEncoding:providerExecuted:dynamic:title:providerMetadata:) | static func toolInputStart(id: String, name: String, inputEncoding: AIToolInputEncoding, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:]) -> LanguageStreamPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Type Method | SwiftAIProvider.toolResponses(approvalResponses:toolResults:) | static func toolResponses(approvalResponses: [AIToolApprovalResponse] = [], toolResults: [AIToolResult] = []) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.toolResult(_:) | static func toolResult(_ result: AIToolResult) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.user(_:) | static func user(_ text: String) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.videoURL(_:mediaType:providerMetadata:) | static func videoURL(_ url: String, mediaType: String = "video/*", providerMetadata: [String : JSONValue] = [:]) -> AIContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProviderUtilities.disable() | static func disable() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.failure(error:rawValue:) | static func failure(error: any Error, rawValue: JSONValue?) -> AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Type Method | SwiftAIProviderUtilities.formattedMessage(for:providerID:modelID:) | static func formattedMessage(for warning: AIWarning, providerID: String? = nil, modelID: String? = nil) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.success(value:rawValue:) | static func success(value: JSONValue, rawValue: JSONValue) -> AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Type Method | SwiftAIProviderUtilities.useDefaultLogger() | static func useDefaultLogger() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.useLogger(_:) | static func useLogger(_ logger: any AIWarningLogger) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.validate(_:schema:path:) | static func validate(_ value: JSONValue, schema: JSONValue, path: String = "$") throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONSchemaValidator.swift |
| Type Method | SwiftAIProviderUtilities.withLogger(_:operation:) | static func withLogger<Result>(_ logger: any AIWarningLogger, operation: () async throws -> Result) async rethrows -> Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.withLoggingDisabled(operation:) | static func withLoggingDisabled<Result>(operation: () async throws -> Result) async rethrows -> Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAISDK.assistant(id:parts:metadata:) | static func assistant(id: String = UUID().uuidString, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | SwiftAISDK.cancelBatch(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:) | static func cancelBatch(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> AIBatchCancelResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:decisionModels:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], decisionModels: [String : AIDecisionModelReference], fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.deleteFile(client:request:retryPolicy:telemetry:) | static func deleteFile(client: any AIFileClient, request: FileDeleteRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileDeleteResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.downloadFile(client:request:retryPolicy:telemetry:) | static func downloadFile(client: any AIFileClient, request: FileDownloadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileDownloadResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embed(_:using:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(_ value: String, using model: any EmbeddingModel, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embed(model:provider:request:retryPolicy:telemetry:) | static func embed(model modelID: String, provider: (any AIProvider)? = nil, request: EmbeddingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.embed(model:provider:value:dimensions:providerOptions:extraBody:headers:retryPolicy:telemetry:) | static func embed(model modelID: String, provider: (any AIProvider)? = nil, value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.embed(model:request:retryPolicy:telemetry:) | static func embed(model: any EmbeddingModel, request: EmbeddingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embed(model:value:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(model: any EmbeddingModel, value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embedMany(_:using:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(_ values: [String], using model: any EmbeddingModel, dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embedMany(model:provider:values:dimensions:chunkSize:providerOptions:extraBody:headers:retryPolicy:telemetry:) | static func embedMany(model modelID: String, provider: (any AIProvider)? = nil, values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.embedMany(model:values:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(model: any EmbeddingModel, values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model: String, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Sources/SwiftAISDK/AIFacadeDecision.swift |
| Type Method | SwiftAISDK.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model: any AIDecisionModelV4, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model reference: AIDecisionModelReference, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model: String, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Sources/SwiftAISDK/AIFacadeEvaluation.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: String, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/AIFacadeEvaluation.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: String, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/AIFacadeEvaluation.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalStreamSpeech(model:request:onError:) | static func experimentalStreamSpeech(model: any SpeechModel, request: StreamingSpeechRequest, onError: @escaping @Sendable (any Error) async throws -> Void = { error in FileHandle.standardError.write(Data("\(error)\n".utf8)) }) throws -> StreamingSpeechResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateAudio(_:using:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateAudio(_ prompt: String, using model: any AudioGenerationModel, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateAudio(model:request:retryPolicy:telemetry:) | static func generateAudio(model: any AudioGenerationModel, request: AudioGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateEnum(model:provider:request:values:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateEnum(model modelID: String, provider: (any AIProvider)? = nil, 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> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.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> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateImage(_:using:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(_ prompt: String, using model: any ImageModel, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateImage(model:prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(model: any ImageModel, prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateImage(model:provider:prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:retryPolicy:telemetry:) | static func generateImage(model modelID: String, provider: (any AIProvider)? = nil, prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateImage(model:provider:request:retryPolicy:telemetry:) | static func generateImage(model modelID: String, provider: (any AIProvider)? = nil, request: ImageGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateImage(model:request:retryPolicy:telemetry:) | static func generateImage(model: any ImageModel, request: ImageGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateJSON(model:provider:request:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateJSON(model modelID: String, provider: (any AIProvider)? = nil, 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> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.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> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(_:using:as:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(_ prompt: String, using model: any LanguageModel, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(_:using:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(_ prompt: String, using model: any LanguageModel, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(model:provider:request:as:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(model modelID: String, provider: (any AIProvider)? = nil, 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 : Sendable | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObjectArray(model:provider:request:as:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<Element>(model modelID: String, provider: (any AIProvider)? = nil, 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 : Sendable | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateSpeech(_:using:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateSpeech(_ text: String, using model: any SpeechModel, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateSpeech(model:provider:request:retryPolicy:telemetry:) | static func generateSpeech(model modelID: String, provider: (any AIProvider)? = nil, request: SpeechRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateSpeech(model:request:retryPolicy:telemetry:) | static func generateSpeech(model: any SpeechModel, request: SpeechRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(_:using:options:tools:) | static func generateText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(_:using:output:options:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(messages:using:options:tools:) | static func generateText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = 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] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = 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] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, 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] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:provider:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:retryPolicy:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(model modelID: String, provider: (any AIProvider)? = nil, 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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateText(model:provider:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:retryPolicy:telemetry:) | static func generateText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateText(model:provider:request:retryPolicy:telemetry:) | static func generateText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:output:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateVideo(_:using:aspectRatio:durationSeconds:image:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateVideo(_ prompt: String, using model: any VideoModel, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateVideo(model:provider:request:retryPolicy:telemetry:) | static func generateVideo(model modelID: String, provider: (any AIProvider)? = nil, request: VideoGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateVideo(model:request:retryPolicy:telemetry:poll:webhook:) | static func generateVideo(model: any VideoModel, request: VideoGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, poll: VideoGenerationPollOptions? = nil, webhook: VideoGenerationWebhookFactory? = nil) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchResults(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<BatchItemResult, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchStatus(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getFileMetadata(client:request:retryPolicy:telemetry:) | static func getFileMetadata(client: any AIFileClient, request: FileMetadataRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileMetadataResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getVideoStatus(model:operation:headers:abortSignal:retryPolicy:) | static func getVideoStatus(model: any VideoModel, operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.listBatches(provider:providerOptions:limit:cursor:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func listBatches(provider: any AIBatchProvider, providerOptions: [String : JSONValue] = [:], limit: Int? = nil, cursor: String? = nil, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> (batches: [AIBatch], nextCursor: String?, providerMetadata: [String : JSONValue]) | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.rerank(model:provider:request:retryPolicy:telemetry:) | static func rerank(model modelID: String, provider: (any AIProvider)? = nil, request: RerankingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.rerank(model:request:retryPolicy:telemetry:) | static func rerank(model: any RerankingModel, request: RerankingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.rerank(query:documents:using:topK:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func rerank(query: String, documents: [String], using model: any RerankingModel, topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.resolveEmbeddingModel(_:provider:) | static func resolveEmbeddingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any EmbeddingModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveImageModel(_:provider:) | static func resolveImageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any ImageModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveLanguageModel(_:provider:) | static func resolveLanguageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any LanguageModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveRerankingModel(_:provider:) | static func resolveRerankingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any RerankingModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveSpeechModel(_:provider:) | static func resolveSpeechModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any SpeechModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveTranscriptionModel(_:provider:) | static func resolveTranscriptionModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any TranscriptionModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveVideoModel(_:provider:) | static func resolveVideoModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any VideoModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.startBatch(provider:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startBatch(provider: any AIBatchProvider, requests: [AIBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startVideo(model:request:webhookURL:retryPolicy:) | static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(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, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamEnum(model:request:values:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(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, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamJSON(model:request:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObject(model:provider:request:as:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Object>(model modelID: String, provider: (any AIProvider)? = nil, 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 : Sendable | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.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 : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(_:using:options:tools:timeoutNanoseconds:) | static func streamText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(_:using:output:options:timeoutNanoseconds:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, timeoutNanoseconds: UInt64? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(messages:using:options:tools:timeoutNanoseconds:) | static func streamText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, 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] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, 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] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:provider:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:retryPolicy:telemetry:) | static func streamText(model modelID: String, provider: (any AIProvider)? = nil, 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] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamText(model:provider:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:timeoutNanoseconds:retryPolicy:telemetry:) | static func streamText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamText(model:provider:request:timeoutNanoseconds:retryPolicy:telemetry:) | static func streamText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamTranscribe(model:request:telemetry:) | static func streamTranscribe(model: any StreamingTranscriptionModel, request: StreamingTranscriptionRequest, telemetry: Telemetry.Options? = nil) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.system(_:id:metadata:) | static func system(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | SwiftAISDK.transcribe(audio:using:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transcribe(audio: Data, using model: any TranscriptionModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.transcribe(model:provider:request:retryPolicy:telemetry:) | static func transcribe(model modelID: String, provider: (any AIProvider)? = nil, request: AudioTranscriptionRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.transcribe(model:request:retryPolicy:telemetry:) | static func transcribe(model: any TranscriptionModel, request: AudioTranscriptionRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.transformAudio(audio:using:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transformAudio(audio: Data, using model: any AudioTransformationModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.transformAudio(model:request:retryPolicy:telemetry:) | static func transformAudio(model: any AudioTransformationModel, request: AudioTransformationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.uploadFile(client:request:retryPolicy:telemetry:) | static func uploadFile(client: any AIFileClient, request: FileUploadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileUploadResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.uploadSkill(client:request:retryPolicy:telemetry:) | static func uploadSkill(client: any AISkillsClient, request: SkillUploadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SkillUploadResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.user(_:id:metadata:) | static func user(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Property | SwiftAI.default | static let default: LanguageGenerationOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Property | SwiftAI.none | static let none: LanguageToolOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Property | SwiftAIProvider.automatic | static let automatic: AIJSONInstruction | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Type Property | SwiftAIProvider.default | static let default: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Type Property | SwiftAIProvider.disabled | static let disabled: AIJSONInstruction | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Type Property | SwiftAIProvider.none | static let none: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Type Property | SwiftAIProvider.normalClosure | static let normalClosure: AIDuplexWebSocketCloseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Type Property | SwiftAITransport.shared | static let shared: URLSessionDuplexWebSocketTransport | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Type Property | SwiftAITransport.shared | static let shared: URLSessionTransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |