Public symbols
This page is generated by npm --prefix docs-site run generate from swift package dump-symbol-graph.
| Kind | Symbol | Declaration | Source |
|---|---|---|---|
| Associated Type | Output | associatedtype Output : Decodable, Sendable | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Case | AIAbortSource.signal(_:) | case signal(AIAbortSignal) | Sources/SwiftAISDK/CoreAbort.swift |
| Case | AIAbortSource.timeoutMilliseconds(_:) | case timeoutMilliseconds(Int) | Sources/SwiftAISDK/CoreAbort.swift |
| Case | AIBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: Result) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchLifecycleStatus.completed | case completed | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchLifecycleStatus.failed | case failed | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchLifecycleStatus.pending | case pending | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIBatchReferenceType.text | case text | Sources/SwiftAISDK/CoreBatch.swift |
| Case | AIChatSessionStatus.error | case error | Sources/SwiftAISDK/AIChatSession.swift |
| Case | AIChatSessionStatus.ready | case ready | Sources/SwiftAISDK/AIChatSession.swift |
| Case | AIChatSessionStatus.streaming | case streaming | Sources/SwiftAISDK/AIChatSession.swift |
| Case | AIChatSessionStatus.submitted | case submitted | Sources/SwiftAISDK/AIChatSession.swift |
| Case | AIChatTransportTrigger.regenerateMessage | case regenerateMessage | Sources/SwiftAISDK/AIChatTransport.swift |
| Case | AIChatTransportTrigger.submitMessage | case submitMessage | Sources/SwiftAISDK/AIChatTransport.swift |
| Case | AIContentPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.data(mimeType:data:providerMetadata:) | case data(mimeType: String, data: Data, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.file(mimeType:data:filename:providerMetadata:) | case file(mimeType: String, data: Data, filename: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.imageURL(_:providerMetadata:) | case imageURL(String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.providerReference(mimeType:reference:filename:providerMetadata:) | case providerReference(mimeType: String, reference: AIProviderReference, filename: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.reasoning(_:providerMetadata:) | case reasoning(String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.text(_:providerMetadata:) | case text(String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.toolCall(_:) | case toolCall(AIToolCall) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIContentPart.toolResult(_:) | case toolResult(AIToolResult) | Sources/SwiftAISDK/CoreMessages.swift |
| Case | AIDuplexWebSocketEvent.closed(_:) | case closed(AIDuplexWebSocketCloseMetadata) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Case | AIDuplexWebSocketEvent.message(_:) | case message(AIDuplexWebSocketMessage) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Case | AIDuplexWebSocketEvent.opened(protocol:) | case opened(protocol: String?) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Case | AIDuplexWebSocketMessage.binary(_:) | case binary(Data) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Case | AIDuplexWebSocketMessage.text(_:) | case text(String) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Case | AIError.apiCall(_:) | case apiCall(AIAPICallError) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.gateway(_:) | case gateway(GatewayError) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.invalidArgument(argument:message:) | case invalidArgument(argument: String, message: String) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.invalidResponse(provider:message:) | case invalidResponse(provider: String, message: String) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.invalidURL(_:) | case invalidURL(String) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.missingAPIKey(provider:environmentVariables:) | case missingAPIKey(provider: String, environmentVariables: [String]) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.timeout(durationNanoseconds:) | case timeout(durationNanoseconds: UInt64) | Sources/SwiftAISDK/Core.swift |
| Case | AIError.unsupportedModel(provider:capability:modelID:) | case unsupportedModel(provider: String, capability: ModelCapability, modelID: String) | Sources/SwiftAISDK/Core.swift |
| Case | AIFileOperation.delete | case delete | Sources/SwiftAISDK/CoreProtocols.swift |
| Case | AIFileOperation.download | case download | Sources/SwiftAISDK/CoreProtocols.swift |
| Case | AIFileOperation.getMetadata | case getMetadata | Sources/SwiftAISDK/CoreProtocols.swift |
| Case | AIFileOperation.upload | case upload | Sources/SwiftAISDK/CoreProtocols.swift |
| Case | AILanguageModelCallType.generate | case generate | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Case | AILanguageModelCallType.stream | case stream | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Case | AINoOutputKind.audio | case audio | Sources/SwiftAISDK/Errors.swift |
| Case | AINoOutputKind.content | case content | Sources/SwiftAISDK/Errors.swift |
| Case | AINoOutputKind.image | case image | Sources/SwiftAISDK/Errors.swift |
| Case | AINoOutputKind.output | case output | Sources/SwiftAISDK/Errors.swift |
| Case | AINoOutputKind.speech | case speech | Sources/SwiftAISDK/Errors.swift |
| Case | AINoOutputKind.transcript | case transcript | Sources/SwiftAISDK/Errors.swift |
| Case | AINoOutputKind.video | case video | Sources/SwiftAISDK/Errors.swift |
| Case | AIObjectGenerationFailureKind.decoding | case decoding | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectGenerationFailureKind.noJSON | case noJSON | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectGenerationFailureKind.repairFailed | case repairFailed | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectGenerationFailureKind.schemaValidation | case schemaValidation | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectGenerationSessionStatus.error | case error | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Case | AIObjectGenerationSessionStatus.ready | case ready | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Case | AIObjectGenerationSessionStatus.streaming | case streaming | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Case | AIObjectGenerationSessionStatus.submitted | case submitted | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Case | AIObjectOutputStrategy.array | case array | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectOutputStrategy.enumeration | case enumeration | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectOutputStrategy.json | case json | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIObjectOutputStrategy.object | case object | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIOutputKind.array | case array | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputKind.choice | case choice | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputKind.json | case json | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputKind.object | case object | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputKind.text | case text | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.finish(reason:usage:) | case finish(reason: String?, usage: TokenUsage?) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.metadata(_:) | case metadata([String : JSONValue]) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.output(_:) | case output(AIOutputGenerationResult<Output>) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.partialOutput(_:) | case partialOutput(Partial) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.raw(_:) | case raw(LanguageStreamPart) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.source(_:) | case source(AISource) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.textDelta(_:) | case textDelta(String) | Sources/SwiftAISDK/Output.swift |
| Case | AIOutputStreamPart.warning(_:) | case warning(AIWarning) | Sources/SwiftAISDK/Output.swift |
| Case | AIParsePartialJSONState.failedParse | case failedParse | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Case | AIParsePartialJSONState.repairedParse | case repairedParse | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Case | AIParsePartialJSONState.successfulParse | case successfulParse | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Case | AIParsePartialJSONState.undefinedInput | case undefinedInput | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Case | AIProviderRegistryError.invalidModelID(modelID:modelType:separator:) | case invalidModelID(modelID: String, modelType: String, separator: String) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Case | AIProviderRegistryError.noSuchProvider(providerID:modelType:availableProviders:) | case noSuchProvider(providerID: String, modelType: String, availableProviders: [String]) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Case | AIProviderRegistryError.unsupportedFiles(providerID:) | case unsupportedFiles(providerID: String) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Case | AIProviderRegistryError.unsupportedSkills(providerID:) | case unsupportedSkills(providerID: String) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Case | AIPruneEmptyMessages.keep | case keep | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIPruneEmptyMessages.remove | case remove | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIPruneReasoning.all | case all | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIPruneReasoning.beforeLastMessage | case beforeLastMessage | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIPruneReasoning.none | case none | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIPruneToolCalls.Scope.all | case all | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIPruneToolCalls.Scope.beforeLastMessages(_:) | case beforeLastMessages(Int) | Sources/SwiftAISDK/PruneMessages.swift |
| Case | AIRealtimeClientEvent.conversationItemCreate(_:) | case conversationItemCreate(AIRealtimeConversationItem) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.conversationItemTruncate(itemID:contentIndex:audioEndMilliseconds:) | case conversationItemTruncate(itemID: String, contentIndex: Int, audioEndMilliseconds: Int) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.inputAudioAppend(audio:) | case inputAudioAppend(audio: String) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.inputAudioClear | case inputAudioClear | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.inputAudioCommit | case inputAudioCommit | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.responseCancel | case responseCancel | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.responseCreate(options:) | case responseCreate(options: AIRealtimeResponseOptions? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeClientEvent.sessionUpdate(_:) | case sessionUpdate(AIRealtimeSessionConfiguration) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeConversationItem.audioMessage(audio:) | case audioMessage(audio: String) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeConversationItem.functionCallOutput(callID:name:output:) | case functionCallOutput(callID: String, name: String?, output: String) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeConversationItem.textMessage(text:) | case textMessage(text: String) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeOutputModality.audio | case audio | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeOutputModality.text | case text | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.audioCommitted(itemID:previousItemID:raw:) | case audioCommitted(itemID: String?, previousItemID: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.audioDelta(responseID:itemID:delta:raw:) | case audioDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.audioDone(responseID:itemID:raw:) | case audioDone(responseID: String, itemID: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.audioTranscriptDelta(responseID:itemID:delta:raw:) | case audioTranscriptDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.audioTranscriptDone(responseID:itemID:transcript:raw:) | case audioTranscriptDone(responseID: String, itemID: String, transcript: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.contentPartAdded(responseID:itemID:raw:) | case contentPartAdded(responseID: String, itemID: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.contentPartDone(responseID:itemID:raw:) | case contentPartDone(responseID: String, itemID: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.conversationItemAdded(itemID:item:raw:) | case conversationItemAdded(itemID: String, item: JSONValue, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.custom(rawType:raw:) | case custom(rawType: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.error(message:code:raw:) | case error(message: String, code: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.functionCallArgumentsDelta(responseID:itemID:callID:delta:raw:) | case functionCallArgumentsDelta(responseID: String, itemID: String, callID: String, delta: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.functionCallArgumentsDone(responseID:itemID:callID:name:arguments:raw:) | case functionCallArgumentsDone(responseID: String, itemID: String, callID: String, name: String, arguments: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.inputTranscriptionCompleted(itemID:transcript:raw:) | case inputTranscriptionCompleted(itemID: String, transcript: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.outputItemAdded(responseID:itemID:raw:) | case outputItemAdded(responseID: String, itemID: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.outputItemDone(responseID:itemID:raw:) | case outputItemDone(responseID: String, itemID: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.responseCreated(responseID:raw:) | case responseCreated(responseID: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.responseDone(responseID:status:raw:) | case responseDone(responseID: String, status: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.sessionCreated(sessionID:raw:) | case sessionCreated(sessionID: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.sessionUpdated(raw:) | case sessionUpdated(raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.speechStarted(itemID:raw:) | case speechStarted(itemID: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.speechStopped(itemID:raw:) | case speechStopped(itemID: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.textDelta(responseID:itemID:delta:raw:) | case textDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeServerEvent.textDone(responseID:itemID:text:raw:) | case textDone(responseID: String, itemID: String, text: String?, raw: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeSessionError.closed | case closed | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Case | AIRealtimeSessionError.connectionEndedBeforeOpening | case connectionEndedBeforeOpening | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Case | AIRealtimeSessionEvent.closed(_:) | case closed(AIDuplexWebSocketCloseMetadata) | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Case | AIRealtimeSessionEvent.opened(protocol:) | case opened(protocol: String?) | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Case | AIRealtimeSessionEvent.server(_:) | case server(AIRealtimeServerEvent) | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Case | AIRealtimeTurnDetectionType.disabled | case disabled | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeTurnDetectionType.semanticVAD | case semanticVAD | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeTurnDetectionType.serverVAD | case serverVAD | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeWireMessage.binary(_:) | case binary(Data) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeWireMessage.json(_:) | case json(JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIRealtimeWireMessage.text(_:) | case text(String) | Sources/SwiftAISDK/CoreRealtime.swift |
| Case | AIResponseFormat.json(schema:name:description:) | case json(schema: JSONValue? = nil, name: String? = nil, description: String? = nil) | Sources/SwiftAISDK/CoreAbort.swift |
| Case | AIResponseFormat.text | case text | Sources/SwiftAISDK/CoreAbort.swift |
| Case | AIResultContentPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.file(_:) | case file(AIStreamFile) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.reasoning(_:providerMetadata:) | case reasoning(String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.source(_:) | case source(AISource) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.text(_:providerMetadata:) | case text(String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.toolCall(_:) | case toolCall(AIToolCall) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIResultContentPart.toolResult(_:) | case toolResult(AIToolResult) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | AIRetryErrorReason.cancelled | case cancelled | Sources/SwiftAISDK/Core.swift |
| Case | AIRetryErrorReason.errorNotRetryable | case errorNotRetryable | Sources/SwiftAISDK/Core.swift |
| Case | AIRetryErrorReason.maxRetriesExceeded | case maxRetriesExceeded | Sources/SwiftAISDK/Core.swift |
| Case | AISmoothStreamChunking.line | case line | Sources/SwiftAISDK/CoreUtilities.swift |
| Case | AISmoothStreamChunking.word | case word | Sources/SwiftAISDK/CoreUtilities.swift |
| Case | AIStreamingAudioSendResult.dropped | case dropped | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | AIStreamingAudioSendResult.enqueued | case enqueued | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | AIStreamingAudioSendResult.terminated | case terminated | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | AIStreamingToolCallTypeValidation.ifPresent | case ifPresent | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Case | AIStreamingToolCallTypeValidation.none | case none | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Case | AIStreamingToolCallTypeValidation.required | case required | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Case | AIStreamTimeoutPhase.chunk | case chunk | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Case | AIStreamTimeoutPhase.firstChunk | case firstChunk | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Case | AIToolApprovalStatus.approved(reason:) | case approved(reason: String? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Case | AIToolApprovalStatus.denied(reason:) | case denied(reason: String? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Case | AIToolApprovalStatus.notApplicable | case notApplicable | Sources/SwiftAISDK/CoreTools.swift |
| Case | AIToolApprovalStatus.userApproval | case userApproval | Sources/SwiftAISDK/CoreTools.swift |
| Case | AIUIMessagePart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.data(_:) | case data(AIUIDataPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue?) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.file(_:) | case file(AIStreamFile) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.metadata(_:) | case metadata([String : JSONValue]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.raw(_:) | case raw(JSONValue) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.reasoning(_:) | case reasoning(AIUIReasoningPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.source(_:) | case source(AISource) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.text(_:) | case text(AIUITextPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.toolCall(_:) | case toolCall(AIToolCall) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIMessagePart.toolResult(_:) | case toolResult(AIToolResult) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIStreamingPartState.done | case done | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AIUIStreamingPartState.streaming | case streaming | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | AmazonBedrockEmbeddingModelFamily.cohere | case cohere | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Case | AmazonBedrockEmbeddingModelFamily.nova | case nova | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Case | AmazonBedrockEmbeddingModelFamily.titan | case titan | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Case | AuthorizationStyle.apiKeyHeader(name:prefix:environmentVariables:) | case apiKeyHeader(name: String, prefix: String? = nil, environmentVariables: [String]) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | AuthorizationStyle.bearer(environmentVariables:) | case bearer(environmentVariables: [String]) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | AuthorizationStyle.none | case none | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | AuthorizationStyle.token(environmentVariables:) | case token(environmentVariables: [String]) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | FileUploadData.data(_:) | case data(Data) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Case | FileUploadData.stream(_:) | case stream(AsyncThrowingStream<Data, any Error>) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Case | GatewayErrorType.authenticationError | case authenticationError | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.failedDependency | case failedDependency | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.forbidden | case forbidden | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.internalServerError | case internalServerError | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.invalidRequestError | case invalidRequestError | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.modelNotFound | case modelNotFound | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.rateLimitExceeded | case rateLimitExceeded | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.responseError | case responseError | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | GatewayErrorType.timeoutError | case timeoutError | Sources/SwiftAISDK/GatewayErrors.swift |
| Case | JSONValue.array(_:) | case array([JSONValue]) | Sources/SwiftAISDK/JSONValue.swift |
| Case | JSONValue.bool(_:) | case bool(Bool) | Sources/SwiftAISDK/JSONValue.swift |
| Case | JSONValue.null | case null | Sources/SwiftAISDK/JSONValue.swift |
| Case | JSONValue.number(_:) | case number(Double) | Sources/SwiftAISDK/JSONValue.swift |
| Case | JSONValue.object(_:) | case object([String : JSONValue]) | Sources/SwiftAISDK/JSONValue.swift |
| Case | JSONValue.string(_:) | case string(String) | Sources/SwiftAISDK/JSONValue.swift |
| Case | LanguageStreamPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.file(_:) | case file(AIStreamFile) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.finish(reason:usage:) | case finish(reason: String?, usage: TokenUsage?) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.finishMetadata(reason:usage:providerMetadata:) | case finishMetadata(reason: String?, usage: TokenUsage?, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.metadata(_:) | case metadata([String : JSONValue]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.raw(_:) | case raw(JSONValue) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.reasoningDelta(_:) | case reasoningDelta(String) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.reasoningDeltaPart(id:delta:providerMetadata:) | case reasoningDeltaPart(id: String, delta: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.reasoningEnd(id:providerMetadata:) | case reasoningEnd(id: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.reasoningStart(id:providerMetadata:) | case reasoningStart(id: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.source(_:) | case source(AISource) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.streamStart(warnings:) | case streamStart(warnings: [AIWarning]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.textDelta(_:) | case textDelta(String) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.textDeltaPart(id:delta:providerMetadata:) | case textDeltaPart(id: String, delta: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.textEnd(id:providerMetadata:) | case textEnd(id: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.textStart(id:providerMetadata:) | case textStart(id: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolCall(_:) | case toolCall(AIToolCall) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolCallDelta(id:name:argumentsDelta:index:) | case toolCallDelta(id: String?, name: String?, argumentsDelta: String, index: Int?) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolInputDelta(id:delta:providerMetadata:) | case toolInputDelta(id: String, delta: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolInputEnd(id:providerMetadata:) | case toolInputEnd(id: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolInputStart(id:name:providerExecuted:dynamic:title:providerMetadata:) | case toolInputStart(id: String, name: String, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Case | LanguageStreamPart.toolResult(_:) | case toolResult(AIToolResult) | Sources/SwiftAISDK/CoreTools.swift |
| Case | MCPAppToolMeta.Visibility.app | case app | Sources/SwiftAISDK/MCPApps.swift |
| Case | MCPAppToolMeta.Visibility.model | case model | Sources/SwiftAISDK/MCPApps.swift |
| Case | MCPElicitAction.accept | case accept | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPElicitAction.cancel | case cancel | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPElicitAction.decline | case decline | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthApplicationType.native | case native | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthApplicationType.web | case web | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthAuthResult.authorized | case authorized | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthAuthResult.redirect | case redirect | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthClientAuthMethod.clientSecretBasic | case clientSecretBasic | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthClientAuthMethod.clientSecretPost | case clientSecretPost | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthClientAuthMethod.none | case none | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | MCPOAuthCredentialScope.all | case all | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthCredentialScope.client | case client | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthCredentialScope.tokens | case tokens | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MCPOAuthCredentialScope.verifier | case verifier | Sources/SwiftAISDK/MCPTypes.swift |
| Case | MessageRole.assistant | case assistant | Sources/SwiftAISDK/CoreMessages.swift |
| Case | MessageRole.system | case system | Sources/SwiftAISDK/CoreMessages.swift |
| Case | MessageRole.tool | case tool | Sources/SwiftAISDK/CoreMessages.swift |
| Case | MessageRole.user | case user | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.audioGeneration | case audioGeneration | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.audioTransformation | case audioTransformation | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.completion | case completion | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.dubbing | case dubbing | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.embedding | case embedding | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.image | case image | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.language | case language | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.reranking | case reranking | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.speech | case speech | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.transcription | case transcription | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ModelCapability.video | case video | Sources/SwiftAISDK/CoreMessages.swift |
| Case | ObjectStreamPart.finish(reason:usage:) | case finish(reason: String?, usage: TokenUsage?) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.metadata(_:) | case metadata([String : JSONValue]) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.object(_:) | case object(ObjectGenerationResult<Object>) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.partial(_:) | case partial(Object) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.partialObject(_:) | case partialObject(JSONValue) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.raw(_:) | case raw(LanguageStreamPart) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.source(_:) | case source(AISource) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.textDelta(_:) | case textDelta(String) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | ObjectStreamPart.warning(_:) | case warning(AIWarning) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Case | StreamingTranscriptionPart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.finish(_:) | case finish(StreamingTranscriptionFinish) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.raw(_:) | case raw(JSONValue) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.streamStart(warnings:) | case streamStart(warnings: [AIWarning]) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.transcriptDelta(id:delta:providerMetadata:) | case transcriptDelta(id: String?, delta: String, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.transcriptFinal(id:text:startSecond:endSecond:channelIndex:providerMetadata:) | case transcriptFinal(id: String?, text: String, startSecond: Double? = nil, endSecond: Double? = nil, channelIndex: Int? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | StreamingTranscriptionPart.transcriptPartial(id:text:startSecond:durationInSeconds:channelIndex:providerMetadata:) | case transcriptPartial(id: String?, text: String, startSecond: Double? = nil, durationInSeconds: Double? = nil, channelIndex: Int? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Case | Telemetry.Event.Kind.abort | case abort | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.end | case end | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.error | case error | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.retry | case retry | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.start | case start | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.stepEnd | case stepEnd | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.stepStart | case stepStart | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.toolEnd | case toolEnd | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.toolError | case toolError | Sources/SwiftAISDK/Telemetry.swift |
| Case | Telemetry.Event.Kind.toolStart | case toolStart | Sources/SwiftAISDK/Telemetry.swift |
| Case | TextBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | TextBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | TextBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | TextBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: TextBatchGenerationResult) | Sources/SwiftAISDK/CoreBatch.swift |
| Case | VideoFrameType.firstFrame | case firstFrame | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Case | VideoFrameType.lastFrame | case lastFrame | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Case | VideoGenerationOperationError.incompleteAfterWebhook | case incompleteAfterWebhook | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Case | VideoGenerationOperationError.providerFailed(_:) | case providerFailed(String) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Case | VideoGenerationOperationError.timedOut(milliseconds:) | case timedOut(milliseconds: Int) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Case | VideoGenerationOperationStatusResult.completed(_:) | case completed(VideoGenerationResult) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Case | VideoGenerationOperationStatusResult.failed(message:providerMetadata:responseMetadata:) | case failed(message: String, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Case | VideoGenerationOperationStatusResult.pending(warnings:providerMetadata:responseMetadata:) | case pending(warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Class | AIAbortController | final class AIAbortController | Sources/SwiftAISDK/CoreAbort.swift |
| Class | AIAbortHandlerRegistration | final class AIAbortHandlerRegistration | Sources/SwiftAISDK/CoreAbort.swift |
| Class | AIAbortSignal | final class AIAbortSignal | Sources/SwiftAISDK/CoreAbort.swift |
| Class | AIChatSession | @MainActor final class AIChatSession | Sources/SwiftAISDK/AIChatSession.swift |
| Class | AICustomProvider | final class AICustomProvider | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Class | AIDelayedPromise | final class AIDelayedPromise<Value> where Value : Sendable | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Class | AIObjectGenerationSession | @MainActor final class AIObjectGenerationSession<Output, Partial> where Output : Sendable, Partial : Sendable | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Class | AIProviderRegistry | final class AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Class | AIRealtimeSession | final class AIRealtimeSession | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Class | AISerialJobExecutor | final class AISerialJobExecutor | Sources/SwiftAISDK/CoreSerialJobExecutor.swift |
| Class | AIStreamingAudioWriter | final class AIStreamingAudioWriter | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Class | AlibabaEmbeddingModel | final class AlibabaEmbeddingModel | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Class | AlibabaLanguageModel | final class AlibabaLanguageModel | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Class | AlibabaVideoModel | final class AlibabaVideoModel | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Class | AmazonBedrockAnthropicLanguageModel | final class AmazonBedrockAnthropicLanguageModel | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Class | AmazonBedrockAnthropicProvider | final class AmazonBedrockAnthropicProvider | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Class | AmazonBedrockEmbeddingModel | final class AmazonBedrockEmbeddingModel | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Class | AmazonBedrockImageModel | final class AmazonBedrockImageModel | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Class | AmazonBedrockLanguageModel | final class AmazonBedrockLanguageModel | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Class | AmazonBedrockProvider | final class AmazonBedrockProvider | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Class | AmazonBedrockRerankingModel | final class AmazonBedrockRerankingModel | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Class | AnthropicAWSProvider | final class AnthropicAWSProvider | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Class | AnthropicBatchLanguageModel | final class AnthropicBatchLanguageModel | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Class | AnthropicLanguageModel | final class AnthropicLanguageModel | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Class | AnthropicProvider | final class AnthropicProvider | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Class | AnthropicSkillsClient | final class AnthropicSkillsClient | Sources/SwiftAISDK/Models/OpenAISkills.swift |
| Class | AssemblyAITranscriptionModel | final class AssemblyAITranscriptionModel | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Class | AzureOpenAIProvider | final class AzureOpenAIProvider | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Class | BasetenEmbeddingModel | final class BasetenEmbeddingModel | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Class | BedrockMantleProvider | final class BedrockMantleProvider | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Class | BlackForestLabsImageModel | final class BlackForestLabsImageModel | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Class | BlackForestLabsVideoModel | final class BlackForestLabsVideoModel | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Class | ByteDanceVideoModel | final class ByteDanceVideoModel | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Class | CartesiaProvider | final class CartesiaProvider | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Class | CartesiaSpeechModel | final class CartesiaSpeechModel | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Class | CartesiaStreamingTranscriptionModel | final class CartesiaStreamingTranscriptionModel | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Class | CartesiaTranscriptionModel | final class CartesiaTranscriptionModel | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Class | CerebrasLanguageModel | final class CerebrasLanguageModel | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Class | CohereEmbeddingModel | final class CohereEmbeddingModel | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Class | CohereLanguageModel | final class CohereLanguageModel | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Class | CohereRerankingModel | final class CohereRerankingModel | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Class | DeepgramSpeechModel | final class DeepgramSpeechModel | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Class | DeepgramTranscriptionModel | final class DeepgramTranscriptionModel | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Class | DeepInfraImageModel | final class DeepInfraImageModel | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Class | DeepSeekFileClient | final class DeepSeekFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | DeepSeekLanguageModel | final class DeepSeekLanguageModel | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Class | ElevenLabsDubbingClient | final class ElevenLabsDubbingClient | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | ElevenLabsMusicModel | final class ElevenLabsMusicModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | ElevenLabsSoundEffectsModel | final class ElevenLabsSoundEffectsModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | ElevenLabsSpeechModel | final class ElevenLabsSpeechModel | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Class | ElevenLabsTranscriptionModel | final class ElevenLabsTranscriptionModel | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Class | ElevenLabsVoiceChangerModel | final class ElevenLabsVoiceChangerModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | ElevenLabsVoiceIsolatorModel | final class ElevenLabsVoiceIsolatorModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | FalImageModel | final class FalImageModel | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Class | FalSpeechModel | final class FalSpeechModel | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Class | FalTranscriptionModel | final class FalTranscriptionModel | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Class | FalVideoModel | final class FalVideoModel | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Class | FireworksImageModel | final class FireworksImageModel | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Class | FishAudioProvider | final class FishAudioProvider | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Class | FishAudioSpeechModel | final class FishAudioSpeechModel | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Class | FishAudioTranscriptionModel | final class FishAudioTranscriptionModel | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Class | GatewayEmbeddingModel | final class GatewayEmbeddingModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | GatewayImageModel | final class GatewayImageModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | GatewayLanguageModel | final class GatewayLanguageModel | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Class | GatewayProvider | final class GatewayProvider | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Class | GatewayRerankingModel | final class GatewayRerankingModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | GatewaySpeechModel | final class GatewaySpeechModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | GatewayTranscriptionModel | final class GatewayTranscriptionModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | GatewayVideoModel | final class GatewayVideoModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | GladiaTranscriptionModel | final class GladiaTranscriptionModel | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Class | GMICloudProvider | final class GMICloudProvider | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Class | GoogleBatchLanguageModel | final class GoogleBatchLanguageModel | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Class | GoogleEmbeddingModel | final class GoogleEmbeddingModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | GoogleFileClient | final class GoogleFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | GoogleGenerativeAIProvider | final class GoogleGenerativeAIProvider | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Class | GoogleGenerativeLanguageModel | final class GoogleGenerativeLanguageModel | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Class | GoogleImageGenerationModel | final class GoogleImageGenerationModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | GoogleInteractionsLanguageModel | final class GoogleInteractionsLanguageModel | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Class | GoogleSpeechModel | final class GoogleSpeechModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | GoogleVertexEmbeddingModel | final class GoogleVertexEmbeddingModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVertexImageModel | final class GoogleVertexImageModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVertexInteractionsLanguageModel | final class GoogleVertexInteractionsLanguageModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVertexLanguageModel | final class GoogleVertexLanguageModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVertexProvider | final class GoogleVertexProvider | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Class | GoogleVertexSpeechModel | final class GoogleVertexSpeechModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVertexTranscriptionModel | final class GoogleVertexTranscriptionModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVertexVideoModel | final class GoogleVertexVideoModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | GoogleVideoGenerationModel | final class GoogleVideoGenerationModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | GroqLanguageModel | final class GroqLanguageModel | Sources/SwiftAISDK/Models/GroqModels.swift |
| Class | GroqTranscriptionModel | final class GroqTranscriptionModel | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Class | HuggingFaceProvider | final class HuggingFaceProvider | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Class | HuggingFaceResponsesLanguageModel | final class HuggingFaceResponsesLanguageModel | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Class | HumeSpeechModel | final class HumeSpeechModel | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Class | JSONImageModel | final class JSONImageModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | JSONRerankingModel | final class JSONRerankingModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | JSONSpeechModel | final class JSONSpeechModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | JSONTranscriptionModel | final class JSONTranscriptionModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | JSONVideoModel | final class JSONVideoModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | KlingAIVideoModel | final class KlingAIVideoModel | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Class | LMNTSpeechModel | final class LMNTSpeechModel | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Class | LumaImageModel | final class LumaImageModel | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Class | MCPClient | actor MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Class | MCPHTTPTransport | final class MCPHTTPTransport | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Class | MCPStdioTransport | final class MCPStdioTransport | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Class | MiniMaxProvider | final class MiniMaxProvider | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Class | MiniMaxVideoModel | final class MiniMaxVideoModel | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Class | MistralEmbeddingModel | final class MistralEmbeddingModel | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Class | MistralLanguageModel | final class MistralLanguageModel | Sources/SwiftAISDK/Models/MistralModels.swift |
| Class | MistralSpeechModel | final class MistralSpeechModel | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Class | MistralTranscriptionModel | final class MistralTranscriptionModel | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Class | MultipartFileClient | final class MultipartFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | OpenAICompatibleChatModel | final class OpenAICompatibleChatModel | Sources/SwiftAISDK/Models/OpenAICompatibleChatModel.swift |
| Class | OpenAICompatibleCompletionModel | final class OpenAICompatibleCompletionModel | Sources/SwiftAISDK/Models/OpenAICompatibleCompletionModel.swift |
| Class | OpenAICompatibleEmbeddingModel | final class OpenAICompatibleEmbeddingModel | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Class | OpenAICompatibleImageModel | final class OpenAICompatibleImageModel | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Class | OpenAICompatibleProvider | final class OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Class | OpenAICompatibleResponsesModel | final class OpenAICompatibleResponsesModel | Sources/SwiftAISDK/Models/OpenAIResponsesModel.swift |
| Class | OpenAICompatibleSpeechModel | final class OpenAICompatibleSpeechModel | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Class | OpenAICompatibleTranscriptionModel | final class OpenAICompatibleTranscriptionModel | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Class | OpenAIResponsesBatchLanguageModel | final class OpenAIResponsesBatchLanguageModel | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Class | OpenAISkillsClient | final class OpenAISkillsClient | Sources/SwiftAISDK/Models/OpenAISkills.swift |
| Class | PerplexityEmbeddingModel | final class PerplexityEmbeddingModel | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Class | PerplexityLanguageModel | final class PerplexityLanguageModel | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Class | ProdiaImageModel | final class ProdiaImageModel | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Class | ProdiaLanguageModel | final class ProdiaLanguageModel | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Class | ProdiaVideoModel | final class ProdiaVideoModel | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Class | QuiverAIImageModel | final class QuiverAIImageModel | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Class | ReplicateImageModel | final class ReplicateImageModel | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Class | ReplicateVideoModel | final class ReplicateVideoModel | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Class | RevAITranscriptionModel | final class RevAITranscriptionModel | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Class | TogetherAIImageModel | final class TogetherAIImageModel | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Class | TogetherAIRerankingModel | final class TogetherAIRerankingModel | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Class | URLSessionDuplexWebSocketTransport | final class URLSessionDuplexWebSocketTransport | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Class | URLSessionTransport | final class URLSessionTransport | Sources/SwiftAISDK/HTTP.swift |
| Class | VercelProvider | final class VercelProvider | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Class | VoyageEmbeddingModel | final class VoyageEmbeddingModel | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Class | VoyageRerankingModel | final class VoyageRerankingModel | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Class | XAIFileClient | final class XAIFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | XAIImageModel | final class XAIImageModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | XAIRealtimeModel | final class XAIRealtimeModel | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Class | XAIResponsesBatchLanguageModel | final class XAIResponsesBatchLanguageModel | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Class | XAISpeechModel | final class XAISpeechModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | XAITranscriptionModel | final class XAITranscriptionModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | XAIVideoModel | final class XAIVideoModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Enumeration | AI | enum AI | Sources/SwiftAISDK/AI.swift |
| Enumeration | AIAbortSource | enum AIAbortSource | Sources/SwiftAISDK/CoreAbort.swift |
| Enumeration | AIBatchItemResult | enum AIBatchItemResult<Result> where Result : Sendable | Sources/SwiftAISDK/CoreBatch.swift |
| Enumeration | AIBatchLifecycleStatus | enum AIBatchLifecycleStatus | Sources/SwiftAISDK/CoreBatch.swift |
| Enumeration | AIBatchReferenceType | enum AIBatchReferenceType | Sources/SwiftAISDK/CoreBatch.swift |
| Enumeration | AIChatSessionStatus | enum AIChatSessionStatus | Sources/SwiftAISDK/AIChatSession.swift |
| Enumeration | AIChatTransportTrigger | enum AIChatTransportTrigger | Sources/SwiftAISDK/AIChatTransport.swift |
| Enumeration | AIContentPart | enum AIContentPart | Sources/SwiftAISDK/CoreMessages.swift |
| Enumeration | AIDefaultProvider | enum AIDefaultProvider | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Enumeration | AIDuplexWebSocketEvent | enum AIDuplexWebSocketEvent | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Enumeration | AIDuplexWebSocketMessage | enum AIDuplexWebSocketMessage | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Enumeration | AIError | enum AIError | Sources/SwiftAISDK/Core.swift |
| Enumeration | AIFileOperation | enum AIFileOperation | Sources/SwiftAISDK/CoreProtocols.swift |
| Enumeration | AILanguageModelCallType | enum AILanguageModelCallType | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Enumeration | AINoOutputKind | enum AINoOutputKind | Sources/SwiftAISDK/Errors.swift |
| Enumeration | AIObjectGenerationFailureKind | enum AIObjectGenerationFailureKind | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Enumeration | AIObjectGenerationSessionStatus | enum AIObjectGenerationSessionStatus | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Enumeration | AIObjectOutputStrategy | enum AIObjectOutputStrategy | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Enumeration | AIOutputKind | enum AIOutputKind | Sources/SwiftAISDK/Output.swift |
| Enumeration | AIOutputStreamPart | enum AIOutputStreamPart<Output, Partial> where Output : Sendable, Partial : Sendable | Sources/SwiftAISDK/Output.swift |
| Enumeration | AIParsePartialJSONState | enum AIParsePartialJSONState | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Enumeration | AIProviderCapabilities | enum AIProviderCapabilities | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Enumeration | AIProviderRegistryError | enum AIProviderRegistryError | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Enumeration | AIProviders | enum AIProviders | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Enumeration | AIPruneEmptyMessages | enum AIPruneEmptyMessages | Sources/SwiftAISDK/PruneMessages.swift |
| Enumeration | AIPruneReasoning | enum AIPruneReasoning | Sources/SwiftAISDK/PruneMessages.swift |
| Enumeration | AIPruneToolCalls.Scope | enum Scope | Sources/SwiftAISDK/PruneMessages.swift |
| Enumeration | AIRealtimeClientEvent | enum AIRealtimeClientEvent | Sources/SwiftAISDK/CoreRealtime.swift |
| Enumeration | AIRealtimeConversationItem | enum AIRealtimeConversationItem | Sources/SwiftAISDK/CoreRealtime.swift |
| Enumeration | AIRealtimeOutputModality | enum AIRealtimeOutputModality | Sources/SwiftAISDK/CoreRealtime.swift |
| Enumeration | AIRealtimeServerEvent | enum AIRealtimeServerEvent | Sources/SwiftAISDK/CoreRealtime.swift |
| Enumeration | AIRealtimeSessionError | enum AIRealtimeSessionError | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Enumeration | AIRealtimeSessionEvent | enum AIRealtimeSessionEvent | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Enumeration | AIRealtimeTurnDetectionType | enum AIRealtimeTurnDetectionType | Sources/SwiftAISDK/CoreRealtime.swift |
| Enumeration | AIRealtimeWireMessage | enum AIRealtimeWireMessage | Sources/SwiftAISDK/CoreRealtime.swift |
| Enumeration | AIResponseFormat | enum AIResponseFormat | Sources/SwiftAISDK/CoreAbort.swift |
| Enumeration | AIResultContentPart | enum AIResultContentPart | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Enumeration | AIRetryErrorReason | enum AIRetryErrorReason | Sources/SwiftAISDK/Core.swift |
| Enumeration | AISmoothStreamChunking | enum AISmoothStreamChunking | Sources/SwiftAISDK/CoreUtilities.swift |
| Enumeration | AIStreamingAudioSendResult | enum AIStreamingAudioSendResult | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Enumeration | AIStreamingToolCallTypeValidation | enum AIStreamingToolCallTypeValidation | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Enumeration | AIStreamTimeoutPhase | enum AIStreamTimeoutPhase | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Enumeration | AIToolApprovalStatus | enum AIToolApprovalStatus | Sources/SwiftAISDK/CoreTools.swift |
| Enumeration | AIUIMessagePart | enum AIUIMessagePart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Enumeration | AIUIStreamingPartState | enum AIUIStreamingPartState | Sources/SwiftAISDK/CoreUIMessages.swift |
| Enumeration | AIWarningLogging | enum AIWarningLogging | Sources/SwiftAISDK/WarningLogging.swift |
| Enumeration | AmazonBedrockEmbeddingModelFamily | enum AmazonBedrockEmbeddingModelFamily | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Enumeration | AnthropicTools | enum AnthropicTools | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Enumeration | AuthorizationStyle | enum AuthorizationStyle | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Enumeration | AzureOpenAITools | enum AzureOpenAITools | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Enumeration | FileUploadData | enum FileUploadData | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Enumeration | GatewayErrorType | enum GatewayErrorType | Sources/SwiftAISDK/GatewayErrors.swift |
| Enumeration | GatewayTools | enum GatewayTools | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Enumeration | GoogleTools | enum GoogleTools | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Enumeration | GoogleVertexAnthropicTools | enum GoogleVertexAnthropicTools | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Enumeration | GoogleVertexTools | enum GoogleVertexTools | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Enumeration | GroqTools | enum GroqTools | Sources/SwiftAISDK/Models/GroqModels.swift |
| Enumeration | JSONValue | enum JSONValue | Sources/SwiftAISDK/JSONValue.swift |
| Enumeration | LanguageStreamPart | enum LanguageStreamPart | Sources/SwiftAISDK/CoreTools.swift |
| Enumeration | MCPApps | enum MCPApps | Sources/SwiftAISDK/MCPApps.swift |
| Enumeration | MCPAppToolMeta.Visibility | enum Visibility | Sources/SwiftAISDK/MCPApps.swift |
| Enumeration | MCPElicitAction | enum MCPElicitAction | Sources/SwiftAISDK/MCPTypes.swift |
| Enumeration | MCPOAuth | enum MCPOAuth | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Enumeration | MCPOAuthApplicationType | enum MCPOAuthApplicationType | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | MCPOAuthAuthResult | enum MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | MCPOAuthClientAuthMethod | enum MCPOAuthClientAuthMethod | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | MCPOAuthCredentialScope | enum MCPOAuthCredentialScope | Sources/SwiftAISDK/MCPTypes.swift |
| Enumeration | MessageRole | enum MessageRole | Sources/SwiftAISDK/CoreMessages.swift |
| Enumeration | ModelCapability | enum ModelCapability | Sources/SwiftAISDK/CoreMessages.swift |
| Enumeration | ObjectStreamPart | enum ObjectStreamPart<Object> where Object : Sendable | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Enumeration | OpenAITools | enum OpenAITools | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Enumeration | Output | enum Output | Sources/SwiftAISDK/Output.swift |
| Enumeration | StreamingTranscriptionPart | enum StreamingTranscriptionPart | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Enumeration | Telemetry | enum Telemetry | Sources/SwiftAISDK/Telemetry.swift |
| Enumeration | Telemetry.Event.Kind | enum Kind | Sources/SwiftAISDK/Telemetry.swift |
| Enumeration | TextBatchItemResult | enum TextBatchItemResult | Sources/SwiftAISDK/CoreBatch.swift |
| Enumeration | VideoFrameType | enum VideoFrameType | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Enumeration | VideoGenerationOperationError | enum VideoGenerationOperationError | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Enumeration | VideoGenerationOperationStatusResult | enum VideoGenerationOperationStatusResult | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Enumeration | XAITools | enum XAITools | Sources/SwiftAISDK/Models/XAIModels.swift |
| Function | addAdditionalPropertiesToJSONSchema(_:) | func addAdditionalPropertiesToJSONSchema(_ schema: JSONValue) -> JSONValue | Sources/SwiftAISDK/JSONSchemaValidator.swift |
| Function | addToolInputExamplesMiddleware(prefix:remove:format:) | func addToolInputExamplesMiddleware(prefix: String = "Input Examples:", remove: Bool = true, format: (@Sendable (AIToolInputExampleFormatContext) -> String)? = nil) -> AILanguageModelMiddleware | Sources/SwiftAISDK/ToolInputExamplesMiddleware.swift |
| Function | asArray(_:) | func asArray<Value>(_ value: Value?) -> [Value] | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | asArray(_:) | func asArray<Value>(_ value: [Value]?) -> [Value] | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | calculateTokensPerSecond(tokens:durationMilliseconds:) | func calculateTokensPerSecond(tokens: Double?, durationMilliseconds: Double?) -> Double | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | combineHeaders(_:) | func combineHeaders(_ headers: [String : String]...) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | convertImageModelFileToDataURI(_:) | func convertImageModelFileToDataURI(_ file: ImageInputFile) throws -> String | Sources/SwiftAISDK/CoreMediaResults.swift |
| Function | convertToModelMessage(_:) | func convertToModelMessage(_ message: AIUIMessage) throws -> AIMessage | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | convertToModelMessages(_:) | func convertToModelMessages(_ messages: [AIUIMessage]) throws -> [AIMessage] | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | convertToModelMessages(_:ignoreIncompleteToolCalls:) | func convertToModelMessages(_ messages: [AIUIMessage], ignoreIncompleteToolCalls: Bool) throws -> [AIMessage] | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | cosineSimilarity(_:_:) | func cosineSimilarity(_ vector1: [Double], _ vector2: [Double]) throws -> Double | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | cosineSimilarity(_:_:) | func cosineSimilarity(_ vector1: [Float], _ vector2: [Float]) throws -> Double | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | 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 | createAsyncIterableStream(_:) | func createAsyncIterableStream<Element>(_ source: AsyncThrowingStream<Element, any Error>) -> AsyncThrowingStream<Element, any Error> where Element : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | createFishAudio(settings:) | func createFishAudio(settings: ProviderSettings = ProviderSettings()) throws -> FishAudioProvider | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Function | createGMICloud(settings:) | func createGMICloud(settings: ProviderSettings = ProviderSettings()) throws -> GMICloudProvider | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Function | createIdGenerator(prefix:separator:size:alphabet:) | func createIdGenerator(prefix: String? = nil, separator: String = "-", size: Int = 16, alphabet: String = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") -> AIIdGenerator | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | createProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func createProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Function | createProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func createProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Function | createProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func createProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Function | createStitchableStream() | func createStitchableStream<Element>() -> AIStitchableStream<Element> where Element : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | createToolNameMapping(tools:providerToolNames:) | func createToolNameMapping(tools: [String : JSONValue]? = nil, providerToolNames: [String : String]) -> AIToolNameMapping | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | 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/Providers/CustomProvider.swift |
| Function | defaultEmbeddingSettingsMiddleware(settings:) | func defaultEmbeddingSettingsMiddleware(settings: AIDefaultEmbeddingModelSettings) -> AIEmbeddingModelMiddleware | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Function | defaultInstructionsMiddleware(instructions:) | func defaultInstructionsMiddleware(instructions: String) -> AILanguageModelMiddleware | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Function | defaultInstructionsMiddleware(instructions:) | func defaultInstructionsMiddleware(instructions: [AIMessage]) -> AILanguageModelMiddleware | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Function | defaultSettingsMiddleware(settings:) | func defaultSettingsMiddleware(settings: AIDefaultLanguageModelSettings) -> AILanguageModelMiddleware | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Function | delay(_:abortSignal:) | func delay(_ delayInMilliseconds: Int? = nil, abortSignal: AIAbortSignal? = nil) async throws | Sources/SwiftAISDK/CoreAbort.swift |
| Function | detectMediaType(base64:topLevelType:) | func detectMediaType(base64: String, topLevelType: String? = nil) -> String? | Sources/SwiftAISDK/MediaType.swift |
| Function | detectMediaType(data:topLevelType:) | func detectMediaType(data: Data, topLevelType: String? = nil) -> String? | Sources/SwiftAISDK/MediaType.swift |
| Function | experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Function | experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Function | experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Function | extractJsonMiddleware(transform:) | func extractJsonMiddleware(transform: (@Sendable (String) -> String)? = nil) -> AILanguageModelMiddleware | Sources/SwiftAISDK/ExtractionMiddleware.swift |
| Function | extractJSONMiddleware(transform:) | func extractJSONMiddleware(transform: (@Sendable (String) -> String)? = nil) -> AILanguageModelMiddleware | Sources/SwiftAISDK/ExtractionMiddleware.swift |
| Function | extractLines(text:startLine:endLine:) | func extractLines(text: String, startLine: Int? = nil, endLine: Int? = nil) -> String | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | extractReasoningMiddleware(tagName:separator:startWithReasoning:) | func extractReasoningMiddleware(tagName: String, separator: String = "\n", startWithReasoning: Bool = false) -> AILanguageModelMiddleware | Sources/SwiftAISDK/ExtractionMiddleware.swift |
| Function | filterNullable(_:) | func filterNullable<Value>(_ values: Value?...) -> [Value] | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | fixJson(_:) | func fixJson(_ input: String) -> String | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Function | generateId() | func generateId() -> String | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | getErrorMessage(_:) | func getErrorMessage(_ value: Any?) -> String | Sources/SwiftAISDK/Errors.swift |
| Function | getPotentialStartIndex(_:_:) | func getPotentialStartIndex(_ text: String, _ searchedText: String) -> Int? | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | isCustomReasoning(_:) | func isCustomReasoning(_ reasoning: String?) -> Bool | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | isDeepEqualData(_:_:) | func isDeepEqualData(_ lhs: JSONValue, _ rhs: JSONValue) -> Bool | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | isFullMediaType(_:) | func isFullMediaType(_ mediaType: String) -> Bool | Sources/SwiftAISDK/MediaType.swift |
| Function | isJSONSerializable(_:) | func isJSONSerializable(_ value: Any?) -> Bool | Sources/SwiftAISDK/JSONParsing.swift |
| Function | isParsableJSON(_:) | func isParsableJSON(_ input: String) -> Bool | Sources/SwiftAISDK/JSONParsing.swift |
| Function | isProviderReference(_:) | func isProviderReference(_ reference: AIProviderReference) -> Bool | Sources/SwiftAISDK/ProviderReference.swift |
| Function | isProviderReference(_:) | func isProviderReference(_ value: JSONValue) -> Bool | Sources/SwiftAISDK/ProviderReference.swift |
| Function | isURLSupported(mediaType:url:supportedURLs:) | func isURLSupported(mediaType: String, url: String, supportedURLs: [String : [AISupportedURLPattern]]) -> Bool | Sources/SwiftAISDK/CoreProtocols.swift |
| Function | 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 ], warnings: inout [AIWarning]) -> Int? | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | mapReasoningToProviderEffort(reasoning:effortMap:warnings:) | func mapReasoningToProviderEffort(reasoning: String, effortMap: [String : String], warnings: inout [AIWarning]) -> String? | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | mediaTypeToExtension(_:) | func mediaTypeToExtension(_ mediaType: String) -> String | Sources/SwiftAISDK/MediaType.swift |
| Function | mergeAbortSignals(_:) | @discardableResult func mergeAbortSignals(_ signals: AIAbortSignal?...) -> AIAbortSignal? | Sources/SwiftAISDK/CoreAbort.swift |
| Function | mergeAbortSignals(_:) | @discardableResult func mergeAbortSignals(_ signals: [AIAbortSignal?]) -> AIAbortSignal? | Sources/SwiftAISDK/CoreAbort.swift |
| Function | mergeAbortSignals(sources:) | @discardableResult func mergeAbortSignals(sources: AIAbortSource?...) -> AIAbortSignal? | Sources/SwiftAISDK/CoreAbort.swift |
| Function | mergeAbortSignals(sources:) | @discardableResult func mergeAbortSignals(sources: [AIAbortSource?]) -> AIAbortSignal? | Sources/SwiftAISDK/CoreAbort.swift |
| Function | mergeCallbacks(_:) | func mergeCallbacks<Event>(_ callbacks: [AICallback<Event>?]) -> AICallback<Event> where Event : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | mergeCallbacks(_:) | func mergeCallbacks<Event>(_ callbacks: AICallback<Event>?...) -> AICallback<Event> where Event : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | mergeObjects(_:_:) | func mergeObjects(_ target: [String : JSONValue]?, _ source: [String : JSONValue]?) -> [String : JSONValue]? | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | normalizeHeaderEntries(_:) | func normalizeHeaderEntries(_ entries: [(String, String?)]) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | normalizeHeaders(_:) | func normalizeHeaders(_ headers: [String : String?]?) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | normalizeHeaders(_:) | func normalizeHeaders(_ headers: [String : String]) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | notify(event:) | func notify<Event>(event: Event) async where Event : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | notify(event:callback:) | func notify<Event>(event: Event, callback: AICallback<Event>?) async where Event : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | notify(event:callbacks:) | func notify<Event>(event: Event, callbacks: [AICallback<Event>?]) async where Event : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | parseJSON(_:schema:) | func parseJSON(_ text: String, schema: JSONValue? = nil) throws -> JSONValue | Sources/SwiftAISDK/JSONParsing.swift |
| Function | parsePartialJSON(_:) | func parsePartialJSON(_ jsonText: String?) -> AIParsePartialJSONResult | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Function | prepareHeaders(_:defaultHeaders:) | func prepareHeaders(_ headers: [String : String?]?, defaultHeaders: [String : String]) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | prepareHeaders(_:defaultHeaders:) | func prepareHeaders(_ headers: [String : String], defaultHeaders: [String : String]) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | prepareRetries(maxRetries:) | func prepareRetries(maxRetries: Int? = nil) throws -> AIRetryPolicy | Sources/SwiftAISDK/Core.swift |
| Function | pruneMessages(_:reasoning:toolCalls:emptyMessages:) | func pruneMessages(_ messages: [AIMessage], reasoning: AIPruneReasoning = .none, toolCalls: [AIPruneToolCalls] = [], emptyMessages: AIPruneEmptyMessages = .remove) -> [AIMessage] | Sources/SwiftAISDK/PruneMessages.swift |
| Function | readResponseWithSizeLimit(response:url:maxBytes:) | func readResponseWithSizeLimit(response: AIHTTPStreamResponse, url: String, maxBytes: Int = AIDefaultMaxDownloadSize) async throws -> Data | Sources/SwiftAISDK/HTTP.swift |
| Function | removeNilEntries(_:) | func removeNilEntries<Value>(_ input: [String : Value?]) -> [String : Value] | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | resolveFullMediaType(mediaType:data:) | func resolveFullMediaType(mediaType: String, data: Data) throws -> String | Sources/SwiftAISDK/MediaType.swift |
| Function | resolveProviderReference(_:provider:) | func resolveProviderReference(_ reference: AIProviderReference, provider: String) throws -> String | Sources/SwiftAISDK/ProviderReference.swift |
| Function | resolveProviderReference(reference:provider:) | func resolveProviderReference(reference: AIProviderReference, provider: String) throws -> String | Sources/SwiftAISDK/ProviderReference.swift |
| Function | safeParseJSON(_:schema:) | func safeParseJSON(_ text: String, schema: JSONValue? = nil) -> AIJSONParseResult | Sources/SwiftAISDK/JSONParsing.swift |
| Function | safeValidateUIMessages(_:) | func safeValidateUIMessages(_ messages: [AIUIMessage]) -> AIUIMessageValidationResult | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | secureJSONParse(_:) | func secureJSONParse(_ text: String) throws -> JSONValue | Sources/SwiftAISDK/JSONParsing.swift |
| Function | setAbortTimeout(abortController:label:timeoutMilliseconds:) | @discardableResult func setAbortTimeout(abortController: AIAbortController?, label: String, timeoutMilliseconds: Int?) -> Task<Void, Never>? | Sources/SwiftAISDK/CoreAbort.swift |
| Function | 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 | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | simulateStreamingMiddleware() | func simulateStreamingMiddleware() -> AILanguageModelMiddleware | Sources/SwiftAISDK/ExtractionMiddleware.swift |
| Function | smoothStream(_:delayNanoseconds:chunking:) | func smoothStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>, delayNanoseconds: UInt64? = 10_000_000, chunking: AISmoothStreamChunking = .word) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | smoothStream(_:delayNanoseconds:detectChunk:) | func smoothStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>, delayNanoseconds: UInt64? = 10_000_000, detectChunk: @escaping AISmoothStreamChunkDetector) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | splitArray(_:chunkSize:) | func splitArray<Element>(_ array: [Element], chunkSize: Int) throws -> [[Element]] | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | stripFileExtension(_:) | func stripFileExtension(_ filename: String) -> String | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | sumTokenCounts(_:_:) | func sumTokenCounts(_ lhs: Int?, _ rhs: Int?) -> Int? | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | topLevelMediaType(_:) | func topLevelMediaType(_ mediaType: String) -> String | Sources/SwiftAISDK/MediaType.swift |
| Function | toResponseMessages(content:toolsByName:) | func toResponseMessages(content: [AIContentPart], toolsByName: [String : AITool] = [:]) async throws -> [AIMessage] | Sources/SwiftAISDK/ResponseMessages.swift |
| Function | toTextStream(_:) | func toTextStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>) -> AsyncThrowingStream<String, any Error> | Sources/SwiftAISDK/CoreUtilities.swift |
| Function | validateDownloadURL(_:) | func validateDownloadURL(_ string: String) throws -> URL | Sources/SwiftAISDK/HTTP.swift |
| Function | validateUIMessages(_:) | @discardableResult func validateUIMessages(_ messages: [AIUIMessage]) throws -> [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | withUserAgentSuffix(_:_:) | func withUserAgentSuffix(_ headers: [String : String?]? = nil, _ userAgentSuffixParts: String...) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | withUserAgentSuffix(_:_:) | func withUserAgentSuffix(_ headers: [String : String], _ userAgentSuffixParts: String...) -> [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Function | wrapEmbeddingModel(_:middleware:modelID:providerID:) | func wrapEmbeddingModel(_ model: any EmbeddingModel, middleware: AIEmbeddingModelMiddleware, modelID: String? = nil, providerID: String? = nil) -> any EmbeddingModel | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapEmbeddingModel(_:middleware:modelID:providerID:) | func wrapEmbeddingModel(_ model: any EmbeddingModel, middleware: [AIEmbeddingModelMiddleware], modelID: String? = nil, providerID: String? = nil) -> any EmbeddingModel | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapImageModel(_:middleware:modelID:providerID:) | func wrapImageModel(_ model: any ImageModel, middleware: AIImageModelMiddleware, modelID: String? = nil, providerID: String? = nil) -> any ImageModel | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapImageModel(_:middleware:modelID:providerID:) | func wrapImageModel(_ model: any ImageModel, middleware: [AIImageModelMiddleware], modelID: String? = nil, providerID: String? = nil) -> any ImageModel | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapLanguageModel(_:middleware:modelID:providerID:) | func wrapLanguageModel(_ model: any LanguageModel, middleware: AILanguageModelMiddleware, modelID: String? = nil, providerID: String? = nil) -> any LanguageModel | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapLanguageModel(_:middleware:modelID:providerID:) | func wrapLanguageModel(_ model: any LanguageModel, middleware: [AILanguageModelMiddleware], modelID: String? = nil, providerID: String? = nil) -> any LanguageModel | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = [], embeddingModelMiddleware: [AIEmbeddingModelMiddleware] = []) -> any AIProvider | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: [AILanguageModelMiddleware], imageModelMiddleware: [AIImageModelMiddleware] = [], embeddingModelMiddleware: [AIEmbeddingModelMiddleware] = []) -> any AIProvider | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware, embeddingModelMiddleware: [AIEmbeddingModelMiddleware] = []) -> any AIProvider | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Function | wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = [], embeddingModelMiddleware: AIEmbeddingModelMiddleware) -> any AIProvider | Sources/SwiftAISDK/MiddlewareWrapping.swift |
| Global Variable | AIDefaultMaxDownloadSize | let AIDefaultMaxDownloadSize: Int | Sources/SwiftAISDK/HTTP.swift |
| Global Variable | fishAudioProviderVersion | let fishAudioProviderVersion: String | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Global Variable | gmiCloudProviderVersion | let gmiCloudProviderVersion: String | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Initializer | init(_:) | init(_ matcher: @escaping @Sendable (String) -> Bool) | Sources/SwiftAISDK/CoreProtocols.swift |
| Initializer | init(_:) | init(_ format: AIStreamingAudioFormat) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(_:) | init(_ evaluate: @escaping @Sendable (AIStopConditionContext) async throws -> Bool) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(_:) | init(_ rawValue: String) | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Initializer | init(_:name:description:as:) | init(_ jsonSchema: JSONValue, name: String? = nil, description: String? = nil, as type: Output.Type = Output.self) | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Initializer | init(_:onConsumerCancel:) | init(_ stream: AsyncThrowingStream<Data, any Error>, onConsumerCancel: @escaping @Sendable () -> Void = {}) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Initializer | 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) | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Initializer | init() | init() | Sources/SwiftAISDK/CoreAbort.swift |
| Initializer | init() | init() | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Initializer | init() | init() | Sources/SwiftAISDK/CoreSerialJobExecutor.swift |
| Initializer | init() | init() | Sources/SwiftAISDK/WarningLogging.swift |
| Initializer | init(abortSignal:timeoutMilliseconds:maxTotalTimeoutMilliseconds:) | init(abortSignal: AIAbortSignal? = nil, timeoutMilliseconds: Int? = nil, maxTotalTimeoutMilliseconds: Int? = nil) | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | init(accessKeyID:secretAccessKey:sessionToken:) | init(accessKeyID: String, secretAccessKey: String, sessionToken: String? = nil) | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | init(accessKeyID:secretAccessKey:sessionToken:) | init(accessKeyID: String, secretAccessKey: String, sessionToken: String? = nil) | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Initializer | init(accessToken:idToken:tokenType:expiresIn:scope:refreshToken:issuer:authorizationServerURL:tokenEndpoint:rawValue:) | init(accessToken: String, idToken: String? = nil, tokenType: String, expiresIn: Int? = nil, scope: String? = nil, refreshToken: String? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(action:content:metadata:resultType:rawValue:) | init(action: MCPElicitAction, content: [String : JSONValue]? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(apiKey:accessKey:secretKey:baseURL:headers:environment:transport:) | init(apiKey: String? = nil, accessKey: String? = nil, secretKey: String? = nil, baseURL: String? = nil, headers: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared) | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Initializer | init(apiKey:authToken:baseURL:modelURL:organization:project:headers:queryParams:environment:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:strictResponseInput:transformRequestBody:name:) | init(apiKey: String? = nil, authToken: String? = nil, baseURL: String? = nil, modelURL: 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, name: String? = nil) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Initializer | init(apiKey:authToken:baseURL:modelURL:organization:project:headers:queryParams:environment:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:transformRequestBody:name:) | init(apiKey: String? = nil, authToken: String? = nil, baseURL: String? = nil, modelURL: 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, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, name: String? = nil) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Initializer | init(apiKey:baseURL:videoBaseURL:headers:environment:transport:) | init(apiKey: String? = nil, baseURL: String? = nil, videoBaseURL: String? = nil, headers: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared) | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | init(apiKey:version:baseURL:headers:environment:transport:webSocketTransport:) | init(apiKey: String? = nil, version: String = CartesiaProvider.defaultAPIVersion, baseURL: String? = nil, headers: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared) | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Initializer | init(approvalID:) | init(approvalID: String) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(approvalID:toolCallID:reason:) | init(approvalID: String, toolCallID: String, reason: String) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(arrayLiteral:) | init(arrayLiteral elements: JSONValue...) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(audio:contentType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(audio: Data, contentType: String? = nil, rawValue: JSONValue = .null, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(audio:contentType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(audio: Data, contentType: String? = nil, rawValue: JSONValue = .null, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(audio:contentType:responseMetadata:) | init(audio: Data, contentType: String? = nil, responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(audio:contentType:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(audio: Data, contentType: String? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(audio:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:) | init(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) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(audio:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:) | init(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) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(audio:inputAudioFormat:providerOptions:headers:includeRawChunks:abortSignal:) | init(audio: AIStreamingAudioInput, inputAudioFormat: AIStreamingAudioFormat, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], includeRawChunks: Bool = false, abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Initializer | init(authorizationServerURL:tokenEndpoint:issuer:) | init(authorizationServerURL: URL, tokenEndpoint: URL, issuer: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(authorizationURL:codeVerifier:) | init(authorizationURL: URL, codeVerifier: String) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(balance:totalUsed:) | init(balance: String, totalUsed: String) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | init(batch:warnings:) | init(batch: TextBatch, warnings: [AIBatchWarning] = []) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(batch:warnings:providerMetadata:) | init(batch: TextBatch, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(batchID:providerOptions:abortSignal:headers:) | init(batchID: String, providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(batchID:status:warnings:) | init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = []) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(batchID:status:warnings:providerMetadata:) | init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(body:headers:) | init(body: JSONValue? = nil, headers: [String : String] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(booleanLiteral:) | init(booleanLiteral value: Bool) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(callID:object:text:rawObject:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(callID: String, object: Output, text: String, rawObject: JSONValue, reasoning: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(callID:operationID:providerID:modelID:execute:) | init(callID: String, operationID: String, providerID: String, modelID: String? = nil, execute: @escaping @Sendable () async throws -> Output) | Sources/SwiftAISDK/Telemetry.swift |
| Initializer | init(callID:operationID:providerID:modelID:outputKind:request:schema:schemaName:schemaDescription:maxRetries:) | init(callID: String, operationID: String, providerID: String, modelID: String?, outputKind: String, request: LanguageModelRequest, schema: JSONValue?, schemaName: String?, schemaDescription: String?, maxRetries: Int) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(callID:providerID:modelID:text:errorDescription:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(callID: String, providerID: String, modelID: String?, text: String, errorDescription: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(callID:stepNumber:providerID:modelID:request:) | init(callID: String, stepNumber: Int, providerID: String, modelID: String?, request: LanguageModelRequest) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(callID:stepNumber:providerID:modelID:text:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(callID: String, stepNumber: Int, providerID: String, modelID: String?, text: String, reasoning: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(callID:toolCallID:toolName:execute:) | init(callID: String, toolCallID: String, toolName: String, execute: @escaping @Sendable () async throws -> Output) | Sources/SwiftAISDK/Telemetry.swift |
| Initializer | init(chatID:abortSignal:headers:body:metadata:) | init(chatID: String, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], body: [String : JSONValue] = [:], metadata: JSONValue? = nil) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | init(chatID:transport:messages:generateMessageID:onError:onFinish:sendAutomaticallyWhen:) | @MainActor init(chatID: String = UUID().uuidString, transport: any AIChatTransport, messages: [AIUIMessage] = [], generateMessageID: @escaping @Sendable () -> String = { UUID().uuidString }, onError: (@MainActor @Sendable (any Error) -> Void)? = nil, onFinish: (@MainActor @Sendable (AIChatSessionFinishEvent) -> Void)? = nil, sendAutomaticallyWhen: (@MainActor @Sendable ([AIUIMessage]) -> Bool)? = nil) | Sources/SwiftAISDK/AIChatSession.swift |
| Initializer | init(chatID:trigger:messageID:responseMessageID:messages:abortSignal:headers:body:metadata:) | init(chatID: String, trigger: AIChatTransportTrigger = .submitMessage, messageID: String? = nil, responseMessageID: String? = nil, messages: [AIUIMessage], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], body: [String : JSONValue] = [:], metadata: JSONValue? = nil) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | init(clientEmail:privateKey:privateKeyID:) | init(clientEmail: String, privateKey: String, privateKeyID: String? = nil) | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | init(clientID:clientSecret:clientIDIssuedAt:clientSecretExpiresAt:issuer:authorizationServerURL:tokenEndpoint:rawValue:) | init(clientID: String, clientSecret: String? = nil, clientIDIssuedAt: Int? = nil, clientSecretExpiresAt: Int? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(clientInformation:clientMetadata:rawValue:) | init(clientInformation: MCPOAuthClientInformation, clientMetadata: MCPOAuthClientMetadata, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(code:reason:) | init(code: Int, reason: String? = nil) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Initializer | init(command:args:env:cwd:) | init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | init(command:args:env:cwd:) | convenience init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | init(config:) | init(config: MCPStdioConfig) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | init(configuration:) | init(configuration: URLSessionConfiguration = .default) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Initializer | 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()) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(content:structuredContent:toolResult:isError:metadata:resultType:rawValue:) | init(content: [JSONValue] = [], structuredContent: JSONValue? = nil, toolResult: JSONValue? = nil, isError: Bool = false, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(contents:metadata:resultType:rawValue:) | init(contents: [MCPResourceContent], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(count:includeContents:category:includeDomains:excludeDomains:snippetMaxCharacters:highlights:articleContentMaxCharacters:publishedAfter:publishedBefore:) | init(count: Int? = nil, includeContents: Bool? = nil, category: String? = nil, includeDomains: [String] = [], excludeDomains: [String] = [], snippetMaxCharacters: Int? = nil, highlights: Bool? = nil, articleContentMaxCharacters: Int? = nil, publishedAfter: String? = nil, publishedBefore: String? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | init(count:includeContents:mode:contentFormat:maxRows:nodeIDs:strict:) | init(count: Int? = nil, includeContents: Bool? = nil, mode: String? = nil, contentFormat: String? = nil, maxRows: Int? = nil, nodeIDs: [String] = [], strict: Bool? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | init(customToolNameToProviderToolName:) | init(customToolNameToProviderToolName: [String : String] = [:]) | Sources/SwiftAISDK/CoreUtilities.swift |
| Initializer | init(data:mediaType:fileName:) | init(data: Data, mediaType: String, fileName: String? = nil) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(description:messages:metadata:resultType:rawValue:) | init(description: String? = nil, messages: [MCPPromptMessage], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(dictionaryLiteral:) | init(dictionaryLiteral elements: (String, JSONValue)...) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(doEmbed:request:model:) | init(doEmbed: @escaping @Sendable () async throws -> EmbeddingResult, request: EmbeddingRequest, model: any EmbeddingModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(doGenerate:doStream:request:model:) | init(doGenerate: @escaping @Sendable () async throws -> TextGenerationResult, doStream: @escaping @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error>, request: LanguageModelRequest, model: any LanguageModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(doGenerate:doStream:request:model:) | init(doGenerate: @escaping @Sendable () async throws -> TextGenerationResult, doStream: @escaping @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error>, request: LanguageModelRequest, model: any LanguageModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(doGenerate:request:model:) | init(doGenerate: @escaping @Sendable () async throws -> ImageGenerationResult, request: ImageGenerationRequest, model: any ImageModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(dubbingID:expectedDurationSeconds:rawValue:requestMetadata:responseMetadata:) | init(dubbingID: String, expectedDurationSeconds: Double? = nil, rawValue: JSONValue, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(dubbingID:name:status:sourceLanguage:targetLanguages:error:rawValue:responseMetadata:) | init(dubbingID: String, name: String? = nil, status: String, sourceLanguage: String? = nil, targetLanguages: [String] = [], error: String? = nil, rawValue: JSONValue, responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(effort:dataSource:webSource:latitude:longitude:countryCode:locale:timezone:imageDarkMode:forceRefresh:includeRelated:) | init(effort: String? = nil, dataSource: GatewayTakoDataSourceConfig? = nil, webSource: GatewayTakoWebSourceConfig? = nil, latitude: Double? = nil, longitude: Double? = nil, countryCode: String? = nil, locale: String? = nil, timezone: String? = nil, imageDarkMode: Bool? = nil, forceRefresh: Bool? = nil, includeRelated: Int? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | init(embeddings:usage:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(embeddings: [[Double]], usage: TokenUsage? = nil, rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(example:index:) | init(example: JSONValue, index: Int) | Sources/SwiftAISDK/ToolInputExamplesMiddleware.swift |
| Initializer | init(expiresAfterSeconds:sessionConfig:abortSignal:) | init(expiresAfterSeconds: Int? = nil, sessionConfig: AIRealtimeSessionConfiguration? = nil, abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(field:entityName:) | init(field: String, entityName: String) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(file:fileName:mimeType:sourceURL:name:sourceLanguage:targetLanguage:numSpeakers:watermark:startTime:endTime:providerOptions:extraBody:headers:abortSignal:) | init(file: Data? = nil, fileName: String = "media.mp3", mimeType: String = "audio/mpeg", sourceURL: String? = nil, name: String? = nil, sourceLanguage: String? = nil, targetLanguage: String, numSpeakers: Int? = nil, watermark: Bool? = nil, startTime: Int? = nil, endTime: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(files:displayTitle:providerOptions:headers:abortSignal:) | init(files: [SkillUploadFile], displayTitle: String? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(floatLiteral:) | init(floatLiteral value: Double) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | init(from:) | init(from decoder: any Decoder) throws | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(generateID:typeValidation:extractMetadata:buildToolCallProviderMetadata:) | init(generateID: @escaping @Sendable () -> String = { UUID().uuidString }, typeValidation: AIStreamingToolCallTypeValidation = .none, extractMetadata: (@Sendable (AIStreamingToolCallDelta) -> [String : JSONValue]?)? = nil, buildToolCallProviderMetadata: (@Sendable ([String : JSONValue]?) -> [String : JSONValue]?)? = nil) | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Initializer | init(headers:body:) | init(headers: [String : String] = [:], body: JSONValue) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Initializer | init(headers:body:metadata:) | init(headers: [String : String] = [:], body: [String : JSONValue] = [:], metadata: JSONValue? = nil) | Sources/SwiftAISDK/AIChatSession.swift |
| Initializer | init(headers:parameters:tokenURL:authorizationServerURL:metadata:) | init(headers: [String : String], parameters: [URLQueryItem], tokenURL: URL, authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(id:approved:reason:providerExecuted:providerMetadata:) | init(id: String, approved: Bool, reason: String? = nil, providerExecuted: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:mediaType:data:url:filename:providerReference:providerMetadata:rawValue:) | init(id: String? = nil, mediaType: String, data: Data? = nil, url: String? = nil, filename: String? = nil, providerReference: AIProviderReference? = nil, providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | 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) | Sources/SwiftAISDK/AIAgent.swift |
| Initializer | init(id:name:arguments:providerExecuted:dynamic:title:providerMetadata:rawValue:) | init(id: String, name: String, arguments: String, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:name:modelType:provider:modelID:) | init(id: String, name: String? = nil, modelType: String? = nil, provider: String? = nil, modelID: String? = nil) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | init(id:request:) | init(id: String, request: LanguageModelRequest) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(id:request:) | init(id: String, request: LanguageModelRequest) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(id:role:parts:metadata:) | init(id: String = UUID().uuidString, role: MessageRole, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | init(id:sourceType:url:title:mediaType:filename:providerMetadata:rawValue:) | init(id: String, sourceType: String, url: String? = nil, title: String? = nil, mediaType: String? = nil, filename: String? = nil, providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:text:state:providerMetadata:) | init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | init(id:text:state:providerMetadata:) | init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | init(id:timestamp:modelID:headers:body:) | init(id: String? = nil, timestamp: Date? = nil, modelID: String? = nil, headers: [String : String] = [:], body: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:toolName:arguments:toolCallID:descriptor:reason:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, descriptor: JSONValue? = nil, reason: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:toolName:arguments:toolCallID:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:toolName:arguments:toolCallID:reason:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, reason: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(id:value:providerMetadata:) | init(id: String? = nil, value: JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | init(image:frameType:) | init(image: ImageInputFile, frameType: VideoFrameType) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | init(index:content:text:reasoning:finishReason:usage:files:toolCalls:toolResults:toolApprovalRequests:toolApprovalResponses:sources:warnings:providerMetadata:responseMetadata:) | init(index: Int, content: [AIResultContentPart] = [], text: String, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, files: [AIStreamFile] = [], toolCalls: [AIToolCall] = [], toolResults: [AIToolResult] = [], toolApprovalRequests: [AIToolApprovalRequest] = [], toolApprovalResponses: [AIToolApprovalResponse] = [], sources: [AISource] = [], warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(index:id:type:functionName:arguments:rawValue:) | init(index: Int? = nil, id: String? = nil, type: String? = nil, functionName: String? = nil, arguments: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Initializer | init(index:score:document:) | init(index: Int, score: Double, document: String? = nil) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(integerLiteral:) | init(integerLiteral value: Int) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(intervalMilliseconds:timeoutMilliseconds:delay:) | init(intervalMilliseconds: Int = 5_000, timeoutMilliseconds: Int = 600_000, delay: @escaping VideoGenerationDelay = { milliseconds, abortSignal in try await SwiftAISDK.delay(milliseconds, abortSignal: abortSignal) }) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Initializer | init(isEnabled:includesInput:includesOutput:functionID:metadata:integrations:) | init(isEnabled: Bool = true, includesInput: Bool = true, includesOutput: Bool = true, functionID: String? = nil, metadata: [String : JSONValue] = [:], integrations: [any Telemetry.Integration]? = nil) | Sources/SwiftAISDK/Telemetry.swift |
| Initializer | init(isEnabled:schemaPrefix:schemaSuffix:) | init(isEnabled: Bool = true, schemaPrefix: String? = nil, schemaSuffix: String? = nil) | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Initializer | init(issuer:authorizationEndpoint:tokenEndpoint:registrationEndpoint:authorizationResponseIssuerParameterSupported:clientIDMetadataDocumentSupported:responseTypesSupported:codeChallengeMethodsSupported:grantTypesSupported:tokenEndpointAuthMethodsSupported:rawValue:) | init(issuer: String, authorizationEndpoint: URL, tokenEndpoint: URL, registrationEndpoint: URL? = nil, authorizationResponseIssuerParameterSupported: Bool? = nil, clientIDMetadataDocumentSupported: Bool? = nil, responseTypesSupported: [String], codeChallengeMethodsSupported: [String], grantTypesSupported: [String] = [], tokenEndpointAuthMethodsSupported: [String] = [], rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(kind:callID:operationID:providerID:modelID:functionID:attempt:maxRetries:delayNanoseconds:durationNanoseconds:input:output:usage:warnings:providerMetadata:responseMetadata:errorDescription:metadata:includesInput:includesOutput:) | init(kind: Telemetry.Event.Kind, callID: String, operationID: String, providerID: String, modelID: String? = nil, functionID: String? = nil, attempt: Int? = nil, maxRetries: Int? = nil, delayNanoseconds: UInt64? = nil, durationNanoseconds: UInt64? = nil, input: JSONValue? = nil, output: JSONValue? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), errorDescription: String? = nil, metadata: [String : JSONValue] = [:], includesInput: Bool = true, includesOutput: Bool = true) | Sources/SwiftAISDK/Telemetry.swift |
| Initializer | 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) | Sources/SwiftAISDK/Core.swift |
| Initializer | init(mediaType:sampleRate:) | init(mediaType: String, sampleRate: Int? = nil) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Initializer | init(message:) | init(message: AIUIMessage = .assistant()) | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Initializer | init(message:chunkType:chunkID:rawValue:validationIssues:) | init(message: String, chunkType: String? = nil, chunkID: String? = nil, rawValue: JSONValue? = nil, validationIssues: [AIUIMessageValidationIssue] = []) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(message:code:data:statusCode:url:responseBody:) | init(message: String, code: Int? = nil, data: JSONValue? = nil, statusCode: Int? = nil, url: String? = nil, responseBody: String? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(message:messages:isAbort:isDisconnect:isError:finishReason:) | init(message: AIUIMessage?, messages: [AIUIMessage], isAbort: Bool, isDisconnect: Bool, isError: Bool, finishReason: String? = nil) | Sources/SwiftAISDK/AIChatSession.swift |
| Initializer | init(message:requestedSchema:metadata:rawValue:) | init(message: String, requestedSchema: JSONValue, metadata: JSONValue? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(message:type:code:statusCode:) | init(message: String, type: String? = nil, code: String? = nil, statusCode: Int? = nil) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(message:type:code:statusCode:isRetryable:data:) | init(message: String, type: String? = nil, code: JSONValue? = nil, statusCode: Int? = nil, isRetryable: Bool? = nil, data: JSONValue? = nil) | Sources/SwiftAISDK/StreamProviderError.swift |
| Initializer | init(messages:issues:) | init(messages: [AIUIMessage], issues: [AIUIMessageValidationIssue]) | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Initializer | 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) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | 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) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | init(modalities:instructions:metadata:) | init(modalities: [String]? = nil, instructions: String? = nil, metadata: [String : JSONValue]? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(model:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:retryPolicy:telemetry:sendReasoning:sendSources:sendFinish:generateMessageID:) | init(model: any LanguageModel, executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, sendReasoning: Bool = true, sendSources: Bool = false, sendFinish: Bool = true, generateMessageID: @escaping @Sendable () -> String = { UUID().uuidString }) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | init(model:expiresAfterSeconds:) | init(model: String, expiresAfterSeconds: Int? = nil) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | init(model:language:prompt:) | init(model: String? = nil, language: String? = nil, prompt: String? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(model:output:initialPartialObject:initialObject:onError:onFinish:) | @MainActor init(model: any LanguageModel, output: AIOutput<Output, Partial>, initialPartialObject: Partial? = nil, initialObject: Output? = nil, onError: (@MainActor @Sendable (any Error) -> Void)? = nil, onFinish: (@MainActor @Sendable (AIObjectGenerationSessionFinishEvent<Output>) -> Void)? = nil) | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Initializer | init(model:request:executableTools:) | init(model: (any LanguageModel)? = nil, request: LanguageModelRequest? = nil, executableTools: [AITool]? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(model:stepNumber:steps:request:initialRequest:responseMessages:) | init(model: any LanguageModel, stepNumber: Int, steps: [AIToolStep], request: LanguageModelRequest, initialRequest: LanguageModelRequest, responseMessages: [AIMessage]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(modelFamily:) | init(modelFamily: AmazonBedrockEmbeddingModelFamily? = nil) | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Initializer | init(modelVisible:appVisible:) | init(modelVisible: MCPListToolsResult, appVisible: MCPListToolsResult) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | init(name:description:parameters:dynamic:providerMetadata:providerOptions:strict:inputExamples:contextSchema:needsApproval:onInputStart:onInputDelta:onInputAvailable:refineArguments:toModelOutput:executeWithContext:execute:) | init(name: String, description: String? = nil, parameters: JSONValue, dynamic: Bool = false, providerMetadata: [String : JSONValue] = [:], providerOptions: [String : JSONValue] = [:], strict: Bool? = nil, inputExamples: [JSONValue] = [], contextSchema: JSONValue? = nil, needsApproval: AIToolNeedsApproval? = nil, onInputStart: AIToolInputStartCallback? = nil, onInputDelta: AIToolInputDeltaCallback? = nil, onInputAvailable: AIToolInputAvailableCallback? = nil, refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? = nil, toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? = nil, executeWithContext: (@Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue)? = nil, execute: @escaping @Sendable (JSONValue) async throws -> JSONValue) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(name:description:required:rawValue:) | init(name: String, description: String? = nil, required: Bool? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:title:description:arguments:rawValue:) | init(name: String, title: String? = nil, description: String? = nil, arguments: [MCPPromptArgument] = [], rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:title:description:inputSchema:outputSchema:annotations:metadata:) | init(name: String, title: String? = nil, description: String? = nil, inputSchema: JSONValue, outputSchema: JSONValue? = nil, annotations: JSONValue? = nil, metadata: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:value:rawValue:) | init(name: String, value: String, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(name:version:title:) | init(name: String, version: String, title: String? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(nilLiteral:) | init(nilLiteral: ()) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(object:result:error:) | init(object: Output?, result: AIOutputGenerationResult<Output>?, error: (any Error)? = nil) | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Initializer | init(object:text:rawObject:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:textResult:) | init(object: Object, text: String, rawObject: JSONValue, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), textResult: TextGenerationResult) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(objectResult:) | init(objectResult: ObjectGenerationResult<Output>) | Sources/SwiftAISDK/Output.swift |
| Initializer | init(onStart:onStepStart:onStepFinish:onFinish:onError:) | init(onStart: (@Sendable (AIObjectGenerationStartEvent) async -> Void)? = nil, onStepStart: (@Sendable (AIObjectGenerationStepStartEvent) async -> Void)? = nil, onStepFinish: (@Sendable (AIObjectGenerationStepFinishEvent) async -> Void)? = nil, onFinish: (@Sendable (AIObjectGenerationFinishEvent<Output>) async -> Void)? = nil, onError: (@Sendable (AIObjectGenerationErrorEvent) async -> Void)? = nil) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(operation:headers:abortSignal:) | init(operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Initializer | init(operation:warnings:providerMetadata:responseMetadata:) | init(operation: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Initializer | init(output:text:rawOutput:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:textResult:) | init(output: Output, text: String, rawOutput: JSONValue, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), textResult: TextGenerationResult) | Sources/SwiftAISDK/Output.swift |
| Initializer | init(overrideProviderID:overrideModelID:transformRequest:wrapEmbed:) | init(overrideProviderID: (@Sendable (any EmbeddingModel) -> String)? = nil, overrideModelID: (@Sendable (any EmbeddingModel) -> String)? = nil, transformRequest: (@Sendable (AIEmbeddingModelTransformContext) async throws -> EmbeddingRequest)? = nil, wrapEmbed: (@Sendable (AIEmbeddingModelEmbedContext) async throws -> EmbeddingResult)? = nil) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(overrideProviderID:overrideModelID:transformRequest:wrapGenerate:) | init(overrideProviderID: (@Sendable (any ImageModel) -> String)? = nil, overrideModelID: (@Sendable (any ImageModel) -> String)? = nil, transformRequest: (@Sendable (AIImageModelTransformContext) async throws -> ImageGenerationRequest)? = nil, wrapGenerate: (@Sendable (AIImageModelGenerateContext) async throws -> ImageGenerationResult)? = nil) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(overrideProviderID:overrideModelID:transformRequest:wrapGenerate:wrapStream:) | init(overrideProviderID: (@Sendable (any LanguageModel) -> String)? = nil, overrideModelID: (@Sendable (any LanguageModel) -> String)? = nil, transformRequest: (@Sendable (AILanguageModelTransformContext) async throws -> LanguageModelRequest)? = nil, wrapGenerate: (@Sendable (AILanguageModelGenerateContext) async throws -> TextGenerationResult)? = nil, wrapStream: (@Sendable (AILanguageModelStreamContext) -> AsyncThrowingStream<LanguageStreamPart, any Error>)? = nil) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(path:data:mediaType:) | init(path: String, data: Data, mediaType: String = "application/octet-stream") | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(path:message:) | init(path: String, message: String) | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Initializer | init(phase:durationNanoseconds:) | init(phase: AIStreamTimeoutPhase, durationNanoseconds: UInt64) | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Initializer | init(project:location:apiKey:accessToken:serviceAccount:baseURL:headers:transport:date:) | init(project: String? = nil, location: String? = nil, apiKey: String? = nil, accessToken: String? = nil, serviceAccount: GoogleServiceAccountCredentials? = nil, baseURL: String? = nil, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | init(prompt:aspectRatio:durationSeconds:image:frameImages:inputReferences:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:) | init(prompt: String, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, frameImages: [VideoFrameImage] = [], inputReferences: [ImageInputFile] = [], 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) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | init(prompt:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:) | init(prompt: String, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:) | init(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) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(prompts:nextCursor:metadata:resultType:rawValue:) | init(prompts: [MCPPrompt], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(provider:code:message:rawValue:closeMetadata:) | init(provider: String, code: String? = nil, message: String, rawValue: JSONValue? = nil, closeMetadata: AIDuplexWebSocketCloseMetadata? = nil) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Initializer | init(provider:kind:structuredOutputKind:responses:calls:message:) | init(provider: String? = nil, kind: AINoOutputKind = .output, structuredOutputKind: AIOutputKind? = nil, responses: [AIResponseMetadata] = [], calls: [ImageGenerationCall] = [], message: String? = nil) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(provider:kind:structuredOutputKind:responses:message:) | init(provider: String? = nil, kind: AINoOutputKind = .output, structuredOutputKind: AIOutputKind? = nil, responses: [AIResponseMetadata] = [], message: String? = nil) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(provider:modelID:maxEmbeddingsPerCall:values:) | init(provider: String, modelID: String, maxEmbeddingsPerCall: Int, values: [String]) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(provider:reference:) | init(provider: String, reference: AIProviderReference) | Sources/SwiftAISDK/ProviderReference.swift |
| Initializer | init(provider:strategy:kind:message:path:text:repairAttempted:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(provider: String, strategy: AIObjectOutputStrategy, kind: AIObjectGenerationFailureKind, message: String, path: String? = nil, text: String, repairAttempted: Bool = false, finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(provider:url:requestBody:statusCode:responseHeaders:responseBody:isRetryable:) | init(provider: String, url: String? = nil, requestBody: JSONValue? = nil, statusCode: Int, responseHeaders: [String : String] = [:], responseBody: String, isRetryable: Bool? = nil) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(providerID:defaultBaseURL:authorization:supportedCapabilities:settings:routesLikeOpenAI:userAgentSuffix:usesOpenAICompatibleSurfaceIDs:) | init(providerID: String, defaultBaseURL: String, authorization: AuthorizationStyle, supportedCapabilities: Set<ModelCapability> = [.language], settings: ProviderSettings = ProviderSettings(), routesLikeOpenAI: Bool = false, userAgentSuffix: String? = nil, usesOpenAICompatibleSurfaceIDs: Bool = false) throws | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Initializer | 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/Providers/CustomProvider.swift |
| Initializer | init(providerID:upstreamPackage:factoryNames:supportedCapabilities:supportsFileUpload:supportsSkillUpload:notes:) | init(providerID: String, upstreamPackage: String, factoryNames: [String], supportedCapabilities: Set<ModelCapability>, supportsFileUpload: Bool = false, supportsSkillUpload: Bool = false, notes: String? = nil) | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Initializer | init(providerOptions:headers:) | init(providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:]) | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Initializer | 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()) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | 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()) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | 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()) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | 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()) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(providers:separator:providerID:languageModelMiddleware:imageModelMiddleware:) | init(providers: [String : any AIProvider], separator: String = ":", providerID: String = "provider-registry", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Initializer | init(query:documents:topK:providerOptions:extraBody:headers:abortSignal:) | init(query: String, documents: [String], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | init(query:documents:topK:providerOptions:extraBody:headers:abortSignal:) | init(query: String, documents: [[String : JSONValue]], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | 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) | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(rawValue:) | init(rawValue: String) | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Initializer | init(rawValue:) | init?(rawValue: String) | |
| Initializer | init(reason:attempts:errors:) | init(reason: AIRetryErrorReason, attempts: Int, errors: [String]) | Sources/SwiftAISDK/Core.swift |
| Initializer | init(reason:reasonName:) | init(reason: String? = nil, reasonName: String? = nil) | Sources/SwiftAISDK/CoreAbort.swift |
| Initializer | init(redirectURIs:applicationType:tokenEndpointAuthMethod:grantTypes:responseTypes:clientName:clientURI:logoURI:scope:contacts:tosURI:policyURI:jwksURI:jwks:softwareID:softwareVersion:softwareStatement:) | init(redirectURIs: [URL], applicationType: MCPOAuthApplicationType? = nil, tokenEndpointAuthMethod: String? = nil, grantTypes: [String] = [], responseTypes: [String] = [], clientName: String? = nil, clientURI: URL? = nil, logoURI: URL? = nil, scope: String? = nil, contacts: [String] = [], tosURI: URL? = nil, policyURI: URL? = nil, jwksURI: URL? = nil, jwks: JSONValue? = nil, softwareID: String? = nil, softwareVersion: String? = nil, softwareStatement: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(reference:status:) | init(reference: TextBatchReference, status: AIBatchStatus) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(region:apiKey:accessKeyID:secretAccessKey:sessionToken:credentialProvider:baseURL:headers:transport:date:) | init(region: String? = nil, apiKey: String? = nil, accessKeyID: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, credentialProvider: (@Sendable () async throws -> AmazonBedrockCredentials)? = nil, baseURL: String? = nil, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | init(region:workspaceID:apiKey:accessKeyID:secretAccessKey:sessionToken:credentialProvider:baseURL:headers:transport:date:) | init(region: String? = nil, workspaceID: String? = nil, apiKey: String? = nil, accessKeyID: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, credentialProvider: (@Sendable () async throws -> AnthropicAWSCredentials)? = nil, baseURL: String? = nil, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Initializer | init(request:model:) | init(request: ImageGenerationRequest, model: any ImageModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(request:model:) | init(request: EmbeddingRequest, model: any EmbeddingModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(request:webhookURL:) | init(request: VideoGenerationRequest, webhookURL: String? = nil) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Initializer | init(requestID:warning:) | init(requestID: String? = nil, warning: AIWarning) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | 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) | Sources/SwiftAISDK/AIAgent.swift |
| Initializer | init(requests:providerOptions:abortSignal:headers:idempotencyKey:) | init(requests: [Request], providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], idempotencyKey: String? = nil) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(resource:authorizationServers:scopesSupported:rawValue:) | init(resource: URL, authorizationServers: [URL] = [], scopesSupported: [String] = [], rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(resourceName:apiVersion:useDeploymentBasedURLs:tokenProvider:settings:) | init(resourceName: String? = nil, apiVersion: String = "v1", useDeploymentBasedURLs: Bool = false, tokenProvider: AzureOpenAITokenProvider? = nil, settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Initializer | init(resources:nextCursor:metadata:resultType:rawValue:) | init(resources: [MCPResource], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(resourceTemplates:metadata:resultType:rawValue:) | init(resourceTemplates: [MCPResourceTemplate], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(resourceURI:visibility:rawValue:) | init(resourceURI: String? = nil, visibility: [String]? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | init(results:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(results: [RerankedDocument], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | init(role:content:rawValue:) | init(role: String, content: JSONValue, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(role:content:reasoning:providerMetadata:) | init(role: MessageRole, content: [AIContentPart], reasoning: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreMessages.swift |
| Initializer | init(scope:tools:) | init(scope: AIPruneToolCalls.Scope, tools: Set<String>? = nil) | Sources/SwiftAISDK/PruneMessages.swift |
| Initializer | init(session:) | init(session: URLSession = .shared) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | init(settings:) | init(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | init(settings:) | init(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | init(settings:) | init(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | init(settings:) | init(settings: AnthropicAWSProviderSettings = AnthropicAWSProviderSettings()) throws | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Initializer | init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Initializer | init(settings:) | init(settings: CartesiaProviderSettings = CartesiaProviderSettings()) throws | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Initializer | init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Initializer | init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Initializer | init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Initializer | init(settings:) | init(settings: GoogleVertexProviderSettings = GoogleVertexProviderSettings()) throws | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Initializer | init(settings:) | init(settings: MiniMaxProviderSettings = MiniMaxProviderSettings()) throws | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Initializer | init(settings:teamIDOrSlug:) | convenience init(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil) throws | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | init(settings:teamIDOrSlug:webSocketTransport:) | init(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil, webSocketTransport: any AIDuplexWebSocketTransport) throws | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | init(startDate:endDate:groupBy:datePart:userID:model:provider:credentialType:tags:) | init(startDate: String, endDate: String, groupBy: String? = nil, datePart: String? = nil, userID: String? = nil, model: String? = nil, provider: String? = nil, credentialType: String? = nil, tags: [String] = []) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | 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] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(statusCode:code:message:uri:) | init(statusCode: Int? = nil, code: String? = nil, message: String, uri: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | init(statusCode:headers:body:bodyAvailable:cancelBody:) | init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, bodyAvailable: Bool = true, cancelBody: @escaping @Sendable () -> Void = {}) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | init(statusCode:headers:body:cancelBody:) | init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, cancelBody: @escaping @Sendable () -> Void = {}) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | init(statusCode:headers:body:url:) | init(statusCode: Int, headers: [String : String] = [:], body: Data = Data(), url: URL? = nil) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | init(steps:) | init(steps: [AIToolStep]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | 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) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(stream:requestMetadata:responseMetadata:cancel:) | init(stream: AsyncThrowingStream<StreamingTranscriptionPart, any Error>, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), cancel: @escaping @Sendable () -> Void = {}) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Initializer | init(stringLiteral:) | init(stringLiteral value: String) | Sources/SwiftAISDK/JSONValue.swift |
| Initializer | init(stringLiteral:) | init(stringLiteral value: String) | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Initializer | init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:jsonInstruction:repairText:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Initializer | 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) | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Initializer | init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:toolChoice:providerOptions:extraBody:headers:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String]? = nil, responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:]) | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Initializer | init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:toolContexts:toolChoice:includeRawChunks:providerOptions:extraBody:headers:) | 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, tools: [String : JSONValue] = [:], toolContexts: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:]) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | 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] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(text:content:reasoning:finishReason:usage:files:toolCalls:toolResults:toolApprovalRequests:toolApprovalResponses:steps:sources:responseMessages:providerMetadata:rawValue:warnings:requestMetadata:responseMetadata:) | init(text: String, content: [AIResultContentPart] = [], reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, files: [AIStreamFile] = [], toolCalls: [AIToolCall] = [], toolResults: [AIToolResult] = [], toolApprovalRequests: [AIToolApprovalRequest] = [], toolApprovalResponses: [AIToolApprovalResponse] = [], steps: [AIToolStep] = [], sources: [AISource] = [], responseMessages: [AIMessage] = [], providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | init(text:errorMessage:) | init(text: String, errorMessage: String) | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Initializer | 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] = [:]) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(text:message:) | init(text: String, message: String) | Sources/SwiftAISDK/JSONParsing.swift |
| Initializer | init(text:rawValue:segments:language:durationInSeconds:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(text: String, rawValue: JSONValue, segments: [TranscriptionSegment] = [], language: String? = nil, durationInSeconds: Double? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(text:segments:language:durationInSeconds:providerMetadata:closeMetadata:) | init(text: String, segments: [TranscriptionSegment] = [], language: String? = nil, durationInSeconds: Double? = nil, providerMetadata: [String : JSONValue] = [:], closeMetadata: AIDuplexWebSocketCloseMetadata? = nil) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Initializer | init(text:startSecond:endSecond:) | init(text: String, startSecond: Double, endSecond: Double) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(text:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:) | init(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) | Sources/SwiftAISDK/CoreAudioResults.swift |
| Initializer | init(textResult:) | init(textResult: TextGenerationResult) | Sources/SwiftAISDK/Output.swift |
| Initializer | init(title:readOnlyHint:destructiveHint:idempotentHint:openWorldHint:) | init(title: String? = nil, readOnlyHint: Bool? = nil, destructiveHint: Bool? = nil, idempotentHint: Bool? = nil, openWorldHint: Bool? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(token:url:expiresAt:) | init(token: String, url: String, expiresAt: Int? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(token:url:expiresAt:) | init(token: String, url: String, expiresAt: Int? = nil) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | init(toolCall:arguments:tool:request:toolContext:) | init(toolCall: AIToolCall, arguments: JSONValue, tool: AITool, request: LanguageModelRequest, toolContext: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCall:toolsByName:request:error:) | init(toolCall: AIToolCall, toolsByName: [String : AITool], request: LanguageModelRequest? = nil, error: any Error) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:approvalID:) | init(toolCallID: String, approvalID: String) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(toolCallID:input:messages:abortSignal:toolContext:) | init(toolCallID: String, input: JSONValue, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, toolContext: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:input:output:) | init(toolCallID: String, input: JSONValue, output: JSONValue) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:inputTextDelta:messages:abortSignal:toolContext:) | init(toolCallID: String, inputTextDelta: String, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, toolContext: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:messages:abortSignal:metadata:toolContext:) | init(toolCallID: String? = nil, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, metadata: [String : JSONValue] = [:], toolContext: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:messages:abortSignal:toolContext:) | init(toolCallID: String, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, toolContext: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:messages:context:) | init(toolCallID: String, messages: [AIMessage], context: JSONValue? = nil) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallID:toolName:result:modelOutput:isError:preliminary:dynamic:providerExecuted:providerMetadata:) | init(toolCallID: String, toolName: String, result: JSONValue, modelOutput: JSONValue? = nil, isError: Bool = false, preliminary: Bool = false, dynamic: Bool = false, providerExecuted: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreTools.swift |
| Initializer | init(toolCallIDs:) | init(toolCallIDs: [String]) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(toolChoice:finishReason:providerID:modelID:content:) | init(toolChoice: JSONValue, finishReason: String?, providerID: String, modelID: String, content: [AIResultContentPart]) | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Initializer | init(toolName:availableToolNames:) | init(toolName: String, availableToolNames: [String] = []) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(toolName:toolCallID:input:message:validationError:) | init(toolName: String, toolCallID: String? = nil, input: JSONValue? = nil, message: String, validationError: AITypeValidationError? = nil) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(toolName:toolCallID:originalError:repairedInput:) | init(toolName: String, toolCallID: String? = nil, originalError: String, repairedInput: JSONValue? = nil) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(tools:nextCursor:metadata:resultType:rawValue:) | init(tools: [MCPToolDefinition], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(total:pending:completed:failed:) | init(total: Int, pending: Int, completed: Int, failed: Int) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(totalNanoseconds:stepNanoseconds:firstChunkNanoseconds:chunkNanoseconds:) | init(totalNanoseconds: UInt64? = nil, stepNanoseconds: UInt64? = nil, firstChunkNanoseconds: UInt64? = nil, chunkNanoseconds: UInt64? = nil) | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Initializer | init(type:feature:setting:message:) | init(type: String, feature: String? = nil, setting: String? = nil, message: String? = nil) | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Initializer | init(type:message:statusCode:generationID:modelID:response:headers:isRetryable:cause:) | init(type: GatewayErrorType, message: String, statusCode: Int = 500, generationID: String? = nil, modelID: String? = nil, response: JSONValue? = nil, headers: [String : String] = [:], isRetryable: Bool? = nil, cause: AIAPICallError? = nil) | Sources/SwiftAISDK/GatewayErrors.swift |
| Initializer | init(type:name:description:parameters:) | init(type: String = "function", name: String, description: String? = nil, parameters: JSONValue) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(type:rate:) | init(type: String, rate: Int? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(type:request:model:) | init(type: AILanguageModelCallType, request: LanguageModelRequest, model: any LanguageModel) | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Initializer | init(type:threshold:silenceDurationMilliseconds:prefixPaddingMilliseconds:) | init(type: AIRealtimeTurnDetectionType, threshold: Double? = nil, silenceDurationMilliseconds: Int? = nil, prefixPaddingMilliseconds: Int? = nil) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(uri:mimeType:html:metadata:) | init(uri: String, mimeType: String = MCPApps.appMIMEType, html: String, metadata: JSONValue? = nil) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | init(uri:name:title:description:mimeType:size:rawValue:) | init(uri: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, size: Int? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(uri:name:title:mimeType:text:blob:rawValue:) | init(uri: String, name: String? = nil, title: String? = nil, mimeType: String? = nil, text: String? = nil, blob: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(uriTemplate:name:title:description:mimeType:rawValue:) | init(uriTemplate: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(url:headers:protocols:abortSignal:) | init(url: URL, headers: [String : String] = [:], protocols: [String] = [], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Initializer | init(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:) | init(url: URL, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | init(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:) | convenience init(url: String, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | init(url:mediaType:fileName:) | init(url: String, mediaType: String? = nil, fileName: String? = nil) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(url:message:) | init(url: String, message: String) | Sources/SwiftAISDK/HTTP.swift |
| Initializer | init(url:protocols:headers:) | init(url: String, protocols: [String] = [], headers: [String : String] = [:]) | Sources/SwiftAISDK/CoreRealtime.swift |
| Initializer | init(url:receive:) | init(url: String, receive: @escaping @Sendable (AIAbortSignal?) async throws -> VideoGenerationOperationWebhook) | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Initializer | init(urls:base64Images:rawValue:warnings:usage:providerMetadata:requestMetadata:responseMetadata:) | init(urls: [String], base64Images: [String] = [], rawValue: JSONValue, warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(urls:base64Images:rawValue:warnings:usage:providerMetadata:requestMetadata:responseMetadata:calls:) | init(urls: [String], base64Images: [String] = [], rawValue: JSONValue, warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), calls: [ImageGenerationCall] = []) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(urls:base64Images:warnings:usage:providerMetadata:responseMetadata:) | init(urls: [String], base64Images: [String] = [], warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(urls:base64Videos:operationID:mediaType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(urls: [String], base64Videos: [String] = [], operationID: String? = nil, mediaType: String? = nil, rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Initializer | init(value:schema:path:message:context:) | init(value: JSONValue? = nil, schema: JSONValue? = nil, path: String, message: String, context: AITypeValidationContext? = nil) | Sources/SwiftAISDK/Errors.swift |
| Initializer | init(value:state:) | init(value: JSONValue?, state: AIParsePartialJSONState) | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Initializer | init(values:dimensions:providerOptions:extraBody:headers:abortSignal:) | init(values: [String], dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Sources/SwiftAISDK/CoreMediaResults.swift |
| Initializer | init(values:total:hasMore:metadata:resultType:rawValue:) | init(values: [String], total: Int? = nil, hasMore: Bool? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | init(version:type:id:providerID:modelID:) | init(version: Int = 1, type: AIBatchReferenceType = .text, id: String, providerID: String, modelID: String) | Sources/SwiftAISDK/CoreBatch.swift |
| Initializer | init(warnings:providerID:modelID:) | init(warnings: [AIWarning], providerID: String? = nil, modelID: String? = nil) | Sources/SwiftAISDK/WarningLogging.swift |
| Instance Method | abort(reason:reasonName:) | func abort(reason: String? = nil, reasonName: String? = nil) | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Method | accessToken() | func accessToken() async throws -> String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | addAbortHandler(_:) | @discardableResult func addAbortHandler(_ handler: @escaping @Sendable (String?) -> Void) -> AIAbortHandlerRegistration | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Method | addStream(_:) | func addStream(_ innerStream: AsyncThrowingStream<Element, any Error>) throws | Sources/SwiftAISDK/CoreUtilities.swift |
| Instance Method | addToolApprovalResponse(_:id:metadata:options:) | @MainActor func addToolApprovalResponse(_ response: AIToolApprovalResponse, id: String? = nil, metadata: [String : JSONValue] = [:], options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | addToolOutput(_:id:metadata:options:) | @MainActor func addToolOutput(_ result: AIToolResult, id: String? = nil, metadata: [String : JSONValue] = [:], options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | addToolResult(_:id:metadata:options:) | @MainActor func addToolResult(_ result: AIToolResult, id: String? = nil, metadata: [String : JSONValue] = [:], options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | appendAudio(_:) | func appendAudio(_ audio: Data) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | appendAudio(base64:) | func appendAudio(base64: String) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | audio(dubbingID:languageCode:headers:abortSignal:) | func audio(dubbingID: String, languageCode: String, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> DubbingAudioResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | authenticateTokenRequest(_:) | func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authenticateTokenRequest(_:) | func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authorizationServerInformation() | func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authorizationServerInformation() | func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | authorize(resourceMetadataURL:) | func authorize(resourceMetadataURL: URL?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | authorize(resourceMetadataURL:scope:) | func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | authorize(resourceMetadataURL:scope:) | func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | availableModels() | func availableModels() async throws -> [GatewayModelEntry] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) -> any BatchLanguageModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) -> any BatchLanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) throws -> any BatchLanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | callAsFunction(_:) | func callAsFunction(_ modelID: String) -> GatewayTranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | callAsFunction() | func callAsFunction() throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | callTool(name:arguments:options:) | func callTool(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPCallToolResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | cancel() | func cancel() | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Method | cancel() | func cancel() | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Method | cancel(reason:) | func cancel(reason: String? = nil) async | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | cancel(reason:reasonName:) | func cancel(reason: String? = nil, reasonName: String? = nil) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Method | cancelBody() | func cancelBody() | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | cancelRequestBody() | func cancelRequestBody() async | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | cancelResponse() | func cancelResponse() async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | chatModel() | func chatModel() throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | clear() | @MainActor func clear() | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | clearAudio() | func clearAudio() async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | clearError() | @MainActor func clearError() | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | clearError() | @MainActor func clearError() | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | clientInformation() | func clientInformation() async throws -> MCPOAuthClientInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | clientInformation() | func clientInformation() async throws -> MCPOAuthClientInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | close() | func close() | Sources/SwiftAISDK/CoreUtilities.swift |
| Instance Method | close() | func close() async | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | close() | func close() async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | close(code:) | func close(code: Int) async | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | close(code:reason:) | func close(code: Int = AIDuplexWebSocketCloseMetadata.normalClosure.code, reason: String? = nil) async | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | close(code:reason:) | func close(code: Int, reason: Data?) async | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | codeVerifier() | func codeVerifier() async throws -> String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | commitAudio() | func commitAudio() async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | complete(ref:argument:contextArguments:metadata:options:) | func complete(ref: JSONValue, argument: MCPCompleteArgument, contextArguments: [String : String]? = nil, metadata: JSONValue? = nil, options: MCPRequestOptions? = nil) async throws -> MCPCompleteResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | completion(_:) | func completion(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | completion(_:) | func completion(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | completionModel(_:) | func completionModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | completionModel(_:) | func completionModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | connect(_:) | func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnection | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | connect(_:) | func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnection | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | consume(_:) | @discardableResult mutating func consume(_ part: LanguageStreamPart) throws -> AIUIMessage | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Method | consume(contentsOf:) | @discardableResult mutating func consume<S>(contentsOf parts: S) throws -> AIUIMessage where S : Sequence, S.Element == LanguageStreamPart | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Method | create(_:) | func create(_ request: DubbingCreateRequest) async throws -> DubbingCreateResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | createClientSecret(_:) | func createClientSecret(_ options: AIRealtimeClientSecretOptions = .init()) async throws -> AIRealtimeClientSecretResult | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | createResponse(options:) | func createResponse(options: AIRealtimeResponseOptions? = nil) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | credits() | func credits() async throws -> GatewayCredits | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | deepseek(_:) | func deepseek(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions) async throws -> AIRealtimeClientSecretResult | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions = .init()) async throws -> AIRealtimeClientSecretResult | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | dubbing() | func dubbing() throws -> ElevenLabsDubbingClient | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Method | embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | embedding(_:) | func embedding(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | embeddingModel(_:) | func embeddingModel(_ modelID: ModelID) throws -> any EmbeddingModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | embeddingModel(_:settings:) | func embeddingModel(_ modelID: String, settings: AmazonBedrockEmbeddingModelSettings) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | embeddingModel() | func embeddingModel() throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | encode(to:) | func encode(to encoder: any Encoder) throws | Sources/SwiftAISDK/JSONValue.swift |
| Instance Method | executeLanguageModelCall(_:) | func executeLanguageModelCall<Output>(_ context: Telemetry.LanguageModelCallContext<Output>) async throws -> Output where Output : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Instance Method | executeLanguageModelCall(_:) | func executeLanguageModelCall<Output>(_ context: Telemetry.LanguageModelCallContext<Output>) async throws -> Output where Output : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Instance Method | executeTool(_:) | func executeTool<Output>(_ context: Telemetry.ToolExecutionContext<Output>) async throws -> Output where Output : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Instance Method | executeTool(_:) | func executeTool<Output>(_ context: Telemetry.ToolExecutionContext<Output>) async throws -> Output where Output : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Instance Method | experimentalGetPrompt(name:arguments:options:) | func experimentalGetPrompt(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPGetPromptResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | experimentalListPrompts(cursor:options:) | func experimentalListPrompts(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListPromptsResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | files(_:) | func files(_ providerID: String) throws -> any AIFileClient | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | files() | func files() throws -> any AIFileClient | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | files() | func files() throws -> any AIFileClient | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | finish() | func finish() | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Method | flush() | mutating func flush() -> [LanguageStreamPart] | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/OpenAICompatibleChatModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/OpenAICompatibleCompletionModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/OpenAIResponsesModel.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | generate(messages:) | func generate(messages: [AIMessage]) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | generate(messages:options:) | func generate(messages: [AIMessage], options: AIAgentCallOptions) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | generate(messages:options:) | func generate(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | generate(prompt:) | func generate(prompt: String) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | generate(prompt:options:) | func generate(prompt: String, options: AIAgentCallOptions) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | generate(prompt:options:) | func generate(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Method | generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | generateText(_:options:tools:) | func generateText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | generateText(messages:options:tools:) | func generateText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Method | generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | get(_:headers:abortSignal:) | func get(_ dubbingID: String, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> DubbingStatusResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | getAvailableModels() | func getAvailableModels() async throws -> [GatewayModelEntry] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Method | getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Method | getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Method | getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Method | getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | getCredits() | func getCredits() async throws -> GatewayCredits | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | getGenerationInfo(id:) | func getGenerationInfo(id: String) async throws -> GatewayGenerationInfo | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | getHealthCheckResponse(_:) | func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | getHealthCheckResponse(_:) | func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | getSpendReport(_:) | func getSpendReport(_ params: GatewaySpendReportParams) async throws -> GatewaySpendReportResponse | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | getToken(_:) | func getToken(_ options: GatewayTranscriptionFactoryGetTokenOptions) async throws -> GatewayTranscriptionFactoryGetTokenResult | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Method | handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Method | headerValue(_:) | func headerValue(_ name: String) -> String? | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | headerValue(_:) | func headerValue(_ name: String) -> String? | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | image(_:) | func image(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | imageModel(_:) | func imageModel(_ modelID: ModelID) throws -> any ImageModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | inputSchema(for:) | func inputSchema(for toolName: String) throws -> JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Method | interactionsAgent(_:) | func interactionsAgent(_ agentName: String) -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | interactionsAgent(_:) | func interactionsAgent(_ agentName: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | interactionsModel(_:) | func interactionsModel(_ modelID: String) -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | interactionsModel(_:) | func interactionsModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | jsonValue() | func jsonValue() throws -> JSONValue | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | languageModel(_:) | func languageModel(_ modelID: ModelID) throws -> any LanguageModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | languageModel() | func languageModel() throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | languageModelRequest(messages:abortSignal:) | func languageModelRequest(messages: [AIMessage], abortSignal: AIAbortSignal? = nil) -> LanguageModelRequest | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | languageModelRequest(messages:abortSignal:headers:) | func languageModelRequest(messages: [AIMessage], abortSignal: AIAbortSignal? = nil, headers additionalHeaders: [String : String] = [:]) -> LanguageModelRequest | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | listResources(cursor:options:) | func listResources(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListResourcesResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | listResourceTemplates(options:) | func listResourceTemplates(options: MCPRequestOptions? = nil) async throws -> MCPListResourceTemplatesResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | listTools(cursor:) | func listTools(cursor: String? = nil) async throws -> MCPListToolsResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | logWarnings(_:) | func logWarnings(_ event: AIWarningLogEvent) async | Sources/SwiftAISDK/WarningLogging.swift |
| Instance Method | logWarnings(_:) | func logWarnings(_ event: AIWarningLogEvent) async | Sources/SwiftAISDK/WarningLogging.swift |
| Instance Method | makeAsyncIterator() | func makeAsyncIterator() -> AIRealtimeSession.AsyncIterator | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | makeAsyncIterator() | func makeAsyncIterator() -> AIStreamingAudioInput.AsyncIterator | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Method | messages(_:) | func messages(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | messages(_:) | func messages(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | messages(_:) | func messages(_ modelID: String) throws -> any BatchLanguageModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | music(_:) | func music(_ modelID: String = "music_v1") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | musicModel(_:) | func musicModel(_ modelID: String = "music_v1") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | onElicitationRequest(_:) | func onElicitationRequest(_ handler: MCPElicitationHandler?) | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | processDelta(_:) | mutating func processDelta(_ delta: AIStreamingToolCallDelta) throws -> [LanguageStreamPart] | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Method | providerID(for:) | func providerID(for provider: String) throws -> String | Sources/SwiftAISDK/ProviderReference.swift |
| Instance Method | providerID(for:) | func providerID(for provider: String) throws -> String | Sources/SwiftAISDK/ProviderReference.swift |
| Instance Method | readResource(uri:options:) | func readResource(uri: String, options: MCPRequestOptions? = nil) async throws -> MCPReadResourceResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | realtime(_:) | func realtime(_ modelID: String) throws -> XAIRealtimeModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | realtimeModel(_:) | func realtimeModel(_ modelID: String) throws -> XAIRealtimeModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | receive(abortSignal:) | func receive(abortSignal: AIAbortSignal? = nil) async throws -> VideoGenerationOperationWebhook | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Method | reconnectToStream(_:) | func reconnectToStream(_ request: AIChatReconnectRequest) async throws -> AsyncThrowingStream<AIUIMessage, any Error>? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | reconnectToStream(_:) | func reconnectToStream(_ request: AIChatReconnectRequest) async throws -> AsyncThrowingStream<AIUIMessage, any Error>? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | reconnectToStream(_:) | func reconnectToStream(_ request: AIChatReconnectRequest) async throws -> AsyncThrowingStream<AIUIMessage, any Error>? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | record(_:) | func record(_ event: Telemetry.Event) async | Sources/SwiftAISDK/Telemetry.swift |
| Instance Method | redirectToAuthorization(_:) | func redirectToAuthorization(_ authorizationURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | regenerate(messageID:options:) | @discardableResult @MainActor func regenerate(messageID: String? = nil, options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | reject(_:) | func reject(_ error: any Error) | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Instance Method | request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | request(messages:tools:) | func request(messages: [AIMessage], tools: LanguageToolOptions = .none) -> LanguageModelRequest | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Method | rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | reranking(_:) | func reranking(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | rerankingModel(_:) | func rerankingModel(_ modelID: ModelID) throws -> any RerankingModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | resolve(_:) | func resolve(_ value: Value) | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Instance Method | responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | responsesModel(_:) | func responsesModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | responsesModel(_:) | func responsesModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | resumeStream(options:) | @discardableResult @MainActor func resumeStream(options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | run(_:) | func run(_ job: @escaping @Sendable () async throws -> Void) -> Task<Void, any Error> | Sources/SwiftAISDK/CoreSerialJobExecutor.swift |
| Instance Method | saveAuthorizationServerInformation(_:) | func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveAuthorizationServerInformation(_:) | func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveClientInformation(_:) | func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveClientInformation(_:) | func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveCodeVerifier(_:) | func saveCodeVerifier(_ codeVerifier: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveState(_:) | func saveState(_ state: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveState(_:) | func saveState(_ state: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | saveTokens(_:) | func saveTokens(_ tokens: MCPOAuthTokens) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | send(_:) | func send(_ event: AIRealtimeClientEvent) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | send(_:) | @discardableResult func send(_ audio: Data) -> AIStreamingAudioSendResult | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Method | send(_:) | func send(_ message: AIDuplexWebSocketMessage) async throws | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | send(_:) | func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | send(_:) | func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | send(binary:) | func send(binary: Data) async throws | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | send(text:) | func send(text: String) async throws | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Method | sendAudioMessage(_:) | func sendAudioMessage(_ audio: Data) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | sendFunctionCallOutput(callID:name:output:) | func sendFunctionCallOutput(callID: String, name: String? = nil, output: String) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | sendMessage(_:id:metadata:replacingMessageID:options:) | @discardableResult @MainActor func sendMessage(_ text: String, id: String? = nil, metadata: [String : JSONValue] = [:], replacingMessageID: String? = nil, options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | sendMessage(_:replacingMessageID:options:) | @discardableResult @MainActor func sendMessage(_ message: AIUIMessage, replacingMessageID: String? = nil, options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | sendMessage(options:) | @discardableResult @MainActor func sendMessage(options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | sendMessages(_:) | func sendMessages(_ request: AIChatTransportRequest) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | sendMessages(_:) | func sendMessages(_ request: AIChatTransportRequest) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | sendText(_:) | func sendText(_ text: String) async throws | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Method | serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Method | serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | setMessages(_:) | @MainActor func setMessages(_ messages: [AIUIMessage]) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | skills(_:) | func skills(_ providerID: String) throws -> any AISkillsClient | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | skills() | func skills() throws -> any AISkillsClient | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | skills() | func skills() -> any AISkillsClient | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | skills() | func skills() -> any AISkillsClient | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | skills() | func skills() throws -> any AISkillsClient | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | skills() | func skills() throws -> any AISkillsClient | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | soundEffects(_:) | func soundEffects(_ modelID: String = "eleven_text_to_sound_v2") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | soundEffectsModel(_:) | func soundEffectsModel(_ modelID: String = "eleven_text_to_sound_v2") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Method | speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | speech(_:) | func speech(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | speech(_:) | func speech(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | speech() | func speech() throws -> any SpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | speechModel(_:) | func speechModel(_ modelID: ModelID) throws -> any SpeechModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | speechModel() | func speechModel() throws -> any SpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | start() | func start() async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | start() | func start() async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | start() | func start() async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Method | startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Method | startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Method | startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Method | startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | startVideoGeneration(_:) | func startVideoGeneration(_ request: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Method | state() | func state() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | state() | func state() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | stop(reason:) | @MainActor func stop(reason: String? = "stopped") | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | stop(reason:) | @MainActor func stop(reason: String? = "stopped") | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | storedState() | func storedState() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | storedState() | func storedState() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Method | stream(_:) | func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | stream(_:) | func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Sources/SwiftAISDK/HTTP.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Method | stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Models/GatewayStreamingTranscriptionModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/OpenAICompatibleChatModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/OpenAICompatibleCompletionModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/OpenAIResponsesModel.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | stream(messages:) | func stream(messages: [AIMessage]) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | stream(messages:options:) | func stream(messages: [AIMessage], options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | stream(messages:options:) | func stream(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | stream(prompt:) | func stream(prompt: String) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | stream(prompt:options:) | func stream(prompt: String, options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | stream(prompt:options:) | func stream(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Instance Method | streamingTranscription(_:) | func streamingTranscription(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | streamingTranscription(_:) | func streamingTranscription(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | streamingTranscriptionModel(_:) | func streamingTranscriptionModel(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | streamingTranscriptionModel(_:) | func streamingTranscriptionModel(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | streamText(_:options:tools:timeoutNanoseconds:) | func streamText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | streamText(messages:options:tools:timeoutNanoseconds:) | func streamText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | submit(_:options:) | @discardableResult @MainActor func submit(_ prompt: String, options: AIObjectGenerationSessionRequestOptions = AIObjectGenerationSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | submit(messages:options:) | @discardableResult @MainActor func submit(messages: [AIMessage], options: AIObjectGenerationSessionRequestOptions = AIObjectGenerationSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | submit(request:timeoutNanoseconds:retryPolicy:telemetry:jsonInstruction:repairText:) | @discardableResult @MainActor func submit(request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> Task<Void, Never> | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Method | supports(_:) | func supports(_ capability: ModelCapability) -> Bool | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Method | terminate() | func terminate() | Sources/SwiftAISDK/CoreUtilities.swift |
| Instance Method | test(_:) | func test(_ url: String) -> Bool | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | textEmbedding(_:) | func textEmbedding(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | textEmbeddingModel(_:) | func textEmbeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | textEmbeddingModel() | func textEmbeddingModel() throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | throwIfAborted() | func throwIfAborted() throws | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Method | toCustomToolName(_:) | func toCustomToolName(_ providerToolName: String) -> String | Sources/SwiftAISDK/CoreUtilities.swift |
| Instance Method | tokens() | func tokens() async throws -> MCPOAuthTokens? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | tools() | func tools() async throws -> [String : AITool] | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | toolsFromDefinitions(_:) | func toolsFromDefinitions(_ definitions: MCPListToolsResult) -> [String : AITool] | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | toProviderToolName(_:) | func toProviderToolName(_ customToolName: String) -> String | Sources/SwiftAISDK/CoreUtilities.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Instance Method | transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | transcription(_:) | func transcription(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | transcription(_:) | func transcription(_ modelID: String = "transcribe-1") throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | transcription() | func transcription() throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String = "transcribe-1") throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | transcriptionModel(_:) | func transcriptionModel(_ modelID: ModelID) throws -> any TranscriptionModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | transcriptionModel() | func transcriptionModel() throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | 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 | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Sources/SwiftAISDK/Models/OpenAISkills.swift |
| Instance Method | uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Sources/SwiftAISDK/Models/OpenAISkills.swift |
| Instance Method | userApproval(reason:) | func userApproval(reason: String? = nil) -> AIToolApprovalStatus | Sources/SwiftAISDK/CoreTools.swift |
| Instance Method | validateAuthorizationServerURL(serverURL:authorizationServerURL:) | func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | validateAuthorizationServerURL(serverURL:authorizationServerURL:) | func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | validateResourceURL(serverURL:resource:) | func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | validateResourceURL(serverURL:resource:) | func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | value() | func value() async throws -> Value | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Instance Method | video(_:) | func video(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | videoGenerationStatus(_:) | func videoGenerationStatus(_ statusRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Method | videoGenerationStatus(_:) | func videoGenerationStatus(_ operationRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Method | videoGenerationStatus(_:) | func videoGenerationStatus(_ statusRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | videoGenerationStatus(_:) | func videoGenerationStatus(_ operationRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | videoGenerationStatus(_:) | func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | videoModel(_:) | func videoModel(_ modelID: ModelID) throws -> any VideoModel | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Method | voiceChanger(_:) | func voiceChanger(_ modelID: String = "eleven_multilingual_sts_v2") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | voiceChangerModel(_:) | func voiceChangerModel(_ modelID: String = "eleven_multilingual_sts_v2") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | voiceIsolator(_:) | func voiceIsolator(_ modelID: String = "audio-isolation") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | voiceIsolatorModel(_:) | func voiceIsolatorModel(_ modelID: String = "audio-isolation") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | waitUntilAborted() | func waitUntilAborted() async -> String? | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | accessKey | var accessKey: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | accessKeyID | var accessKeyID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | accessKeyID | var accessKeyID: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | accessKeyID | var accessKeyID: String | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | accessKeyID | var accessKeyID: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | accessToken | var accessToken: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | accessToken | var accessToken: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | action | var action: MCPElicitAction | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | allowSystemInMessages | var allowSystemInMessages: Bool | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | annotations | var annotations: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | apiCallError | var apiCallError: AIAPICallError? { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | applicationType | var applicationType: MCPOAuthApplicationType? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | approval | var approval: AIToolApproval? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | approvalID | var approvalID: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | approvalID | var approvalID: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | approvalID | var approvalID: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | approved | var approved: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | appVisible | var appVisible: MCPListToolsResult | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | args | var args: [String] | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | arguments | var arguments: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | arguments | var arguments: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | arguments | var arguments: JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | arguments | var arguments: [MCPPromptArgument] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | arguments | var arguments: String? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | articleContentMaxCharacters | var articleContentMaxCharacters: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | aspectRatio | var aspectRatio: String? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | aspectRatio | var aspectRatio: String? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | attempt | var attempt: Int? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | attempts | var attempts: Int | Sources/SwiftAISDK/Core.swift |
| Instance Property | audio | var audio: Data | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | audio | var audio: Data | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | audio | var audio: Data | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | audio | var audio: Data | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | audio | var audio: Data | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | audio | var audio: Data | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | audio | var audio: AIStreamingAudioInput | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | authorizationEndpoint | var authorizationEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationResponseIssuerParameterSupported | var authorizationResponseIssuerParameterSupported: Bool? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServers | var authorizationServers: [URL] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationServerURL | var authorizationServerURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authorizationURL | var authorizationURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | authToken | var authToken: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | availableToolNames | var availableToolNames: [String] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | backoffFactor | var backoffFactor: Double | Sources/SwiftAISDK/Core.swift |
| Instance Property | balance | var balance: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | base64Images | var base64Images: [String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | base64Images | var base64Images: [String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | base64Videos | var base64Videos: [String] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | batch | var batch: TextBatch | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | batchID | var batchID: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | batchID | var batchID: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | billableWebSearchCalls | var billableWebSearchCalls: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | blob | var blob: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | body | var body: [String : JSONValue] | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | body | var body: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | body | var body: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | body | var body: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | body | var body: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | body | var body: Data? | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | body | var body: Data | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | body | var body: AsyncThrowingStream<Data, any Error> | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | body | var body: JSONValue | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | bodyAvailable | var bodyAvailable: Bool | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | bodyStream | var bodyStream: AsyncThrowingStream<Data, any Error>? | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | bodyText | var bodyText: String { get } | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | boolValue | var boolValue: Bool? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Instance Property | bufferedData | var bufferedData: Data? { get } | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | buildToolCallProviderMetadata | var buildToolCallProviderMetadata: (@Sendable ([String : JSONValue]?) -> [String : JSONValue]?)? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | byteCount | var byteCount: Int? { get } | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | byteSize | var byteSize: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | byteSize | var byteSize: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | cacheCreationInputTokens | var cacheCreationInputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | cacheCreationTokens | var cacheCreationTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | cachedInputTokens | var cachedInputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | cachedTokens | var cachedTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | callID | var callID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | calls | var calls: [ImageGenerationCall] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | calls | var calls: [ImageGenerationCall] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | category | var category: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | cause | var cause: AIAPICallError? | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | chatID | @MainActor let chatID: String | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | chatID | var chatID: String | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | chatID | var chatID: String | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | choice | var choice: JSONValue? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | chunkID | var chunkID: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | chunkNanoseconds | var chunkNanoseconds: UInt64? | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | chunkType | var chunkType: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | clientEmail | var clientEmail: String | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | clientID | var clientID: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientIDIssuedAt | var clientIDIssuedAt: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientIDMetadataDocumentSupported | var clientIDMetadataDocumentSupported: Bool? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientInformation | var clientInformation: MCPOAuthClientInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientMetadata | var clientMetadata: MCPOAuthClientMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientMetadata | var clientMetadata: MCPOAuthClientMetadata { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientName | var clientName: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientSecret | var clientSecret: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientSecretExpiresAt | let clientSecretExpiresAt: Int? | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Property | clientSecretExpiresAt | var clientSecretExpiresAt: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | clientURI | var clientURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | closeMetadata | var closeMetadata: AIDuplexWebSocketCloseMetadata? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | closeMetadata | var closeMetadata: AIDuplexWebSocketCloseMetadata? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | code | var code: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | code | var code: String? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | code | var code: Int | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | code | var code: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | code | var code: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | code | var code: JSONValue? | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | codeChallengeMethodsSupported | var codeChallengeMethodsSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | codeVerifier | var codeVerifier: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | combinedText | var combinedText: String { get } | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | command | var command: String | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | completed | var completed: Int | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | completionTokens | var completionTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | contacts | var contacts: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | content | var content: [AIResultContentPart] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | content | var content: AsyncThrowingStream<Data, any Error> | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | content | var content: [AIContentPart] | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | content | var content: [AIResultContentPart] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | content | var content: [AIResultContentPart] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | content | var content: [JSONValue] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | content | var content: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | content | var content: [String : JSONValue]? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | content | var content: [AIResultContentPart] | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Instance Property | contentFormat | var contentFormat: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | contents | var contents: [MCPResourceContent] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | contentType | var contentType: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | contentType | var contentType: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | contentType | var contentType: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | contentType | var contentType: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | context | var context: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | context | var context: AITypeValidationContext? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | contextSchema | var contextSchema: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | count | var count: Int? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | count | var count: Int? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | count | var count: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | count | var count: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | countryCode | var countryCode: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | createdAt | var createdAt: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | createdAt | var createdAt: Date? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | createdAt | var createdAt: Date? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | createdAt | var createdAt: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | credentialProvider | var credentialProvider: (@Sendable () async throws -> AmazonBedrockCredentials)? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | credentialProvider | var credentialProvider: (@Sendable () async throws -> AnthropicAWSCredentials)? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | credentialType | var credentialType: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | credentialType | var credentialType: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | cwd | var cwd: String? | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | data | var data: Data { get set } | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | data | var data: Data | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | data | var data: Data? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | data | var data: Data? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | data | var data: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | data | var data: JSONValue? | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | dataSource | var dataSource: GatewayTakoDataSourceConfig? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | date | var date: @Sendable () -> Date | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | date | var date: @Sendable () -> Date | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | date | var date: @Sendable () -> Date | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | datePart | var datePart: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | day | var day: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | delay | var delay: VideoGenerationDelay | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | delayNanoseconds | var delayNanoseconds: UInt64? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | deleted | var deleted: Bool | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Core.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Core.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | description | var description: String? { get } | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | description | var description: String? { get } | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | description | var description: String? | Sources/SwiftAISDK/Output.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/ProviderReference.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Instance Property | description | var description: String { get } | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | descriptor | var descriptor: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | destructiveHint | var destructiveHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | dimensions | var dimensions: Int? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | displayName | var displayName: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | displayTitle | var displayTitle: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | displayTitle | var displayTitle: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | document | var document: String? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | documentObjects | var documentObjects: [[String : JSONValue]]? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | documents | var documents: [String] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | doEmbed | var doEmbed: @Sendable () async throws -> EmbeddingResult | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | doGenerate | var doGenerate: @Sendable () async throws -> TextGenerationResult | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | doGenerate | var doGenerate: @Sendable () async throws -> TextGenerationResult | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | doGenerate | var doGenerate: @Sendable () async throws -> ImageGenerationResult | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | doStream | var doStream: @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | doStream | var doStream: @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | doubleValue | var doubleValue: Double? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Instance Property | dubbingID | var dubbingID: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | dubbingID | var dubbingID: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | durationInSeconds | var durationInSeconds: Double? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | durationInSeconds | var durationInSeconds: Double? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | durationNanoseconds | var durationNanoseconds: UInt64 | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | durationNanoseconds | var durationNanoseconds: UInt64? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | durationSeconds | var durationSeconds: Double? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | durationSeconds | var durationSeconds: Double? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | dynamic | var dynamic: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | dynamic | var dynamic: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | dynamic | var dynamic: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | effort | var effort: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | embeddings | var embeddings: [[Double]] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | endDate | var endDate: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | endSecond | var endSecond: Double | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | endTime | var endTime: Int? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | entityName | var entityName: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | env | var env: [String : String] | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | environment | var environment: [String : String]? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | environment | var environment: [String : String]? | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | environment | var environment: [String : String]? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | environment | var environment: [String : String]? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | error | @Published @MainActor var error: (any Error)? { get set } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | error | var error: (any Error)? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | error | @Published @MainActor var error: (any Error)? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | error | var error: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | error | var error: AIBatchError? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | error | var error: any Error | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | errorDescription | var errorDescription: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | errorDescription | var errorDescription: String? | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | errorDescription | var errorDescription: String? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | errorMessage | var errorMessage: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | errors | var errors: [String] | Sources/SwiftAISDK/Core.swift |
| Instance Property | evaluate | var evaluate: @Sendable (AIStopConditionContext) async throws -> Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | events | let events: AsyncThrowingStream<AIRealtimeSessionEvent, any Error> | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Property | events | var events: AsyncThrowingStream<AIDuplexWebSocketEvent, any Error> { get } | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | example | var example: JSONValue | Sources/SwiftAISDK/ToolInputExamplesMiddleware.swift |
| Instance Property | excludeDomains | var excludeDomains: [String] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | executableTools | var executableTools: [AITool] { get } | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | executableTools | var executableTools: [AITool] | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | executableTools | var executableTools: [AITool] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | executableTools | var executableTools: [AITool]? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | executableTools | var executableTools: [AITool] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | execute | var execute: @Sendable (JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | execute | var execute: @Sendable () async throws -> Output | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | execute | var execute: @Sendable () async throws -> Output | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | executeWithContext | var executeWithContext: @Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | expectedDurationSeconds | var expectedDurationSeconds: Double? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | experimentalTranscription | var experimentalTranscription: GatewayTranscriptionFactory { get } | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | expiresAfterSeconds | var expiresAfterSeconds: Int? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | expiresAfterSeconds | var expiresAfterSeconds: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | expiresAt | var expiresAt: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | expiresAt | var expiresAt: Date? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | expiresAt | var expiresAt: Date? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | expiresAt | var expiresAt: Int? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | expiresAt | var expiresAt: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | expiresIn | var expiresIn: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | extraBody | var extraBody: [String : JSONValue] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | extractMetadata | var extractMetadata: (@Sendable (AIStreamingToolCallDelta) -> [String : JSONValue]?)? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | factoryNames | var factoryNames: [String] | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | failed | var failed: Int | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | feature | var feature: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | field | var field: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | file | var file: Data? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | file | var file: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | file | var file: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | file | var file: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | fileData | var fileData: FileUploadData | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | filename | var filename: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | filename | var filename: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | filename | var filename: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | filename | var filename: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | filename | var filename: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | fileName | var fileName: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | fileName | var fileName: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | fileName | var fileName: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | fileName | var fileName: String? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | filePayload | var filePayload: (mimeType: String, data: Data, filename: String?)? { get } | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | files | var files: [SkillUploadFile] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | files | var files: [ImageInputFile] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | files | var files: [AIStreamFile] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | files | var files: [AIStreamFile] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | finalStep | var finalStep: AIToolStep? { get } | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | finishReason | @Published @MainActor var finishReason: String? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/Output.swift |
| Instance Property | finishReason | var finishReason: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | finishReason | var finishReason: String? | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Instance Property | firstChunkNanoseconds | var firstChunkNanoseconds: UInt64? | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | followRedirects | var followRedirects: Bool | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | forceRefresh | var forceRefresh: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | format | var format: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | format | var format: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | format | var format: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | fps | var fps: Double? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | frameImages | var frameImages: [VideoFrameImage] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | frameType | var frameType: VideoFrameType | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | frequencyPenalty | var frequencyPenalty: Double? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | frequencyPenalty | var frequencyPenalty: Double? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | frequencyPenalty | var frequencyPenalty: Double? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | frequencyPenalty | var frequencyPenalty: Double? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | frequencyPenalty | var frequencyPenalty: Double? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | functionID | var functionID: String? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | functionID | var functionID: String? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | functionName | var functionName: String? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | generateAudio | var generateAudio: Bool? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | generateID | var generateID: @Sendable () -> String | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | generateMessageID | @MainActor var generateMessageID: @Sendable () -> String | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | generateMessageID | var generateMessageID: @Sendable () -> String | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | generationID | var generationID: String? | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | generationTime | var generationTime: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | grantTypes | var grantTypes: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | grantTypesSupported | var grantTypesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | groupBy | var groupBy: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | hasMore | var hasMore: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | headers | var headers: [String : String] | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | highlights | var highlights: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | hour | var hour: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | html | var html: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | id | var id: String? { get } | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | id | var id: String { get } | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | id | var id: String { get } | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | id | var id: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | id | var id: String? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | idempotencyKey | var idempotencyKey: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | idempotentHint | var idempotentHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | idToken | var idToken: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | image | var image: ImageInputFile | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | image | var image: ImageInputFile? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | imageDarkMode | var imageDarkMode: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | includeContents | var includeContents: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | includeContents | var includeContents: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | includeDomains | var includeDomains: [String] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | includeRawChunks | var includeRawChunks: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | includeRawChunks | var includeRawChunks: Bool | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | includeRawChunks | var includeRawChunks: Bool | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | includeRawChunks | var includeRawChunks: Bool | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | includeRelated | var includeRelated: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | includeResponseBody | var includeResponseBody: Bool | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | includesInput | var includesInput: Bool | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | includesInput | var includesInput: Bool | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | includesOutput | var includesOutput: Bool | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | includesOutput | var includesOutput: Bool | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | includeUsage | var includeUsage: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | index | var index: Int | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | index | var index: Int | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | index | var index: Int? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | index | var index: Int | Sources/SwiftAISDK/ToolInputExamplesMiddleware.swift |
| Instance Property | initialDelayNanoseconds | var initialDelayNanoseconds: UInt64 | Sources/SwiftAISDK/Core.swift |
| Instance Property | initializeResult | var initializeResult: JSONValue { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | initialRequest | var initialRequest: LanguageModelRequest | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | input | var input: JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | input | var input: JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | input | var input: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | input | var input: JSONValue? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | inputAudioFormat | var inputAudioFormat: AIRealtimeAudioFormat? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | inputAudioFormat | var inputAudioFormat: AIStreamingAudioFormat | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | inputAudioTranscription | var inputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | inputExamples | var inputExamples: [JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | inputReferences | var inputReferences: [ImageInputFile] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | inputSchema | var inputSchema: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | inputTextDelta | var inputTextDelta: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | inputTokens | var inputTokens: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | inputTokens | var inputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | inputTokensCacheRead | var inputTokensCacheRead: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | inputTokensCacheWrite | var inputTokensCacheWrite: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | inputTokensNoCache | var inputTokensNoCache: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | instructions | var instructions: String? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | instructions | var instructions: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | instructions | var instructions: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | instructions | var instructions: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | instructions | var instructions: String? { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | integrations | var integrations: [any Telemetry.Integration]? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | intervalMilliseconds | var intervalMilliseconds: Int | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | intValue | var intValue: Int? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Instance Property | isAbort | var isAbort: Bool | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | isAborted | var isAborted: Bool { get } | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | isAutomatic | var isAutomatic: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | isByok | var isByok: Bool | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | isDisconnect | var isDisconnect: Bool | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | isEnabled | var isEnabled: Bool | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | isEnabled | var isEnabled: Bool | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | isError | var isError: Bool | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | isError | var isError: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | isError | var isError: Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | isLoading | @MainActor var isLoading: Bool { get } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | isNotFound | var isNotFound: Bool { get } | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | isPending | var isPending: Bool { get } | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Instance Property | isRejected | var isRejected: Bool { get } | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Instance Property | isResolved | var isResolved: Bool { get } | Sources/SwiftAISDK/CoreDelayedPromise.swift |
| Instance Property | isRetryable | var isRetryable: Bool | Sources/SwiftAISDK/Errors.swift |
| Instance Property | isRetryable | var isRetryable: Bool | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | isRetryable | var isRetryable: Bool | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | isRunning | @MainActor var isRunning: Bool { get } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | isStream | var isStream: Bool { get } | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | issuer | var issuer: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | issues | var issues: [AIUIMessageValidationIssue] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | isValid | var isValid: Bool { get } | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | jsonInstruction | var jsonInstruction: AIJSONInstruction? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | jsonSchema | var jsonSchema: JSONValue { get } | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | jsonSchema | var jsonSchema: JSONValue | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | jwks | var jwks: JSONValue? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | jwksURI | var jwksURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | kind | var kind: AIObjectGenerationFailureKind | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | kind | var kind: AINoOutputKind | Sources/SwiftAISDK/Errors.swift |
| Instance Property | kind | var kind: AIOutputKind | Sources/SwiftAISDK/Output.swift |
| Instance Property | kind | var kind: Telemetry.Event.Kind | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | language | var language: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | language | var language: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | language | var language: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | language | var language: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | language | var language: String? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | latency | var latency: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | latestVersion | var latestVersion: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | latitude | var latitude: Double? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | locale | var locale: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | location | var location: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | logoURI | var logoURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | longitude | var longitude: Double? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | marketCost | var marketCost: Double? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | mask | var mask: ImageInputFile? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | maxDelayNanoseconds | var maxDelayNanoseconds: UInt64 | Sources/SwiftAISDK/Core.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int | Sources/SwiftAISDK/Errors.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Property | maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | maxOutputTokens | var maxOutputTokens: Int? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | maxOutputTokens | var maxOutputTokens: Int? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | maxOutputTokens | var maxOutputTokens: Int? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | maxOutputTokens | var maxOutputTokens: Int? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | maxOutputTokens | var maxOutputTokens: Int? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | maxResponseBytes | var maxResponseBytes: Int? | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | maxRetries | var maxRetries: Int | Sources/SwiftAISDK/Core.swift |
| Instance Property | maxRetries | var maxRetries: Int | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | maxRetries | var maxRetries: Int? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | maxRows | var maxRows: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | maxSteps | var maxSteps: Int | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | maxSteps | var maxSteps: Int | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | maxSteps | var maxSteps: Int | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | maxTotalTimeoutMilliseconds | var maxTotalTimeoutMilliseconds: Int? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Property | maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | maxVideosPerCall | var maxVideosPerCall: Int { get } | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | maxVideosPerCall | var maxVideosPerCall: Int { get } | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | mediaType | var mediaType: String | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | mediaType | var mediaType: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | mediaType | var mediaType: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | mediaType | var mediaType: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | mediaType | var mediaType: String | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | mediaType | var mediaType: String? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | mediaType | var mediaType: String | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | mediaType | var mediaType: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | mediaType | var mediaType: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | mediaType | var mediaType: String? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | message | var message: AIUIMessage? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | message | var message: AIUIMessage { get } | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | message | var message: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | message | var message: String | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | messageID | var messageID: String? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | messages | var messages: [AIUIMessage] | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | messages | @Published @MainActor var messages: [AIUIMessage] { get set } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | messages | var messages: [AIUIMessage] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | messages | var messages: [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | messages | var messages: [AIMessage] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | messages | var messages: [AIMessage] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | messages | var messages: [AIMessage] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | messages | var messages: [AIMessage] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | messages | var messages: [AIMessage] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | messages | var messages: [AIMessage] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | messages | var messages: [MCPPromptMessage] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | metadata | @Published @MainActor var metadata: [String : JSONValue] { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | metadata | var metadata: [String : JSONValue]? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | metadata | var metadata: MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | method | var method: String | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | mimeType | var mimeType: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | mimeType | var mimeType: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | mimeType | var mimeType: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | mimeType | var mimeType: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | modalities | var modalities: [String]? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | mode | var mode: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | model | var model: any LanguageModel | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | model | var model: any LanguageModel | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | model | @MainActor var model: any LanguageModel | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | model | var model: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | model | var model: any LanguageModel | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | model | var model: (any LanguageModel)? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | model | var model: any LanguageModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: any LanguageModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: any LanguageModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: any ImageModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: any ImageModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: any EmbeddingModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: any EmbeddingModel | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | model | var model: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | model | var model: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | model | var model: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | model | var model: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | modelFamily | var modelFamily: AmazonBedrockEmbeddingModelFamily? | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Property | modelID | var modelID: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | modelID | var modelID: String { get } | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | modelID | var modelID: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Instance Property | modelID | let modelID: FishAudioSpeechModelID | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | modelID | let modelID: FishAudioTranscriptionModelID | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAICompatibleChatModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAICompatibleCompletionModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/OpenAIResponsesModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Property | modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | modelID | var modelID: String | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Instance Property | modelID | var modelID: String? | Sources/SwiftAISDK/WarningLogging.swift |
| Instance Property | modelOutput | var modelOutput: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | modelType | var modelType: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | modelURL | var modelURL: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | modelVisible | var modelVisible: MCPListToolsResult | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | name | var name: String? { get } | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | name | var name: String? { get } | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | name | var name: String { get } | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/Output.swift |
| Instance Property | name | var name: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | needsApproval | var needsApproval: AIToolNeedsApproval? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | nodeIDs | var nodeIDs: [String] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | notes | var notes: String? | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | numSpeakers | var numSpeakers: Int? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | object | var object: Output? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | object | @Published @MainActor var object: Output? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | object | var object: Object | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | object | var object: Output | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | objectValue | var objectValue: [String : JSONValue]? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Instance Property | onError | @MainActor var onError: (@MainActor @Sendable (any Error) -> Void)? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | onError | @MainActor var onError: (@MainActor @Sendable (any Error) -> Void)? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | onError | var onError: (@Sendable (AIObjectGenerationErrorEvent) async -> Void)? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | onFinish | @MainActor var onFinish: (@MainActor @Sendable (AIChatSessionFinishEvent) -> Void)? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | onFinish | @MainActor var onFinish: (@MainActor @Sendable (AIObjectGenerationSessionFinishEvent<Output>) -> Void)? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | onFinish | var onFinish: (@Sendable (AIObjectGenerationFinishEvent<Output>) async -> Void)? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | onInputAvailable | var onInputAvailable: AIToolInputAvailableCallback? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | onInputDelta | var onInputDelta: AIToolInputDeltaCallback? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | onInputStart | var onInputStart: AIToolInputStartCallback? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | onStart | var onStart: (@Sendable (AIObjectGenerationStartEvent) async -> Void)? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | onStepFinish | var onStepFinish: (@Sendable (AIObjectGenerationStepFinishEvent) async -> Void)? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | onStepStart | var onStepStart: (@Sendable (AIObjectGenerationStepStartEvent) async -> Void)? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | openWorldHint | var openWorldHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | operation | var operation: JSONValue | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | operation | var operation: JSONValue | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | operationID | var operationID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | operationID | var operationID: String? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | operationID | var operationID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | operationID | var operationID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | organization | var organization: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | originalError | var originalError: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | output | @MainActor var output: AIOutput<Output, Partial> | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | output | var output: JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | output | var output: Output | Sources/SwiftAISDK/Output.swift |
| Instance Property | output | var output: JSONValue? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | outputAudioFormat | var outputAudioFormat: AIRealtimeAudioFormat? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | outputAudioTranscription | var outputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | outputKind | var outputKind: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | outputModalities | var outputModalities: [AIRealtimeOutputModality]? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | outputReasoningTokens | var outputReasoningTokens: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | outputSchema | var outputSchema: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | outputTextTokens | var outputTextTokens: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | outputTokens | var outputTokens: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | outputTokens | var outputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | overrideModelID | var overrideModelID: (@Sendable (any LanguageModel) -> String)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | overrideModelID | var overrideModelID: (@Sendable (any ImageModel) -> String)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | overrideModelID | var overrideModelID: (@Sendable (any EmbeddingModel) -> String)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | overrideProviderID | var overrideProviderID: (@Sendable (any LanguageModel) -> String)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | overrideProviderID | var overrideProviderID: (@Sendable (any ImageModel) -> String)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | overrideProviderID | var overrideProviderID: (@Sendable (any EmbeddingModel) -> String)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | parameters | var parameters: JSONValue | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | parameters | var parameters: JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | parameters | var parameters: [URLQueryItem] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | partialObject | @Published @MainActor var partialObject: Partial? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | parts | var parts: [AIUIMessagePart] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | path | var path: String | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | path | var path: String | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | path | var path: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | path | var path: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | pending | var pending: Int | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | phase | var phase: AIStreamTimeoutPhase | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | policyURI | var policyURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | pollIntervalNanoseconds | var pollIntervalNanoseconds: UInt64 | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | pollTimeoutNanoseconds | var pollTimeoutNanoseconds: UInt64 | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | prefixPaddingMilliseconds | var prefixPaddingMilliseconds: Int? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | preliminary | var preliminary: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | prepareStep | var prepareStep: AIPrepareStep? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | prepareStep | var prepareStep: AIPrepareStep? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | prepareStep | var prepareStep: AIPrepareStep? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | presencePenalty | var presencePenalty: Double? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | presencePenalty | var presencePenalty: Double? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | presencePenalty | var presencePenalty: Double? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | presencePenalty | var presencePenalty: Double? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | presencePenalty | var presencePenalty: Double? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | privateKey | var privateKey: String | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | privateKeyID | var privateKeyID: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | project | var project: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | project | var project: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | prompt | var prompt: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | prompt | var prompt: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | prompt | var prompt: String | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | prompt | var prompt: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | prompt | var prompt: String | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | prompts | var prompts: [MCPPrompt] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | promptTokens | var promptTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | protocols | var protocols: [String] | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | protocols | var protocols: [String] | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | provider | var provider: String { get } | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | provider | var provider: String | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | provider | var provider: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | provider | var provider: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | provider | var provider: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | provider | var provider: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | provider | var provider: String | Sources/SwiftAISDK/ProviderReference.swift |
| Instance Property | provider | var provider: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | provider | var provider: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | provider | var provider: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | providerExecuted | var providerExecuted: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerExecuted | var providerExecuted: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerExecuted | var providerExecuted: Bool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | providerID | var providerID: String { get } | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAICompatibleChatModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAICompatibleCompletionModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAICompatibleMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAIResponsesModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAISkills.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/OpenAISkills.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | providerID | let providerID: String | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | providerID | var providerID: String | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Instance Property | providerID | var providerID: String? | Sources/SwiftAISDK/WarningLogging.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] { get } | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/Output.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | providerName | var providerName: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue]? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | providerOptions | var providerOptions: [String : JSONValue] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | providerReference | var providerReference: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerReference | var providerReference: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerReference | var providerReference: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerReference | var providerReference: [String : String] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | providerReference | var providerReference: AIProviderReference? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | publishedAfter | var publishedAfter: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | publishedBefore | var publishedBefore: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | purpose | var purpose: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | query | var query: String | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | queryParams | var queryParams: [String : String] | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | rate | var rate: Int? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | rawFinishReason | var rawFinishReason: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | rawObject | var rawObject: JSONValue | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | rawObject | var rawObject: JSONValue | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | rawOutput | var rawOutput: JSONValue | Sources/SwiftAISDK/Output.swift |
| Instance Property | rawStatus | var rawStatus: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | rawTools | var rawTools: [String : JSONValue] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | rawValue | var rawValue: String | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | readOnlyHint | var readOnlyHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | reason | var reason: AIRetryErrorReason | Sources/SwiftAISDK/Core.swift |
| Instance Property | reason | var reason: String? | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | reason | var reason: String? { get } | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | reason | var reason: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | reason | var reason: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | reason | var reason: String? | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | reason | var reason: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | reasoning | var reasoning: String? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | reasoning | var reasoning: String? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | reasoning | var reasoning: String? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | reasoning | var reasoning: String? | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | reasoning | var reasoning: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | reasoning | var reasoning: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | reasoning | var reasoning: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | reasoning | var reasoning: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | reasoning | var reasoning: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | reasoning | var reasoning: String { get } | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | reasoning | var reasoning: String? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | reasoning | var reasoning: String | Sources/SwiftAISDK/Output.swift |
| Instance Property | reasoning | var reasoning: String? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | reasoningText | var reasoningText: String { get } | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | reasoningTokens | var reasoningTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | reasoningTokens | var reasoningTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | reasonName | var reasonName: String? | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | reasonName | var reasonName: String? { get } | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | redirectURIs | var redirectURIs: [URL] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | redirectURL | var redirectURL: URL { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | reference | var reference: TextBatchReference | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | reference | var reference: AIProviderReference | Sources/SwiftAISDK/ProviderReference.swift |
| Instance Property | refineArguments | var refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | refreshToken | var refreshToken: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | region | var region: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | region | var region: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | registrationEndpoint | var registrationEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | repairAttempted | var repairAttempted: Bool | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | repairedInput | var repairedInput: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | repairText | var repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | request | var request: LanguageModelRequest? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | request | var request: LanguageModelRequest? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: LanguageModelRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: ImageGenerationRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: ImageGenerationRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: EmbeddingRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: EmbeddingRequest | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | request | var request: VideoGenerationRequest | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | requestBody | var requestBody: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | requestCount | var requestCount: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | requestCounts | var requestCounts: AIBatchRequestCounts? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | requestedSchema | var requestedSchema: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | requestID | var requestID: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | requestMetadata | var requestMetadata: AIRequestMetadata | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | requestOptions | var requestOptions: AIChatRequestOptions | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | requestOptions | var requestOptions: AIChatRequestOptions | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | requestOptions | var requestOptions: AIChatRequestOptions | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | requests | var requests: [Request] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | required | var required: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resolution | var resolution: String? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | resource | var resource: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | resources | var resources: [MCPResource] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resourceTemplates | var resourceTemplates: [MCPResourceTemplate] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resourceURI | var resourceURI: String? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | response | var response: AIResponseMetadata? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | response | var response: JSONValue? | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | responseBody | var responseBody: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | responseBody | var responseBody: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | responseFormat | var responseFormat: AIResponseFormat? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | responseFormat | var responseFormat: AIResponseFormat? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | responseFormat | var responseFormat: AIResponseFormat? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | responseFormat | var responseFormat: AIResponseFormat? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | responseHeaders | var responseHeaders: [String : String] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | responseMessageID | var responseMessageID: String? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | responseMessages | var responseMessages: [AIMessage] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMessages | var responseMessages: [AIMessage] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | responseMetadata | @Published @MainActor var responseMetadata: AIResponseMetadata? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/Output.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | responseMetadata | var responseMetadata: AIResponseMetadata | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | responses | var responses: [AIResponseMetadata] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | responseTypes | var responseTypes: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | responseTypesSupported | var responseTypesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | result | var result: AIOutputGenerationResult<Output>? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | result | @Published @MainActor var result: AIOutputGenerationResult<Output>? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | result | var result: JSONValue | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | results | var results: [RerankedDocument] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | results | var results: [GatewaySpendReportRow] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | retryPolicy | var retryPolicy: AIRetryPolicy? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | retryPolicy | var retryPolicy: AIRetryPolicy | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | retryPolicy | var retryPolicy: AIRetryPolicy | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | retryPolicy | var retryPolicy: AIRetryPolicy | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | retryPolicy | var retryPolicy: AIRetryPolicy | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | role | var role: MessageRole | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | role | var role: MessageRole | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | role | var role: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | sampleRate | var sampleRate: Int? | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | schema | var schema: JSONValue? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | schema | var schema: JSONValue { get } | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | schema | var schema: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | schema | var schema: JSONValue? | Sources/SwiftAISDK/Output.swift |
| Instance Property | schemaDescription | var schemaDescription: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | schemaName | var schemaName: String? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | schemaPrefix | var schemaPrefix: String? | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | schemaSuffix | var schemaSuffix: String? | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Instance Property | scope | var scope: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | scope | var scope: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | scope | var scope: AIPruneToolCalls.Scope | Sources/SwiftAISDK/PruneMessages.swift |
| Instance Property | scopesSupported | var scopesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | score | var score: Double | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | secretAccessKey | var secretAccessKey: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | secretAccessKey | var secretAccessKey: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | secretAccessKey | var secretAccessKey: String | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | secretAccessKey | var secretAccessKey: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | secretKey | var secretKey: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | seed | var seed: Int? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | segments | var segments: [TranscriptionSegment] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | segments | var segments: [TranscriptionSegment] | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | sendAutomaticallyWhen | @MainActor var sendAutomaticallyWhen: (@MainActor @Sendable ([AIUIMessage]) -> Bool)? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | sendFinish | var sendFinish: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | sendReasoning | var sendReasoning: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | sendSources | var sendSources: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | serverCapabilities | var serverCapabilities: JSONValue { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | serverInfo | var serverInfo: MCPImplementation { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | serviceAccount | var serviceAccount: GoogleServiceAccountCredentials? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | sessionConfig | var sessionConfig: AIRealtimeSessionConfiguration? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | setting | var setting: String? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | signal | let signal: AIAbortSignal | Sources/SwiftAISDK/CoreAbort.swift |
| Instance Property | silenceDurationMilliseconds | var silenceDurationMilliseconds: Int? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | size | var size: String? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | size | var size: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | snippetMaxCharacters | var snippetMaxCharacters: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | softwareID | var softwareID: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | softwareStatement | var softwareStatement: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | softwareVersion | var softwareVersion: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | sourceLanguage | var sourceLanguage: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | sourceLanguage | var sourceLanguage: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | sources | @Published @MainActor var sources: [AISource] { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | sources | var sources: [AISource] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | sources | var sources: [AISource] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | sourceType | var sourceType: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | sourceURL | var sourceURL: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | specificationVersion | var specificationVersion: String { get } | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | specificationVersion | var specificationVersion: String { get } | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | speed | var speed: Double? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | startDate | var startDate: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | startSecond | var startSecond: Double | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | startTime | var startTime: Int? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | state | var state: AIParsePartialJSONState | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Instance Property | state | var state: AIUIStreamingPartState? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | state | var state: AIUIStreamingPartState? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | status | @Published @MainActor var status: AIChatSessionStatus { get set } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | status | @Published @MainActor var status: AIObjectGenerationSessionStatus { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | status | var status: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | status | var status: AIBatchLifecycleStatus | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | status | var status: AIBatchStatus | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | status | var status: AIBatchStatus | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | statusCode | var statusCode: Int? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | statusCode | var statusCode: Int | Sources/SwiftAISDK/Errors.swift |
| Instance Property | statusCode | var statusCode: Int | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | statusCode | var statusCode: Int | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | statusCode | var statusCode: Int | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | statusCode | var statusCode: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | statusCode | var statusCode: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | statusCode | var statusCode: Int? | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | stepNanoseconds | var stepNanoseconds: UInt64? | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | stepNumber | var stepNumber: Int | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | stepNumber | var stepNumber: Int | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | stepNumber | var stepNumber: Int | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | steps | var steps: [AIToolStep] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | steps | var steps: [AIToolStep] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | steps | var steps: [AIToolStep] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | stopSequences | var stopSequences: [String] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | stopSequences | var stopSequences: [String] | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | stopSequences | var stopSequences: [String] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | stopSequences | var stopSequences: [String]? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | stopSequences | var stopSequences: [String] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | stopWhen | var stopWhen: [AIStopCondition] | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | stopWhen | var stopWhen: [AIStopCondition] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | stopWhen | var stopWhen: [AIStopCondition] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | strategy | var strategy: AIObjectOutputStrategy | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | stream | var stream: AsyncThrowingStream<StreamingTranscriptionPart, any Error> | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | stream | let stream: AsyncThrowingStream<Element, any Error> | Sources/SwiftAISDK/CoreUtilities.swift |
| Instance Property | streamed | var streamed: Bool | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | streamProviderError | var streamProviderError: AIStreamProviderError? { get } | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | streamTimeout | var streamTimeout: AIStreamTimeoutConfiguration? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | streamTimeout | var streamTimeout: AIStreamTimeoutConfiguration? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | strict | var strict: Bool? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | strict | var strict: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | strictResponseInput | var strictResponseInput: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | stringValue | var stringValue: String? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Instance Property | structuredContent | var structuredContent: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | structuredOutputKind | var structuredOutputKind: AIOutputKind? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | success | var success: Bool { get } | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | supportedCapabilities | var supportedCapabilities: Set<ModelCapability> { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Property | supportedCapabilities | var supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Property | supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | supportedFileOperations | let supportedFileOperations: Set<AIFileOperation> | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Property | supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/AnthropicBatchLanguageModel.swift |
| Instance Property | supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Instance Property | supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | supportsDynamicClientRegistration | var supportsDynamicClientRegistration: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | supportsDynamicClientRegistration | var supportsDynamicClientRegistration: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | supportsFileUpload | var supportsFileUpload: Bool | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | supportsMCPToolParameterHeaders | let supportsMCPToolParameterHeaders: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | supportsMCPToolParameterHeaders | var supportsMCPToolParameterHeaders: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsMCPToolParameterHeaders | var supportsMCPToolParameterHeaders: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsProtocolVersionDiscovery | let supportsProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | supportsProtocolVersionDiscovery | let supportsProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | supportsProtocolVersionDiscovery | var supportsProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsProtocolVersionDiscovery | var supportsProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | supportsSkillUpload | var supportsSkillUpload: Bool | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | supportsUnaryVideoGeneration | var supportsUnaryVideoGeneration: Bool { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportsUnaryVideoGeneration | var supportsUnaryVideoGeneration: Bool { get } | Sources/SwiftAISDK/CoreProtocols.swift |
| Instance Property | supportsUnaryVideoGeneration | let supportsUnaryVideoGeneration: Bool | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | supportsVideoGenerationWebhooks | let supportsVideoGenerationWebhooks: Bool | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | supportsVideoGenerationWebhooks | let supportsVideoGenerationWebhooks: Bool | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | supportsVideoGenerationWebhooks | var supportsVideoGenerationWebhooks: Bool { get } | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | supportsVideoGenerationWebhooks | var supportsVideoGenerationWebhooks: Bool { get } | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | tag | var tag: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | tags | var tags: [String] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | targetLanguage | var targetLanguage: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | targetLanguages | var targetLanguages: [String] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | telemetry | var telemetry: Telemetry.Options? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | telemetry | var telemetry: Telemetry.Options? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | telemetry | var telemetry: Telemetry.Options? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | telemetry | var telemetry: Telemetry.Options? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | telemetry | var telemetry: Telemetry.Options? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | temperature | var temperature: Double? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | temperature | var temperature: Double? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | temperature | var temperature: Double? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | temperature | var temperature: Double? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | temperature | var temperature: Double? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | text | @Published @MainActor var text: String { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | text | var text: String? { get } | Sources/SwiftAISDK/CoreMessages.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | text | var text: String { get } | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | text | var text: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | text | var text: String | Sources/SwiftAISDK/Output.swift |
| Instance Property | textResult | var textResult: TextGenerationResult | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | textResult | var textResult: TextGenerationResult | Sources/SwiftAISDK/Output.swift |
| Instance Property | threshold | var threshold: Double? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | timeoutMilliseconds | var timeoutMilliseconds: Int? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | timeoutMilliseconds | var timeoutMilliseconds: Int | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Sources/SwiftAISDK/Core.swift |
| Instance Property | timestamp | var timestamp: Date? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | timezone | var timezone: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | token | var token: String | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | token | var token: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpoint | var tokenEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpointAuthMethod | var tokenEndpointAuthMethod: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenEndpointAuthMethodsSupported | var tokenEndpointAuthMethodsSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenType | var tokenType: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | tokenURL | var tokenURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | toModelOutput | var toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | tool | var tool: AITool | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolAnnotations | var toolAnnotations: MCPToolAnnotations? { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | toolApproval | var toolApproval: AIToolApproval? | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | toolApproval | var toolApproval: AIToolApproval? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | toolApprovalRequests | var toolApprovalRequests: [AIToolApprovalRequest] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | toolApprovalRequests | var toolApprovalRequests: [AIToolApprovalRequest] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolApprovalResponses | var toolApprovalResponses: [AIToolApprovalResponse] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | toolApprovalResponses | var toolApprovalResponses: [AIToolApprovalResponse] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCall | var toolCall: AIToolCall | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCall | var toolCall: AIToolCall | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolCallID | var toolCallID: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolCallID | var toolCallID: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolCallID | var toolCallID: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | toolCallIDs | var toolCallIDs: [String] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolCalls | var toolCalls: [AIToolCall] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | toolCalls | var toolCalls: [AIToolCall] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolChoice | var toolChoice: JSONValue? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | toolChoice | var toolChoice: JSONValue? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | toolChoice | var toolChoice: JSONValue? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | toolChoice | var toolChoice: JSONValue | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Instance Property | toolContext | var toolContext: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolContext | var toolContext: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolContext | var toolContext: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolContext | var toolContext: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolContext | var toolContext: JSONValue? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolContexts | var toolContexts: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | toolContexts | var toolContexts: [String : JSONValue] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | toolContexts | var toolContexts: [String : JSONValue] | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | toolName | var toolName: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolName | var toolName: String | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | toolName | var toolName: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolName | var toolName: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolName | var toolName: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | toolName | var toolName: String | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | toolResult | var toolResult: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | toolResults | var toolResults: [AIToolResult] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | toolResults | var toolResults: [AIToolResult] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | tools | var tools: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | tools | var tools: [String : JSONValue] | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | tools | var tools: [AIRealtimeToolDefinition]? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | tools | var tools: [String : JSONValue] | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | tools | var tools: [MCPToolDefinition] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | tools | var tools: Set<String>? | Sources/SwiftAISDK/PruneMessages.swift |
| Instance Property | toolsByName | var toolsByName: [String : AITool] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | topK | var topK: Int? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | topK | var topK: Int? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | topK | var topK: Int? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | topK | var topK: Int? | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | topK | var topK: Int? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | topK | var topK: Int? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | topP | var topP: Double? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | topP | var topP: Double? | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | topP | var topP: Double? | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Instance Property | topP | var topP: Double? | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Instance Property | topP | var topP: Double? | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | tosURI | var tosURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | total | var total: Int | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | total | var total: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | totalCost | var totalCost: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | totalCost | var totalCost: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | totalNanoseconds | var totalNanoseconds: UInt64? | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Instance Property | totalTokens | var totalTokens: Int? | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | totalUsed | var totalUsed: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | transformRequest | var transformRequest: (@Sendable (AILanguageModelTransformContext) async throws -> LanguageModelRequest)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | transformRequest | var transformRequest: (@Sendable (AIImageModelTransformContext) async throws -> ImageGenerationRequest)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | transformRequest | var transformRequest: (@Sendable (AIEmbeddingModelTransformContext) async throws -> EmbeddingRequest)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | transport | @MainActor var transport: any AIChatTransport | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | trigger | var trigger: AIChatTransportTrigger | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | turnDetection | var turnDetection: AIRealtimeTurnDetectionConfiguration? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | type | var type: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | type | let type: AIBatchReferenceType | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | type | var type: String | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | type | var type: String | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | type | var type: AIRealtimeTurnDetectionType | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | type | var type: String | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | type | var type: GatewayErrorType | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | type | var type: AILanguageModelCallType | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | type | var type: String? | Sources/SwiftAISDK/StreamProviderError.swift |
| Instance Property | type | var type: String? | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | typeValidation | var typeValidation: AIStreamingToolCallTypeValidation | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Instance Property | upstreamInferenceCost | var upstreamInferenceCost: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | upstreamPackage | var upstreamPackage: String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | upstreamType | var upstreamType: String { get } | Sources/SwiftAISDK/GatewayErrors.swift |
| Instance Property | uri | var uri: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | uri | var uri: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | uri | var uri: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | uri | var uri: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | uriTemplate | var uriTemplate: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | url | var url: String? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | url | var url: String | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | url | var url: String | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | url | var url: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | url | var url: String? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | url | var url: URL | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Instance Property | url | var url: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | url | var url: URL | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | url | var url: String | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | url | var url: URL? | Sources/SwiftAISDK/HTTP.swift |
| Instance Property | url | var url: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | url | var url: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | url | var url: String | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | urls | var urls: [String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | urls | var urls: [String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | urls | var urls: [String] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | usage | @Published @MainActor var usage: TokenUsage? { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | usage | var usage: TokenUsage | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/Output.swift |
| Instance Property | usage | var usage: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | usage | var usage: TokenUsage? | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | user | var user: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | userID | var userID: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | usesToolLoop | var usesToolLoop: Bool { get } | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Instance Property | validationError | var validationError: AITypeValidationError? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | validationIssues | var validationIssues: [AIUIMessageValidationIssue] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | value | var value: JSONValue? | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Instance Property | value | var value: JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | value | var value: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | value | var value: JSONValue? | Sources/SwiftAISDK/JSONParsing.swift |
| Instance Property | value | var value: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | values | var values: [String] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | values | var values: [String] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | values | var values: [String] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | version | var version: String { get } | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | version | var version: String { get } | Sources/SwiftAISDK/AIAgent.swift |
| Instance Property | version | let version: Int | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | version | var version: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | version | var version: String | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | videoBaseURL | var videoBaseURL: String? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | visibility | var visibility: [MCPAppToolMeta.Visibility]? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | voice | var voice: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | voice | var voice: String? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | voice | var voice: String? | Sources/SwiftAISDK/CoreRealtime.swift |
| Instance Property | warning | var warning: AIWarning | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | warnings | @Published @MainActor var warnings: [AIWarning] { get set } | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | warnings | var warnings: [AIBatchWarning] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | warnings | var warnings: [AIBatchWarning] | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreMediaResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreTools.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/Output.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/Telemetry.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | warnings | var warnings: [AIWarning] | Sources/SwiftAISDK/WarningLogging.swift |
| Instance Property | watermark | var watermark: Bool? | Sources/SwiftAISDK/CoreAudioResults.swift |
| Instance Property | webhookURL | var webhookURL: String? | Sources/SwiftAISDK/CoreBatch.swift |
| Instance Property | webhookURL | var webhookURL: String? | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Instance Property | webSocketTransport | var webSocketTransport: any AIDuplexWebSocketTransport | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | webSource | var webSource: GatewayTakoWebSourceConfig? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | workspaceID | var workspaceID: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | wrapEmbed | var wrapEmbed: (@Sendable (AIEmbeddingModelEmbedContext) async throws -> EmbeddingResult)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | wrapGenerate | var wrapGenerate: (@Sendable (AILanguageModelGenerateContext) async throws -> TextGenerationResult)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | wrapGenerate | var wrapGenerate: (@Sendable (AIImageModelGenerateContext) async throws -> ImageGenerationResult)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Property | wrapStream | var wrapStream: (@Sendable (AILanguageModelStreamContext) -> AsyncThrowingStream<LanguageStreamPart, any Error>)? | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Instance Subscript | subscript(_:) | subscript(key: String) -> JSONValue? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Instance Subscript | subscript(_:) | subscript(index: Int) -> JSONValue? { get } | Sources/SwiftAISDK/JSONValue.swift |
| Operator | ==(_:_:) | static func == (lhs: AIRealtimeClientSecretOptions, rhs: AIRealtimeClientSecretOptions) -> Bool | Sources/SwiftAISDK/CoreRealtime.swift |
| Protocol | AIAgent | protocol AIAgent : Sendable | Sources/SwiftAISDK/AIAgent.swift |
| Protocol | AIChatTransport | protocol AIChatTransport : Sendable | Sources/SwiftAISDK/AIChatTransport.swift |
| Protocol | AIDuplexWebSocketConnection | protocol AIDuplexWebSocketConnection : Sendable | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Protocol | AIDuplexWebSocketTransport | protocol AIDuplexWebSocketTransport : Sendable | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Protocol | AIFileClient | protocol AIFileClient : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | AIFileProvider | protocol AIFileProvider : AIProvider | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | AIObjectSchema | protocol AIObjectSchema : Sendable | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Protocol | AIProvider | protocol AIProvider : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | AIRealtimeModelV4 | protocol AIRealtimeModelV4 : Sendable | Sources/SwiftAISDK/CoreRealtime.swift |
| Protocol | AISkillsClient | protocol AISkillsClient : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | AISkillsProvider | protocol AISkillsProvider : AIProvider | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | AIStreamingTransport | protocol AIStreamingTransport : AITransport | Sources/SwiftAISDK/HTTP.swift |
| Protocol | AITransport | protocol AITransport : Sendable | Sources/SwiftAISDK/HTTP.swift |
| Protocol | AIWarningLogger | protocol AIWarningLogger : Sendable | Sources/SwiftAISDK/WarningLogging.swift |
| Protocol | AsyncVideoModel | protocol AsyncVideoModel : VideoModel | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Protocol | AudioGenerationModel | protocol AudioGenerationModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | AudioTransformationModel | protocol AudioTransformationModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | BatchLanguageModel | protocol BatchLanguageModel : LanguageModel | Sources/SwiftAISDK/CoreBatch.swift |
| Protocol | EmbeddingModel | protocol EmbeddingModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | ImageModel | protocol ImageModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | LanguageModel | protocol LanguageModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | MCPOAuthClientProvider | protocol MCPOAuthClientProvider : Sendable | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Protocol | MCPOAuthProvider | protocol MCPOAuthProvider : Sendable | Sources/SwiftAISDK/MCPTypes.swift |
| Protocol | MCPTransport | protocol MCPTransport : Sendable | Sources/SwiftAISDK/MCPTypes.swift |
| Protocol | RerankingModel | protocol RerankingModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | SpeechModel | protocol SpeechModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | StreamingTranscriptionModel | protocol StreamingTranscriptionModel : Sendable | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Protocol | Telemetry.Integration | protocol Integration : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Protocol | TranscriptionModel | protocol TranscriptionModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Protocol | VideoModel | protocol VideoModel : Sendable | Sources/SwiftAISDK/CoreProtocols.swift |
| Structure | AIAbortError | struct AIAbortError | Sources/SwiftAISDK/CoreAbort.swift |
| Structure | AIAgentCallOptions | struct AIAgentCallOptions | Sources/SwiftAISDK/AIAgent.swift |
| Structure | AIAPICallError | struct AIAPICallError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIBatchError | struct AIBatchError | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIBatchOperationOptions | struct AIBatchOperationOptions | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIBatchRequestCounts | struct AIBatchRequestCounts | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIBatchStartOptions | struct AIBatchStartOptions<Request> where Request : Sendable | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIBatchStartResult | struct AIBatchStartResult | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIBatchStatus | struct AIBatchStatus | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIBatchWarning | struct AIBatchWarning | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AIChatReconnectRequest | struct AIChatReconnectRequest | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | AIChatRequestOptions | struct AIChatRequestOptions | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | AIChatSessionFinishEvent | struct AIChatSessionFinishEvent | Sources/SwiftAISDK/AIChatSession.swift |
| Structure | AIChatSessionRequestOptions | struct AIChatSessionRequestOptions | Sources/SwiftAISDK/AIChatSession.swift |
| Structure | AIChatTransportRequest | struct AIChatTransportRequest | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | AIConsoleWarningLogger | struct AIConsoleWarningLogger | Sources/SwiftAISDK/WarningLogging.swift |
| Structure | AIDefaultEmbeddingModelSettings | struct AIDefaultEmbeddingModelSettings | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Structure | AIDefaultLanguageModelSettings | struct AIDefaultLanguageModelSettings | Sources/SwiftAISDK/DefaultSettingsMiddleware.swift |
| Structure | AIDownloadError | struct AIDownloadError | Sources/SwiftAISDK/HTTP.swift |
| Structure | AIDuplexWebSocketCloseMetadata | struct AIDuplexWebSocketCloseMetadata | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Structure | AIDuplexWebSocketRequest | struct AIDuplexWebSocketRequest | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Structure | AIEmbeddingModelEmbedContext | struct AIEmbeddingModelEmbedContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIEmbeddingModelMiddleware | struct AIEmbeddingModelMiddleware | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIEmbeddingModelTransformContext | struct AIEmbeddingModelTransformContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIHTTPRequest | struct AIHTTPRequest | Sources/SwiftAISDK/HTTP.swift |
| Structure | AIHTTPResponse | struct AIHTTPResponse | Sources/SwiftAISDK/HTTP.swift |
| Structure | AIHTTPStreamResponse | struct AIHTTPStreamResponse | Sources/SwiftAISDK/HTTP.swift |
| Structure | AIImageModelGenerateContext | struct AIImageModelGenerateContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIImageModelMiddleware | struct AIImageModelMiddleware | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIImageModelTransformContext | struct AIImageModelTransformContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIInvalidToolApprovalError | struct AIInvalidToolApprovalError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIInvalidToolApprovalSignatureError | struct AIInvalidToolApprovalSignatureError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIInvalidToolInputError | struct AIInvalidToolInputError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIJSONInstruction | struct AIJSONInstruction | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Structure | AIJSONParseError | struct AIJSONParseError | Sources/SwiftAISDK/JSONParsing.swift |
| Structure | AIJSONParseResult | struct AIJSONParseResult | Sources/SwiftAISDK/JSONParsing.swift |
| Structure | AIJSONSchema | struct AIJSONSchema<Output> where Output : Decodable, Output : Sendable | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Structure | AILanguageModelBatchRequest | struct AILanguageModelBatchRequest | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | AILanguageModelGenerateContext | struct AILanguageModelGenerateContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AILanguageModelMiddleware | struct AILanguageModelMiddleware | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AILanguageModelStreamContext | struct AILanguageModelStreamContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AILanguageModelTransformContext | struct AILanguageModelTransformContext | Sources/SwiftAISDK/MiddlewareTypes.swift |
| Structure | AIMessage | struct AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Structure | AIMissingToolResultsError | struct AIMissingToolResultsError | Sources/SwiftAISDK/Errors.swift |
| Structure | AINoOutputError | struct AINoOutputError | Sources/SwiftAISDK/Errors.swift |
| Structure | AINoSuchProviderReferenceError | struct AINoSuchProviderReferenceError | Sources/SwiftAISDK/ProviderReference.swift |
| Structure | AINoSuchToolError | struct AINoSuchToolError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIObjectGenerationCallbacks | struct AIObjectGenerationCallbacks<Output> where Output : Sendable | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectGenerationError | struct AIObjectGenerationError | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectGenerationErrorEvent | struct AIObjectGenerationErrorEvent | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectGenerationFinishEvent | struct AIObjectGenerationFinishEvent<Output> where Output : Sendable | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectGenerationSessionFinishEvent | struct AIObjectGenerationSessionFinishEvent<Output> where Output : Sendable | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Structure | AIObjectGenerationSessionRequestOptions | struct AIObjectGenerationSessionRequestOptions | Sources/SwiftAISDK/AIObjectGenerationSession.swift |
| Structure | AIObjectGenerationStartEvent | struct AIObjectGenerationStartEvent | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectGenerationStepFinishEvent | struct AIObjectGenerationStepFinishEvent | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectGenerationStepStartEvent | struct AIObjectGenerationStepStartEvent | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIObjectRepairContext | struct AIObjectRepairContext | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | AIOutput | struct AIOutput<FinalOutput, PartialOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Output.swift |
| Structure | AIOutputGenerationResult | struct AIOutputGenerationResult<Output> where Output : Sendable | Sources/SwiftAISDK/Output.swift |
| Structure | AIParsePartialJSONResult | struct AIParsePartialJSONResult | Sources/SwiftAISDK/AIObjectPartialJSON.swift |
| Structure | AIPrepareStepContext | struct AIPrepareStepContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIPrepareStepResult | struct AIPrepareStepResult | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIProviderCapabilityRow | struct AIProviderCapabilityRow | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Structure | AIPruneToolCalls | struct AIPruneToolCalls | Sources/SwiftAISDK/PruneMessages.swift |
| Structure | AIRealtimeAudioFormat | struct AIRealtimeAudioFormat | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeAudioTranscriptionConfiguration | struct AIRealtimeAudioTranscriptionConfiguration | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeClientSecretOptions | struct AIRealtimeClientSecretOptions | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeClientSecretResult | struct AIRealtimeClientSecretResult | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeResponseOptions | struct AIRealtimeResponseOptions | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeSessionConfiguration | struct AIRealtimeSessionConfiguration | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeToolDefinition | struct AIRealtimeToolDefinition | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeTurnDetectionConfiguration | struct AIRealtimeTurnDetectionConfiguration | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRealtimeWebSocketConfiguration | struct AIRealtimeWebSocketConfiguration | Sources/SwiftAISDK/CoreRealtime.swift |
| Structure | AIRequestMetadata | struct AIRequestMetadata | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIResponseMetadata | struct AIResponseMetadata | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIRetryError | struct AIRetryError | Sources/SwiftAISDK/Core.swift |
| Structure | AIRetryPolicy | struct AIRetryPolicy | Sources/SwiftAISDK/Core.swift |
| Structure | AISource | struct AISource | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIStitchableStream | struct AIStitchableStream<Element> where Element : Sendable | Sources/SwiftAISDK/CoreUtilities.swift |
| Structure | AIStopCondition | struct AIStopCondition | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIStopConditionContext | struct AIStopConditionContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIStreamFile | struct AIStreamFile | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIStreamingAudioFormat | struct AIStreamingAudioFormat | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Structure | AIStreamingAudioInput | struct AIStreamingAudioInput | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Structure | AIStreamingToolCallDelta | struct AIStreamingToolCallDelta | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Structure | AIStreamingToolCallTracker | struct AIStreamingToolCallTracker | Sources/SwiftAISDK/StreamingToolCallTracker.swift |
| Structure | AIStreamingTranscriptionError | struct AIStreamingTranscriptionError | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Structure | AIStreamProviderError | struct AIStreamProviderError | Sources/SwiftAISDK/StreamProviderError.swift |
| Structure | AIStreamTimeoutConfiguration | struct AIStreamTimeoutConfiguration | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Structure | AIStreamTimeoutError | struct AIStreamTimeoutError | Sources/SwiftAISDK/AIStreamTimeouts.swift |
| Structure | AISupportedURLPattern | struct AISupportedURLPattern | Sources/SwiftAISDK/CoreProtocols.swift |
| Structure | AITool | struct AITool | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolApprovalContext | struct AIToolApprovalContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolApprovalRequest | struct AIToolApprovalRequest | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolApprovalResponse | struct AIToolApprovalResponse | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolCall | struct AIToolCall | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolCallNotFoundForApprovalError | struct AIToolCallNotFoundForApprovalError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIToolCallRepairContext | struct AIToolCallRepairContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolCallRepairError | struct AIToolCallRepairError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIToolChoiceViolationError | struct AIToolChoiceViolationError | Sources/SwiftAISDK/ToolChoicePreparation.swift |
| Structure | AIToolExecutionContext | struct AIToolExecutionContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolInputAvailableContext | struct AIToolInputAvailableContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolInputDeltaContext | struct AIToolInputDeltaContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolInputExampleFormatContext | struct AIToolInputExampleFormatContext | Sources/SwiftAISDK/ToolInputExamplesMiddleware.swift |
| Structure | AIToolInputStartContext | struct AIToolInputStartContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolLoopAgent | struct AIToolLoopAgent | Sources/SwiftAISDK/AIAgent.swift |
| Structure | AIToolModelOutputContext | struct AIToolModelOutputContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolNameMapping | struct AIToolNameMapping | Sources/SwiftAISDK/CoreUtilities.swift |
| Structure | AIToolNeedsApprovalContext | struct AIToolNeedsApprovalContext | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolResult | struct AIToolResult | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AIToolStep | struct AIToolStep | Sources/SwiftAISDK/CoreTools.swift |
| Structure | AITooManyEmbeddingValuesForCallError | struct AITooManyEmbeddingValuesForCallError | Sources/SwiftAISDK/Errors.swift |
| Structure | AITypeValidationContext | struct AITypeValidationContext | Sources/SwiftAISDK/Errors.swift |
| Structure | AITypeValidationError | struct AITypeValidationError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIUIDataPart | struct AIUIDataPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | AIUIMessage | struct AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | AIUIMessageStreamError | struct AIUIMessageStreamError | Sources/SwiftAISDK/Errors.swift |
| Structure | AIUIMessageStreamReducer | struct AIUIMessageStreamReducer | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Structure | AIUIMessageValidationIssue | struct AIUIMessageValidationIssue | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Structure | AIUIMessageValidationResult | struct AIUIMessageValidationResult | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Structure | AIUIReasoningPart | struct AIUIReasoningPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | AIUITextPart | struct AIUITextPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | AIWarning | struct AIWarning | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | AIWarningLogEvent | struct AIWarningLogEvent | Sources/SwiftAISDK/WarningLogging.swift |
| Structure | AmazonBedrockCredentials | struct AmazonBedrockCredentials | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Structure | AmazonBedrockEmbeddingModelSettings | struct AmazonBedrockEmbeddingModelSettings | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Structure | AmazonBedrockProviderSettings | struct AmazonBedrockProviderSettings | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Structure | AnthropicAWSCredentials | struct AnthropicAWSCredentials | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Structure | AnthropicAWSProviderSettings | struct AnthropicAWSProviderSettings | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Structure | AudioGenerationRequest | struct AudioGenerationRequest | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | AudioGenerationResult | struct AudioGenerationResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | AudioTranscriptionRequest | struct AudioTranscriptionRequest | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | AudioTransformationRequest | struct AudioTransformationRequest | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | AudioTransformationResult | struct AudioTransformationResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | CartesiaProviderSettings | struct CartesiaProviderSettings | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Structure | DirectAIChatTransport | struct DirectAIChatTransport | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | DubbingAudioResult | struct DubbingAudioResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | DubbingCreateRequest | struct DubbingCreateRequest | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | DubbingCreateResult | struct DubbingCreateResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | DubbingStatusResult | struct DubbingStatusResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | EmbeddingRequest | struct EmbeddingRequest | Sources/SwiftAISDK/CoreMediaResults.swift |
| Structure | EmbeddingResult | struct EmbeddingResult | Sources/SwiftAISDK/CoreMediaResults.swift |
| Structure | FileDeleteRequest | struct FileDeleteRequest | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileDeleteResult | struct FileDeleteResult | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileDownloadRequest | struct FileDownloadRequest | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileDownloadResult | struct FileDownloadResult | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileMetadataRequest | struct FileMetadataRequest | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileMetadataResult | struct FileMetadataResult | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileUploadRequest | struct FileUploadRequest | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | FileUploadResult | struct FileUploadResult | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | GatewayCredits | struct GatewayCredits | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewayError | struct GatewayError | Sources/SwiftAISDK/GatewayErrors.swift |
| Structure | GatewayGenerationInfo | struct GatewayGenerationInfo | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewayModelEntry | struct GatewayModelEntry | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewaySpendReportParams | struct GatewaySpendReportParams | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewaySpendReportResponse | struct GatewaySpendReportResponse | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewaySpendReportRow | struct GatewaySpendReportRow | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewayTakoDataSourceConfig | struct GatewayTakoDataSourceConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | GatewayTakoSearchConfig | struct GatewayTakoSearchConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | GatewayTakoWebSourceConfig | struct GatewayTakoWebSourceConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | GatewayTranscriptionFactory | struct GatewayTranscriptionFactory | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewayTranscriptionFactoryGetTokenOptions | struct GatewayTranscriptionFactoryGetTokenOptions | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GatewayTranscriptionFactoryGetTokenResult | struct GatewayTranscriptionFactoryGetTokenResult | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | GoogleServiceAccountCredentials | struct GoogleServiceAccountCredentials | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Structure | GoogleVertexProviderSettings | struct GoogleVertexProviderSettings | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Structure | ImageGenerationCall | struct ImageGenerationCall | Sources/SwiftAISDK/CoreMediaResults.swift |
| Structure | ImageGenerationRequest | struct ImageGenerationRequest | Sources/SwiftAISDK/CoreMediaResults.swift |
| Structure | ImageGenerationResult | struct ImageGenerationResult | Sources/SwiftAISDK/CoreMediaResults.swift |
| Structure | ImageInputFile | struct ImageInputFile | Sources/SwiftAISDK/CoreMediaResults.swift |
| Structure | KlingAIProviderSettings | struct KlingAIProviderSettings | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Structure | LanguageGenerationOptions | struct LanguageGenerationOptions | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Structure | LanguageModelRequest | struct LanguageModelRequest | Sources/SwiftAISDK/CoreLanguageRequest.swift |
| Structure | LanguageToolOptions | struct LanguageToolOptions | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Structure | MCPAppResource | struct MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Structure | MCPAppToolMeta | struct MCPAppToolMeta | Sources/SwiftAISDK/MCPApps.swift |
| Structure | MCPAppToolSplit | struct MCPAppToolSplit | Sources/SwiftAISDK/MCPApps.swift |
| Structure | MCPCallToolResult | struct MCPCallToolResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPClientError | struct MCPClientError | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPCompleteArgument | struct MCPCompleteArgument | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPCompleteResult | struct MCPCompleteResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPElicitationRequest | struct MCPElicitationRequest | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPElicitResult | struct MCPElicitResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPGetPromptResult | struct MCPGetPromptResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPImplementation | struct MCPImplementation | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListPromptsResult | struct MCPListPromptsResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListResourcesResult | struct MCPListResourcesResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListResourceTemplatesResult | struct MCPListResourceTemplatesResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPListToolsResult | struct MCPListToolsResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPOAuthAuthorizationServerInformation | struct MCPOAuthAuthorizationServerInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthAuthorizationServerMetadata | struct MCPOAuthAuthorizationServerMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientAuthenticationRequest | struct MCPOAuthClientAuthenticationRequest | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientInformation | struct MCPOAuthClientInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientInformationFull | struct MCPOAuthClientInformationFull | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthClientMetadata | struct MCPOAuthClientMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthDiscovery | struct MCPOAuthDiscovery | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Structure | MCPOAuthProtectedResourceMetadata | struct MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthServerError | struct MCPOAuthServerError | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthStartAuthorizationResult | struct MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPOAuthTokens | struct MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | MCPPrompt | struct MCPPrompt | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPPromptArgument | struct MCPPromptArgument | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPPromptMessage | struct MCPPromptMessage | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPReadResourceResult | struct MCPReadResourceResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPRequestOptions | struct MCPRequestOptions | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Structure | MCPResource | struct MCPResource | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPResourceContent | struct MCPResourceContent | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPResourceTemplate | struct MCPResourceTemplate | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPStdioConfig | struct MCPStdioConfig | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Structure | MCPToolAnnotations | struct MCPToolAnnotations | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MCPToolDefinition | struct MCPToolDefinition | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | MiniMaxProviderSettings | struct MiniMaxProviderSettings | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Structure | ModelID | struct ModelID | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Structure | ObjectGenerationResult | struct ObjectGenerationResult<Object> where Object : Sendable | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | ProviderSettings | struct ProviderSettings | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Structure | RerankedDocument | struct RerankedDocument | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Structure | RerankingRequest | struct RerankingRequest | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Structure | RerankingResult | struct RerankingResult | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Structure | SkillUploadFile | struct SkillUploadFile | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | SkillUploadRequest | struct SkillUploadRequest | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | SkillUploadResult | struct SkillUploadResult | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | SpeechRequest | struct SpeechRequest | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | SpeechResult | struct SpeechResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | StartTextBatchResult | struct StartTextBatchResult | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | StreamingTranscriptionFinish | struct StreamingTranscriptionFinish | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Structure | StreamingTranscriptionRequest | struct StreamingTranscriptionRequest | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Structure | StreamingTranscriptionResult | struct StreamingTranscriptionResult | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Structure | Telemetry.Event | struct Event | Sources/SwiftAISDK/Telemetry.swift |
| Structure | Telemetry.LanguageModelCallContext | struct LanguageModelCallContext<Output> where Output : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Structure | Telemetry.Options | struct Options | Sources/SwiftAISDK/Telemetry.swift |
| Structure | Telemetry.ToolExecutionContext | struct ToolExecutionContext<Output> where Output : Sendable | Sources/SwiftAISDK/Telemetry.swift |
| Structure | TextBatch | struct TextBatch | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | TextBatchGenerationResult | struct TextBatchGenerationResult | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | TextBatchReference | struct TextBatchReference | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | TextBatchRequest | struct TextBatchRequest | Sources/SwiftAISDK/CoreBatch.swift |
| Structure | TextGenerationResult | struct TextGenerationResult | Sources/SwiftAISDK/CoreTextObjectResults.swift |
| Structure | TokenUsage | struct TokenUsage | Sources/SwiftAISDK/CoreFileSkillResults.swift |
| Structure | TranscriptionResult | struct TranscriptionResult | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | TranscriptionSegment | struct TranscriptionSegment | Sources/SwiftAISDK/CoreAudioResults.swift |
| Structure | VideoFrameImage | struct VideoFrameImage | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Structure | VideoGenerationOperationStartRequest | struct VideoGenerationOperationStartRequest | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Structure | VideoGenerationOperationStartResult | struct VideoGenerationOperationStartResult | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Structure | VideoGenerationOperationStatusRequest | struct VideoGenerationOperationStatusRequest | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Structure | VideoGenerationOperationWebhook | struct VideoGenerationOperationWebhook | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Structure | VideoGenerationPollOptions | struct VideoGenerationPollOptions | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Structure | VideoGenerationRequest | struct VideoGenerationRequest | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Structure | VideoGenerationResult | struct VideoGenerationResult | Sources/SwiftAISDK/CoreVideoRerankingResults.swift |
| Structure | VideoGenerationWebhookRegistration | struct VideoGenerationWebhookRegistration | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Type Alias | AICallback | typealias AICallback<Event> = @Sendable (Event) async throws -> Void | Sources/SwiftAISDK/CoreUtilities.swift |
| Type Alias | AIIdGenerator | typealias AIIdGenerator = @Sendable () -> String | Sources/SwiftAISDK/CoreUtilities.swift |
| Type Alias | AIPrepareStep | typealias AIPrepareStep = @Sendable (AIPrepareStepContext) async throws -> AIPrepareStepResult? | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AIProviderReference | typealias AIProviderReference = [String : String] | Sources/SwiftAISDK/ProviderReference.swift |
| Type Alias | AIRealtimeSession.AsyncIterator | typealias AsyncIterator = AsyncThrowingStream<AIRealtimeSessionEvent, any Error>.Iterator | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Type Alias | AIRealtimeSession.Element | typealias Element = AIRealtimeSessionEvent | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Type Alias | AISmoothStreamChunkDetector | typealias AISmoothStreamChunkDetector = @Sendable (String) throws -> String? | Sources/SwiftAISDK/CoreUtilities.swift |
| Type Alias | AIStreamingAudioInput.AsyncIterator | typealias AsyncIterator = AsyncThrowingStream<Data, any Error>.Iterator | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Type Alias | AIStreamingAudioInput.Element | typealias Element = Data | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Type Alias | AIToolApproval | typealias AIToolApproval = @Sendable (AIToolApprovalContext) async throws -> AIToolApprovalStatus? | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AIToolCallRepair | typealias AIToolCallRepair = @Sendable (AIToolCallRepairContext) async throws -> AIToolCall? | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AIToolInputAvailableCallback | typealias AIToolInputAvailableCallback = @Sendable (AIToolInputAvailableContext) async -> Void | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AIToolInputDeltaCallback | typealias AIToolInputDeltaCallback = @Sendable (AIToolInputDeltaContext) async -> Void | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AIToolInputStartCallback | typealias AIToolInputStartCallback = @Sendable (AIToolInputStartContext) async -> Void | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AIToolNeedsApproval | typealias AIToolNeedsApproval = @Sendable (JSONValue, AIToolNeedsApprovalContext) async throws -> Bool | Sources/SwiftAISDK/CoreTools.swift |
| Type Alias | AzureOpenAITokenProvider | typealias AzureOpenAITokenProvider = @Sendable () async throws -> String | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Type Alias | Experimental_RealtimeModelV4 | typealias Experimental_RealtimeModelV4 = AIRealtimeModelV4 | Sources/SwiftAISDK/CoreRealtime.swift |
| Type Alias | Experimental_RealtimeModelV4ClientEvent | typealias Experimental_RealtimeModelV4ClientEvent = AIRealtimeClientEvent | Sources/SwiftAISDK/CoreRealtime.swift |
| Type Alias | Experimental_RealtimeModelV4ClientSecretOptions | typealias Experimental_RealtimeModelV4ClientSecretOptions = AIRealtimeClientSecretOptions | Sources/SwiftAISDK/CoreRealtime.swift |
| Type Alias | Experimental_RealtimeModelV4ClientSecretResult | typealias Experimental_RealtimeModelV4ClientSecretResult = AIRealtimeClientSecretResult | Sources/SwiftAISDK/CoreRealtime.swift |
| Type Alias | Experimental_RealtimeModelV4ServerEvent | typealias Experimental_RealtimeModelV4ServerEvent = AIRealtimeServerEvent | Sources/SwiftAISDK/CoreRealtime.swift |
| Type Alias | Experimental_RealtimeModelV4SessionConfig | typealias Experimental_RealtimeModelV4SessionConfig = AIRealtimeSessionConfiguration | Sources/SwiftAISDK/CoreRealtime.swift |
| Type Alias | FishAudioSpeechModelID | typealias FishAudioSpeechModelID = String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Type Alias | FishAudioSpeechVoiceID | typealias FishAudioSpeechVoiceID = String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Type Alias | FishAudioTranscriptionModelID | typealias FishAudioTranscriptionModelID = String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Type Alias | MCPElicitationHandler | typealias MCPElicitationHandler = @Sendable (MCPElicitationRequest) async throws -> MCPElicitResult | Sources/SwiftAISDK/MCPTypes.swift |
| Type Alias | MCPOAuthClientAuthenticationHandler | typealias MCPOAuthClientAuthenticationHandler = @Sendable (MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Type Alias | VideoGenerationDelay | typealias VideoGenerationDelay = @Sendable (Int, AIAbortSignal?) async throws -> Void | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Type Alias | VideoGenerationWebhookFactory | typealias VideoGenerationWebhookFactory = @Sendable () async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Type Method | advisor_20260301(model:maxUses:maxTokens:caching:) | static func advisor_20260301(model: String, maxUses: Int? = nil, maxTokens: Int? = nil, caching: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | alibaba(settings:) | static func alibaba(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | all(tools:) | static func all(tools: Set<String>? = nil) -> AIPruneToolCalls | Sources/SwiftAISDK/PruneMessages.swift |
| Type Method | amazonBedrock(settings:) | static func amazonBedrock(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws -> AmazonBedrockProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | amazonBedrockAnthropic(settings:) | static func amazonBedrockAnthropic(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws -> AmazonBedrockAnthropicProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | anthropic(settings:) | static func anthropic(settings: ProviderSettings = ProviderSettings()) throws -> AnthropicProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | anthropicAWS(settings:) | static func anthropicAWS(settings: AnthropicAWSProviderSettings = AnthropicAWSProviderSettings()) throws -> AnthropicAWSProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | apiCall(provider:statusCode:body:headers:) | static func apiCall(provider: String, statusCode: Int, body: String, headers: [String : String] = [:]) -> AIError | Sources/SwiftAISDK/Errors.swift |
| Type Method | applyPatch() | static func applyPatch() -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | array(_:) | static func array(_ values: [String]) -> JSONValue | Sources/SwiftAISDK/JSONValue.swift |
| Type Method | array(element:minItems:maxItems:name:description:) | static func array<ElementSchema>(element: ElementSchema, minItems: Int? = nil, maxItems: Int? = nil, name: String? = nil, description: String? = nil) -> AIOutput<[ElementSchema.Output], [ElementSchema.Output]> where ElementSchema : AIObjectSchema | Sources/SwiftAISDK/Output.swift |
| Type Method | array(element:minItems:maxItems:name:description:as:) | static func array<Element>(element: JSONValue, minItems: Int? = nil, maxItems: Int? = nil, name: String? = nil, description: String? = nil, as type: Element.Type = Element.self) -> AIOutput<[Element], [Element]> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/Output.swift |
| Type Method | array(element:name:description:) | static func array<ElementSchema>(element: ElementSchema, name: String? = nil, description: String? = nil) -> AIOutput<[ElementSchema.Output], [ElementSchema.Output]> where ElementSchema : AIObjectSchema | Sources/SwiftAISDK/Output.swift |
| Type Method | array(element:name:description:as:) | static func array<Element>(element: JSONValue, name: String? = nil, description: String? = nil, as type: Element.Type = Element.self) -> AIOutput<[Element], [Element]> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/Output.swift |
| Type Method | assemblyAI(settings:) | static func assemblyAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | assistant(_:reasoning:) | static func assistant(_ text: String, reasoning: String? = nil) -> AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | assistant(id:parts:metadata:) | static func assistant(id: String = UUID().uuidString, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | assistant(text:reasoning:toolCalls:toolApprovalRequests:) | static func assistant(text: String = "", reasoning: String? = nil, toolCalls: [AIToolCall], toolApprovalRequests: [AIToolApprovalRequest] = []) -> AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | auth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:) | static func auth(provider: any MCPOAuthClientProvider, serverURL: URL, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: URL? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | auth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:) | static func auth(provider: any MCPOAuthClientProvider, serverURL: String, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: String? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | azure(resourceName:apiVersion:useDeploymentBasedURLs:tokenProvider:settings:) | static func azure(resourceName: String? = nil, apiVersion: String = "v1", useDeploymentBasedURLs: Bool = false, tokenProvider: AzureOpenAITokenProvider? = nil, settings: ProviderSettings = ProviderSettings()) throws -> AzureOpenAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | baseten(settings:) | static func baseten(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | bash_20241022() | static func bash_20241022() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | bash_20241022() | static func bash_20241022() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | bash_20250124() | static func bash_20250124() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | bash_20250124() | static func bash_20250124() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | bedrockMantle(settings:) | static func bedrockMantle(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws -> BedrockMantleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | beforeLastMessage(tools:) | static func beforeLastMessage(tools: Set<String>? = nil) -> AIPruneToolCalls | Sources/SwiftAISDK/PruneMessages.swift |
| Type Method | beforeLastMessages(_:tools:) | static func beforeLastMessages(_ count: Int, tools: Set<String>? = nil) -> AIPruneToolCalls | Sources/SwiftAISDK/PruneMessages.swift |
| Type Method | blackForestLabs(settings:) | static func blackForestLabs(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | browserSearch() | static func browserSearch() -> JSONValue | Sources/SwiftAISDK/Models/GroqModels.swift |
| Type Method | buildAuthorizationServerDiscoveryURLs(_:) | static func buildAuthorizationServerDiscoveryURLs(_ authorizationServerURL: URL) -> [URL] | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | byteDance(settings:) | static func byteDance(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | cartesia(settings:) | static func cartesia(settings: CartesiaProviderSettings = CartesiaProviderSettings()) throws -> CartesiaProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | cerebras(settings:) | static func cerebras(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | choice(options:name:description:) | static func choice(options: [String], name: String? = nil, description: String? = nil) -> AIOutput<String, String> | Sources/SwiftAISDK/Output.swift |
| Type Method | chunks(_:) | static func chunks(_ chunks: [Data]) -> AIStreamingAudioInput | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Type Method | clear() | static func clear() | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | codeExecution_20250522() | static func codeExecution_20250522() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | codeExecution_20250825() | static func codeExecution_20250825() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | codeExecution_20260120() | static func codeExecution_20260120() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | codeExecution() | static func codeExecution() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | codeExecution() | static func codeExecution() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | codeExecution() | static func codeExecution() -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | codeInterpreter(container:) | static func codeInterpreter(container: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | codeInterpreter(container:) | static func codeInterpreter(container: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | cohere(settings:) | static func cohere(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | computer_20241022(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20241022(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | computer_20241022(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20241022(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | computer_20250124(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20250124(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | computer_20251124(displayWidthPx:displayHeightPx:displayNumber:enableZoom:) | static func computer_20251124(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil, enableZoom: Bool? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | computer() | static func computer() -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | computerUse(displayWidth:displayHeight:environment:extraArgs:) | static func computerUse(displayWidth: Int? = nil, displayHeight: Int? = nil, environment: String? = nil, extraArgs: [String : JSONValue] = [:]) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | 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 | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Type Method | 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 | Sources/SwiftAISDK/AIRealtimeSession.swift |
| Type Method | connect(transport:clientName:clientVersion:clientCapabilities:initialInitializeResult:initializationOptions:maxRetries:protocolVersionDiscovery:onUncaughtError:) | static func connect(transport: any MCPTransport, clientName: String = "swift-ai-sdk-mcp-client", clientVersion: String = "1.0.0", clientCapabilities: JSONValue = .object([:]), initialInitializeResult: JSONValue? = nil, initializationOptions: MCPRequestOptions? = nil, maxRetries: Int = 0, protocolVersionDiscovery: Bool = true, onUncaughtError: (@Sendable (any Error) -> Void)? = nil) async throws -> MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Method | current() | static func current() -> (any AIProvider)? | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | 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/Providers/CustomProvider.swift |
| Type Method | customTool(name:description:format:) | static func customTool(name: String, description: String? = nil, format: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | deepgram(settings:) | static func deepgram(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | deepInfra(settings:) | static func deepInfra(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | deepSeek(settings:) | static func deepSeek(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | disable() | static func disable() | Sources/SwiftAISDK/WarningLogging.swift |
| Type Method | discoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:) | static func discoverAuthorizationServerMetadata(authorizationServerURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | discoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:) | static func discoverAuthorizationServerMetadata(authorizationServerURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | discoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:) | static func discoverProtectedResourceMetadata(serverURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: URL? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | discoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:) | static func discoverProtectedResourceMetadata(serverURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: String? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | dynamic(name:description:parameters:providerMetadata:providerOptions:strict:inputExamples:contextSchema:needsApproval:onInputStart:onInputDelta:onInputAvailable:refineArguments:toModelOutput:executeWithContext:execute:) | static func dynamic(name: String, description: String? = nil, parameters: JSONValue, providerMetadata: [String : JSONValue] = [:], providerOptions: [String : JSONValue] = [:], strict: Bool? = nil, inputExamples: [JSONValue] = [], contextSchema: JSONValue? = nil, needsApproval: AIToolNeedsApproval? = nil, onInputStart: AIToolInputStartCallback? = nil, onInputDelta: AIToolInputDeltaCallback? = nil, onInputAvailable: AIToolInputAvailableCallback? = nil, refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? = nil, toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? = nil, executeWithContext: (@Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue)? = nil, execute: @escaping @Sendable (JSONValue) async throws -> JSONValue) -> AITool | Sources/SwiftAISDK/CoreTools.swift |
| Type Method | elevenLabs(settings:) | static func elevenLabs(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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 | 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 | 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/AIFacadeMedia.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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 | 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/AIFacadeMedia.swift |
| Type Method | enterpriseWebSearch() | static func enterpriseWebSearch() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | enterpriseWebSearch() | static func enterpriseWebSearch() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | exchangeAuthorization(authorizationServerURL:metadata:clientInformation:authorizationCode:codeVerifier:redirectURI:resource:clientAuthentication:transport:) | static func exchangeAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, authorizationCode: String, codeVerifier: String, redirectURI: URL, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | failure(error:rawValue:) | static func failure(error: any Error, rawValue: JSONValue?) -> AIJSONParseResult | Sources/SwiftAISDK/JSONParsing.swift |
| Type Method | fal(settings:) | static func fal(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | fileSearch(fileSearchStoreNames:metadataFilter:topK:) | static func fileSearch(fileSearchStoreNames: [String], metadataFilter: String? = nil, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | fileSearch(fileSearchStoreNames:metadataFilter:topK:) | static func fileSearch(fileSearchStoreNames: [String], metadataFilter: String? = nil, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | fileSearch(vectorStoreIDs:maxNumResults:) | static func fileSearch(vectorStoreIDs: [String], maxNumResults: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | fileSearch(vectorStoreIDs:maxNumResults:ranking:filters:) | static func fileSearch(vectorStoreIDs: [String], maxNumResults: Int? = nil, ranking: JSONValue? = nil, filters: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | fileSearch(vectorStoreIDs:maxNumResults:ranking:filters:) | static func fileSearch(vectorStoreIDs: [String], maxNumResults: Int? = nil, ranking: JSONValue? = nil, filters: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | fireworks(settings:) | static func fireworks(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | fishAudio(settings:) | static func fishAudio(settings: ProviderSettings = ProviderSettings()) throws -> FishAudioProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | formattedMessage(for:providerID:modelID:) | static func formattedMessage(for warning: AIWarning, providerID: String? = nil, modelID: String? = nil) -> String | Sources/SwiftAISDK/WarningLogging.swift |
| Type Method | gateway(settings:teamIDOrSlug:) | static func gateway(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil) throws -> GatewayProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | gateway(settings:teamIDOrSlug:webSocketTransport:) | static func gateway(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil, webSocketTransport: any AIDuplexWebSocketTransport) throws -> GatewayProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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 | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | 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 | 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 | 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/AIFacadeMedia.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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 | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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 | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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 | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/AIFacadeGenerateObject.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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 | 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/AIFacadeMedia.swift |
| Type Method | generateText(_:using:options:tools:) | static func generateText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/AIFacadeGenerateText.swift |
| Type Method | 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/AIFacadeGenerateText.swift |
| Type Method | 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/AIFacadeGenerateText.swift |
| Type Method | 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 | 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 | 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 | 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/AIFacadeGenerateText.swift |
| Type Method | 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/AIFacadeGenerateText.swift |
| Type Method | 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/AIFacadeGenerateText.swift |
| Type Method | 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/AIFacadeGenerateText.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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 | 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/AIFacadeMedia.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | 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/VideoGenerationOperations.swift |
| Type Method | gladia(settings:) | static func gladia(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | gmiCloud(settings:) | static func gmiCloud(settings: ProviderSettings = ProviderSettings()) throws -> GMICloudProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | google(settings:) | static func google(settings: ProviderSettings = ProviderSettings()) throws -> GoogleGenerativeAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | googleMaps() | static func googleMaps() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | googleMaps() | static func googleMaps() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | googleSearch(searchTypes:timeRangeFilter:) | static func googleSearch(searchTypes: JSONValue? = nil, timeRangeFilter: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | googleSearch(searchTypes:timeRangeFilter:) | static func googleSearch(searchTypes: JSONValue? = nil, timeRangeFilter: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | googleVertex(settings:) | static func googleVertex(settings: GoogleVertexProviderSettings = GoogleVertexProviderSettings()) throws -> GoogleVertexProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | googleVertexAnthropic(project:location:settings:) | static func googleVertexAnthropic(project: String? = nil, location: String? = nil, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | googleVertexMaaS(project:location:settings:) | static func googleVertexMaaS(project: String? = nil, location: String? = nil, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | googleVertexXAI(project:location:settings:) | static func googleVertexXAI(project: String? = nil, location: String? = nil, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | groq(settings:) | static func groq(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | hasToolCall(_:) | static func hasToolCall(_ toolNames: String...) -> AIStopCondition | Sources/SwiftAISDK/CoreTools.swift |
| Type Method | huggingFace(settings:) | static func huggingFace(settings: ProviderSettings = ProviderSettings()) throws -> HuggingFaceProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | hume(settings:) | static func hume(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | imageGeneration(action:) | static func imageGeneration(action: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | imageGeneration(action:background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(action: String? = nil, background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | imageGeneration(action:background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(action: String? = nil, background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | imageGeneration(background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | imageGeneration(background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | isAppTool(_:) | static func isAppTool(_ tool: MCPToolDefinition) throws -> Bool | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | isLoopFinished() | static func isLoopFinished() -> AIStopCondition | Sources/SwiftAISDK/CoreTools.swift |
| Type Method | isStepCount(_:) | static func isStepCount(_ stepCount: Int) -> AIStopCondition | Sources/SwiftAISDK/CoreTools.swift |
| Type Method | json(name:description:) | static func json(name: String? = nil, description: String? = nil) -> AIOutput<JSONValue, JSONValue> | Sources/SwiftAISDK/Output.swift |
| Type Method | klingAI(settings:) | static func klingAI(settings: KlingAIProviderSettings = KlingAIProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | klingAI(settings:) | static func klingAI(settings: ProviderSettings) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | lmnt(settings:) | static func lmnt(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | localShell() | static func localShell() -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | luma(settings:) | static func luma(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | makeStream() | static func makeStream() -> (input: AIStreamingAudioInput, writer: AIStreamingAudioWriter) | Sources/SwiftAISDK/CoreStreamingTranscription.swift |
| Type Method | markdownDocument(snapshotDate:) | static func markdownDocument(snapshotDate: String = markdownSnapshotDate) -> String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | markdownTable() | static func markdownTable() -> String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | mcp(serverLabel:allowedTools:authorization:connectorID:headers:requireApproval:serverDescription:serverURL:) | static func mcp(serverLabel: String, allowedTools: JSONValue? = nil, authorization: String? = nil, connectorID: String? = nil, headers: JSONValue? = nil, requireApproval: JSONValue? = nil, serverDescription: String? = nil, serverURL: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | mcpServer(serverURL:serverLabel:serverDescription:allowedTools:headers:authorization:) | static func mcpServer(serverURL: String, serverLabel: String? = nil, serverDescription: String? = nil, allowedTools: [String]? = nil, headers: JSONValue? = nil, authorization: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | memory_20250818() | static func memory_20250818() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | miniMax(settings:) | static func miniMax(settings: MiniMaxProviderSettings = MiniMaxProviderSettings()) throws -> MiniMaxProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | mistral(settings:) | static func mistral(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | moonshotAI(settings:) | static func moonshotAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | object(_:) | static func object(_ values: [String : JSONValue?]) -> JSONValue | Sources/SwiftAISDK/JSONValue.swift |
| Type Method | object(schema:name:description:) | static func object<Schema>(schema: Schema, name: String? = nil, description: String? = nil) -> AIOutput<Schema.Output, JSONValue> where Schema : AIObjectSchema | Sources/SwiftAISDK/Output.swift |
| Type Method | object(schema:name:description:as:) | static func object<Object>(schema: JSONValue? = nil, name: String? = nil, description: String? = nil, as type: Object.Type = Object.self) -> AIOutput<Object, JSONValue> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Output.swift |
| Type Method | openAI(settings:) | static func openAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | openAICompatible(name:baseURL:apiKey:headers:queryParams:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:transformRequestBody:) | static func openAICompatible(name: String, baseURL: String, apiKey: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | openResponses(name:url:settings:) | static func openResponses(name: String, url: String, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | parallelSearch(mode:maxResults:includeDomains:excludeDomains:afterDate:maxCharsPerResult:maxCharsTotal:maxAgeSeconds:) | static func parallelSearch(mode: String? = nil, maxResults: Int? = nil, includeDomains: [String] = [], excludeDomains: [String] = [], afterDate: String? = nil, maxCharsPerResult: Int? = nil, maxCharsTotal: Int? = nil, maxAgeSeconds: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | perplexity(settings:) | static func perplexity(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | perplexitySearch(maxResults:maxTokensPerPage:maxTokens:country:searchDomainFilter:searchLanguageFilter:searchRecencyFilter:) | static func perplexitySearch(maxResults: Int? = nil, maxTokensPerPage: Int? = nil, maxTokens: Int? = nil, country: String? = nil, searchDomainFilter: [String] = [], searchLanguageFilter: [String] = [], searchRecencyFilter: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | prodia(settings:) | static func prodia(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | programmaticToolCalling(name:) | static func programmaticToolCalling(name: String = "programmatic_tool_calling") -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | providerError(_:) | static func providerError(_ error: AIStreamProviderError) -> LanguageStreamPart | Sources/SwiftAISDK/StreamProviderError.swift |
| Type Method | providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | quiverAI(settings:) | static func quiverAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | readResource(client:uri:options:) | static func readResource(client: MCPClient, uri: String, options: MCPRequestOptions? = nil) async throws -> MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | refreshAuthorization(authorizationServerURL:metadata:clientInformation:refreshToken:resource:clientAuthentication:transport:) | static func refreshAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, refreshToken: String, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | register(_:) | static func register(_ integrations: any Telemetry.Integration...) | Sources/SwiftAISDK/Telemetry.swift |
| Type Method | register(_:) | static func register(_ integrations: [any Telemetry.Integration]) | Sources/SwiftAISDK/Telemetry.swift |
| Type Method | registerClient(authorizationServerURL:metadata:clientMetadata:transport:) | static func registerClient(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientMetadata: MCPOAuthClientMetadata, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthClientInformationFull | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | registeredIntegrations() | static func registeredIntegrations() -> [any Telemetry.Integration] | Sources/SwiftAISDK/Telemetry.swift |
| Type Method | replicate(settings:) | static func replicate(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | 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 | 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/AIFacadeMedia.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | resolved() | static func resolved() throws -> any AIProvider | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | resolveEmbeddingModel(_:provider:) | static func resolveEmbeddingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any EmbeddingModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resolveImageModel(_:provider:) | static func resolveImageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any ImageModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resolveLanguageModel(_:provider:) | static func resolveLanguageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any LanguageModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resolveRerankingModel(_:provider:) | static func resolveRerankingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any RerankingModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resolveSpeechModel(_:provider:) | static func resolveSpeechModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any SpeechModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resolveTranscriptionModel(_:provider:) | static func resolveTranscriptionModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any TranscriptionModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resolveVideoModel(_:provider:) | static func resolveVideoModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any VideoModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | resource(uri:from:) | static func resource(uri: String, from readResult: MCPReadResourceResult) throws -> MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | resourceURI(from:) | static func resourceURI(from tool: MCPToolDefinition) throws -> String? | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | resourceURIs(from:) | static func resourceURIs(from definitions: MCPListToolsResult) throws -> [String] | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | revAI(settings:) | static func revAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | row(providerID:) | static func row(providerID: String) -> AIProviderCapabilityRow? | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | rows(upstreamPackage:) | static func rows(upstreamPackage: String) -> [AIProviderCapabilityRow] | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | selectResourceURL(serverURL:provider:resourceMetadata:) | static func selectResourceURL(serverURL: URL, provider: any MCPOAuthClientProvider, resourceMetadata: MCPOAuthProtectedResourceMetadata?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | set(_:) | static func set(_ provider: (any AIProvider)?) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | shell(environment:) | static func shell(environment: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellAllowlistNetworkPolicy(allowedDomains:domainSecrets:) | static func shellAllowlistNetworkPolicy(allowedDomains: [String], domainSecrets: [JSONValue] = []) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellContainerAutoEnvironment(fileIDs:memoryLimit:networkPolicy:skills:) | static func shellContainerAutoEnvironment(fileIDs: [String] = [], memoryLimit: String? = nil, networkPolicy: JSONValue? = nil, skills: [JSONValue] = []) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellContainerReferenceEnvironment(containerID:) | static func shellContainerReferenceEnvironment(containerID: String) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellDisabledNetworkPolicy() | static func shellDisabledNetworkPolicy() -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellDomainSecret(domain:name:value:) | static func shellDomainSecret(domain: String, name: String, value: String) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellInlineSkill(name:description:base64ZipData:) | static func shellInlineSkill(name: String, description: String, base64ZipData: String) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellLocalEnvironment(skills:) | static func shellLocalEnvironment(skills: [JSONValue] = []) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellLocalSkill(name:description:path:) | static func shellLocalSkill(name: String, description: String, path: String) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellSkillReference(providerReference:version:) | static func shellSkillReference(providerReference: [String : String], version: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | shellSkillReference(skillID:version:) | static func shellSkillReference(skillID: String, version: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | snapshots(from:messageID:terminateOnError:) | static func snapshots(from stream: AsyncThrowingStream<LanguageStreamPart, any Error>, messageID: String = UUID().uuidString, terminateOnError: Bool = false) -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Type Method | splitTools(_:) | static func splitTools(_ definitions: MCPListToolsResult) throws -> MCPAppToolSplit | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | startAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:) | static func startAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: URL, scope: String? = nil, state: String? = nil, resource: URL? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | startAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:) | static func startAuthorization(authorizationServerURL: String, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: String, scope: String? = nil, state: String? = nil, resource: String? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | 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/AIFacadeBatch.swift |
| Type Method | startVideo(model:request:webhookURL:retryPolicy:) | static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/VideoGenerationOperations.swift |
| Type Method | 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/AIFacadeStreamEnumJSON.swift |
| Type Method | 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/AIFacadeStreamEnumJSON.swift |
| Type Method | 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/AIFacadeStreamEnumJSON.swift |
| Type Method | 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/AIFacadeStreamEnumJSON.swift |
| Type Method | 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/AIFacadeStreamObjectSchema.swift |
| Type Method | 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/AIFacadeStreamObjectSchema.swift |
| Type Method | 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 | 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/AIFacadeStreamObject.swift |
| Type Method | 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/AIFacadeStreamObjectSchema.swift |
| Type Method | 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/AIFacadeStreamObjectArray.swift |
| Type Method | 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/AIFacadeStreamObjectArray.swift |
| Type Method | 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/AIFacadeStreamObjectArray.swift |
| Type Method | 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/AIFacadeStreamObjectArray.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/AIFacadeStreamText.swift |
| Type Method | 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/AIFacadeStreamTextCompatibility.swift |
| Type Method | 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/AIFacadeStreamText.swift |
| Type Method | 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/AIFacadeStreamTextCompatibility.swift |
| Type Method | 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 | 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 | 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 | 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/AIFacadeStreamText.swift |
| Type Method | 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/AIFacadeStreamTextCompatibility.swift |
| Type Method | 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/AIFacadeStreamText.swift |
| Type Method | 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/AIFacadeStreamTextCompatibility.swift |
| Type Method | 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/AIFacadeStreamText.swift |
| Type Method | 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/AIFacadeStreamTextCompatibility.swift |
| Type Method | success(value:rawValue:) | static func success(value: JSONValue, rawValue: JSONValue) -> AIJSONParseResult | Sources/SwiftAISDK/JSONParsing.swift |
| Type Method | system(_:) | static func system(_ text: String) -> AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | system(_:id:metadata:) | static func system(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | takoSearch(_:) | static func takoSearch(_ config: GatewayTakoSearchConfig = GatewayTakoSearchConfig()) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | text() | static func text() -> AIOutput<String, String> | Sources/SwiftAISDK/Output.swift |
| Type Method | textEditor_20241022() | static func textEditor_20241022() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20241022() | static func textEditor_20241022() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20250124() | static func textEditor_20250124() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20250124() | static func textEditor_20250124() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20250429() | static func textEditor_20250429() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20250429() | static func textEditor_20250429() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20250728(maxCharacters:) | static func textEditor_20250728(maxCharacters: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | textEditor_20250728(maxCharacters:) | static func textEditor_20250728(maxCharacters: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | togetherAI(settings:) | static func togetherAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | toolMeta(from:) | static func toolMeta(from tool: MCPToolDefinition) throws -> MCPAppToolMeta? | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | toolResponses(approvalResponses:toolResults:) | static func toolResponses(approvalResponses: [AIToolApprovalResponse] = [], toolResults: [AIToolResult] = []) -> AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | toolResult(_:) | static func toolResult(_ result: AIToolResult) -> AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | toolSearch(execution:description:parameters:) | static func toolSearch(execution: JSONValue? = nil, description: String? = nil, parameters: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | toolSearchBm25_20251119() | static func toolSearchBm25_20251119() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | toolSearchBm25_20251119() | static func toolSearchBm25_20251119() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | toolSearchRegex_20251119() | static func toolSearchRegex_20251119() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | toolSearchRegex_20251119() | static func toolSearchRegex_20251119() -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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 | 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/AIFacadeMedia.swift |
| Type Method | 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/SwiftNativeLanguageAPI.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | 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/AIFacadeMedia.swift |
| Type Method | urlContext() | static func urlContext() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | urlContext() | static func urlContext() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | useDefaultLogger() | static func useDefaultLogger() | Sources/SwiftAISDK/WarningLogging.swift |
| Type Method | useLogger(_:) | static func useLogger(_ logger: any AIWarningLogger) | Sources/SwiftAISDK/WarningLogging.swift |
| Type Method | user(_:) | static func user(_ text: String) -> AIMessage | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | user(_:id:metadata:) | static func user(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | vercel(settings:) | static func vercel(settings: ProviderSettings = ProviderSettings()) throws -> VercelProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | vertexRagStore(ragCorpus:topK:) | static func vertexRagStore(ragCorpus: String, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | vertexRagStore(ragCorpus:topK:) | static func vertexRagStore(ragCorpus: String, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | videoURL(_:mediaType:providerMetadata:) | static func videoURL(_ url: String, mediaType: String = "video/*", providerMetadata: [String : JSONValue] = [:]) -> AIContentPart | Sources/SwiftAISDK/CoreMessages.swift |
| Type Method | viewImage() | static func viewImage() -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | viewXVideo() | static func viewXVideo() -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | voyage(settings:) | static func voyage(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | 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 | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | 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 | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | webSearch_20250305(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20250305(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | webSearch_20250305(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20250305(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | webSearch_20260209(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20260209(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AnthropicModels.swift |
| Type Method | webSearch(allowedDomains:excludedDomains:enableImageSearch:enableImageUnderstanding:) | static func webSearch(allowedDomains: [String]? = nil, excludedDomains: [String]? = nil, enableImageSearch: Bool? = nil, enableImageUnderstanding: Bool? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | webSearch(filters:externalWebAccess:searchContextSize:userLocation:) | static func webSearch(filters: JSONValue? = nil, externalWebAccess: Bool? = nil, searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | webSearch(filters:externalWebAccess:searchContextSize:userLocation:) | static func webSearch(filters: JSONValue? = nil, externalWebAccess: Bool? = nil, searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | webSearchPreview(searchContextSize:userLocation:) | static func webSearchPreview(searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | webSearchPreview(searchContextSize:userLocation:) | static func webSearchPreview(searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | withLogger(_:operation:) | static func withLogger<Result>(_ logger: any AIWarningLogger, operation: () async throws -> Result) async rethrows -> Result | Sources/SwiftAISDK/WarningLogging.swift |
| Type Method | withLoggingDisabled(operation:) | static func withLoggingDisabled<Result>(operation: () async throws -> Result) async rethrows -> Result | Sources/SwiftAISDK/WarningLogging.swift |
| Type Method | withProvider(_:operation:) | static func withProvider<Result>(_ provider: any AIProvider, operation: () throws -> Result) rethrows -> Result | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | withProvider(_:operation:) | static func withProvider<Result>(_ provider: any AIProvider, operation: () async throws -> Result) async rethrows -> Result | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | xAI(settings:) | static func xAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | xSearch(allowedXHandles:excludedXHandles:fromDate:toDate:enableImageUnderstanding:enableVideoUnderstanding:) | static func xSearch(allowedXHandles: [String]? = nil, excludedXHandles: [String]? = nil, fromDate: String? = nil, toDate: String? = nil, enableImageUnderstanding: Bool? = nil, enableVideoUnderstanding: Bool? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Property | all | static let all: [AIProviderCapabilityRow] | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Property | appMIMEType | static let appMIMEType: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | automatic | static let automatic: AIJSONInstruction | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Type Property | clientCapabilities | static let clientCapabilities: JSONValue | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | default | static let default: AIRetryPolicy | Sources/SwiftAISDK/Core.swift |
| Type Property | default | static let default: LanguageGenerationOptions | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Type Property | defaultAPIVersion | static let defaultAPIVersion: String | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Type Property | disabled | static let disabled: AIJSONInstruction | Sources/SwiftAISDK/CoreObjectSchema.swift |
| Type Property | disabled | static let disabled: Telemetry.Options | Sources/SwiftAISDK/Telemetry.swift |
| Type Property | extensionName | static let extensionName: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | latestLegacyProtocolVersion | static let latestLegacyProtocolVersion: String | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | latestProtocolVersion | static let latestProtocolVersion: String | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | legacyResourceURIMetadataKey | static let legacyResourceURIMetadataKey: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | markdownSnapshotDate | static let markdownSnapshotDate: String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Property | none | static let none: AIRetryPolicy | Sources/SwiftAISDK/Core.swift |
| Type Property | none | static let none: LanguageToolOptions | Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift |
| Type Property | normalClosure | static let normalClosure: AIDuplexWebSocketCloseMetadata | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Type Property | notFound | static let notFound: GatewayErrorType | Sources/SwiftAISDK/GatewayErrors.swift |
| Type Property | shared | static let shared: URLSessionDuplexWebSocketTransport | Sources/SwiftAISDK/DuplexWebSocketTransport.swift |
| Type Property | shared | static let shared: URLSessionTransport | Sources/SwiftAISDK/HTTP.swift |
| Type Property | supportedProtocolVersions | static let supportedProtocolVersions: Set<String> | Sources/SwiftAISDK/MCPClientActor.swift |