Skip to content

Core runtime

Symbol kindCount
Case145
Class8
Enumeration33
Function58
Global Variable1
Initializer124
Instance Method136
Instance Property395
Instance Subscript2
Operator1
Protocol22
Structure65
Type Alias11
Type Method98
Type Property7
KindSymbolDeclarationSource
CaseAIAbortSource.signal(_:)case signal(AIAbortSignal)Sources/SwiftAISDK/CoreAbort.swift
CaseAIAbortSource.timeoutMilliseconds(_:)case timeoutMilliseconds(Int)Sources/SwiftAISDK/CoreAbort.swift
CaseAIBatchItemResult.cancelled(id:error:providerMetadata:)case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
CaseAIBatchItemResult.expired(id:error:providerMetadata:)case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
CaseAIBatchItemResult.failed(id:error:providerMetadata:)case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
CaseAIBatchItemResult.succeeded(id:result:)case succeeded(id: String, result: Result)Sources/SwiftAISDK/CoreBatch.swift
CaseAIBatchLifecycleStatus.completedcase completedSources/SwiftAISDK/CoreBatch.swift
CaseAIBatchLifecycleStatus.failedcase failedSources/SwiftAISDK/CoreBatch.swift
CaseAIBatchLifecycleStatus.pendingcase pendingSources/SwiftAISDK/CoreBatch.swift
CaseAIBatchReferenceType.textcase textSources/SwiftAISDK/CoreBatch.swift
CaseAIContentPart.custom(_:providerMetadata:)case custom(JSONValue, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.data(mimeType:data:providerMetadata:)case data(mimeType: String, data: Data, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.file(mimeType:data:filename:providerMetadata:)case file(mimeType: String, data: Data, filename: String? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.imageURL(_:providerMetadata:)case imageURL(String, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.providerReference(mimeType:reference:filename:providerMetadata:)case providerReference(mimeType: String, reference: AIProviderReference, filename: String? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.reasoning(_:providerMetadata:)case reasoning(String, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.reasoningFile(_:)case reasoningFile(AIStreamFile)Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.text(_:providerMetadata:)case text(String, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.toolApprovalRequest(_:)case toolApprovalRequest(AIToolApprovalRequest)Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.toolApprovalResponse(_:)case toolApprovalResponse(AIToolApprovalResponse)Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.toolCall(_:)case toolCall(AIToolCall)Sources/SwiftAISDK/CoreMessages.swift
CaseAIContentPart.toolResult(_:)case toolResult(AIToolResult)Sources/SwiftAISDK/CoreMessages.swift
CaseAIDuplexWebSocketEvent.closed(_:)case closed(AIDuplexWebSocketCloseMetadata)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
CaseAIDuplexWebSocketEvent.message(_:)case message(AIDuplexWebSocketMessage)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
CaseAIDuplexWebSocketEvent.opened(protocol:)case opened(protocol: String?)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
CaseAIDuplexWebSocketMessage.binary(_:)case binary(Data)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
CaseAIDuplexWebSocketMessage.text(_:)case text(String)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
CaseAIError.apiCall(_:)case apiCall(AIAPICallError)Sources/SwiftAISDK/Core.swift
CaseAIError.gateway(_:)case gateway(GatewayError)Sources/SwiftAISDK/Core.swift
CaseAIError.invalidArgument(argument:message:)case invalidArgument(argument: String, message: String)Sources/SwiftAISDK/Core.swift
CaseAIError.invalidResponse(provider:message:)case invalidResponse(provider: String, message: String)Sources/SwiftAISDK/Core.swift
CaseAIError.invalidURL(_:)case invalidURL(String)Sources/SwiftAISDK/Core.swift
CaseAIError.missingAPIKey(provider:environmentVariables:)case missingAPIKey(provider: String, environmentVariables: [String])Sources/SwiftAISDK/Core.swift
CaseAIError.timeout(durationNanoseconds:)case timeout(durationNanoseconds: UInt64)Sources/SwiftAISDK/Core.swift
CaseAIError.unsupportedModel(provider:capability:modelID:)case unsupportedModel(provider: String, capability: ModelCapability, modelID: String)Sources/SwiftAISDK/Core.swift
CaseAIFileOperation.deletecase deleteSources/SwiftAISDK/CoreProtocols.swift
CaseAIFileOperation.downloadcase downloadSources/SwiftAISDK/CoreProtocols.swift
CaseAIFileOperation.getMetadatacase getMetadataSources/SwiftAISDK/CoreProtocols.swift
CaseAIFileOperation.uploadcase uploadSources/SwiftAISDK/CoreProtocols.swift
CaseAIPruneEmptyMessages.keepcase keepSources/SwiftAISDK/PruneMessages.swift
CaseAIPruneEmptyMessages.removecase removeSources/SwiftAISDK/PruneMessages.swift
CaseAIPruneReasoning.allcase allSources/SwiftAISDK/PruneMessages.swift
CaseAIPruneReasoning.beforeLastMessagecase beforeLastMessageSources/SwiftAISDK/PruneMessages.swift
CaseAIPruneReasoning.nonecase noneSources/SwiftAISDK/PruneMessages.swift
CaseAIPruneToolCalls.Scope.allcase allSources/SwiftAISDK/PruneMessages.swift
CaseAIPruneToolCalls.Scope.beforeLastMessages(_:)case beforeLastMessages(Int)Sources/SwiftAISDK/PruneMessages.swift
CaseAIRealtimeClientEvent.conversationItemCreate(_:)case conversationItemCreate(AIRealtimeConversationItem)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.conversationItemTruncate(itemID:contentIndex:audioEndMilliseconds:)case conversationItemTruncate(itemID: String, contentIndex: Int, audioEndMilliseconds: Int)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.inputAudioAppend(audio:)case inputAudioAppend(audio: String)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.inputAudioClearcase inputAudioClearSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.inputAudioCommitcase inputAudioCommitSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.responseCancelcase responseCancelSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.responseCreate(options:)case responseCreate(options: AIRealtimeResponseOptions? = nil)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeClientEvent.sessionUpdate(_:)case sessionUpdate(AIRealtimeSessionConfiguration)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeConversationItem.audioMessage(audio:)case audioMessage(audio: String)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeConversationItem.functionCallOutput(callID:name:output:)case functionCallOutput(callID: String, name: String?, output: String)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeConversationItem.textMessage(text:)case textMessage(text: String)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeOutputModality.audiocase audioSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeOutputModality.textcase textSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.audioCommitted(itemID:previousItemID:raw:)case audioCommitted(itemID: String?, previousItemID: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.audioDelta(responseID:itemID:delta:raw:)case audioDelta(responseID: String, itemID: String, delta: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.audioDone(responseID:itemID:raw:)case audioDone(responseID: String, itemID: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.audioTranscriptDelta(responseID:itemID:delta:raw:)case audioTranscriptDelta(responseID: String, itemID: String, delta: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.audioTranscriptDone(responseID:itemID:transcript:raw:)case audioTranscriptDone(responseID: String, itemID: String, transcript: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.contentPartAdded(responseID:itemID:raw:)case contentPartAdded(responseID: String, itemID: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.contentPartDone(responseID:itemID:raw:)case contentPartDone(responseID: String, itemID: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.conversationItemAdded(itemID:item:raw:)case conversationItemAdded(itemID: String, item: JSONValue, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.custom(rawType:raw:)case custom(rawType: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.error(message:code:raw:)case error(message: String, code: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.functionCallArgumentsDelta(responseID:itemID:callID:delta:raw:)case functionCallArgumentsDelta(responseID: String, itemID: String, callID: String, delta: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.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
CaseAIRealtimeServerEvent.inputTranscriptionCompleted(itemID:transcript:raw:)case inputTranscriptionCompleted(itemID: String, transcript: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.outputItemAdded(responseID:itemID:raw:)case outputItemAdded(responseID: String, itemID: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.outputItemDone(responseID:itemID:raw:)case outputItemDone(responseID: String, itemID: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.responseCreated(responseID:raw:)case responseCreated(responseID: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.responseDone(responseID:status:raw:)case responseDone(responseID: String, status: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.sessionCreated(sessionID:raw:)case sessionCreated(sessionID: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.sessionUpdated(raw:)case sessionUpdated(raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.speechStarted(itemID:raw:)case speechStarted(itemID: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.speechStopped(itemID:raw:)case speechStopped(itemID: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.textDelta(responseID:itemID:delta:raw:)case textDelta(responseID: String, itemID: String, delta: String, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeServerEvent.textDone(responseID:itemID:text:raw:)case textDone(responseID: String, itemID: String, text: String?, raw: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeSessionError.closedcase closedSources/SwiftAISDK/AIRealtimeSession.swift
CaseAIRealtimeSessionError.connectionEndedBeforeOpeningcase connectionEndedBeforeOpeningSources/SwiftAISDK/AIRealtimeSession.swift
CaseAIRealtimeSessionEvent.closed(_:)case closed(AIDuplexWebSocketCloseMetadata)Sources/SwiftAISDK/AIRealtimeSession.swift
CaseAIRealtimeSessionEvent.opened(protocol:)case opened(protocol: String?)Sources/SwiftAISDK/AIRealtimeSession.swift
CaseAIRealtimeSessionEvent.server(_:)case server(AIRealtimeServerEvent)Sources/SwiftAISDK/AIRealtimeSession.swift
CaseAIRealtimeTurnDetectionType.disabledcase disabledSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeTurnDetectionType.semanticVADcase semanticVADSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeTurnDetectionType.serverVADcase serverVADSources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeWireMessage.binary(_:)case binary(Data)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeWireMessage.json(_:)case json(JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIRealtimeWireMessage.text(_:)case text(String)Sources/SwiftAISDK/CoreRealtime.swift
CaseAIResponseFormat.json(schema:name:description:)case json(schema: JSONValue? = nil, name: String? = nil, description: String? = nil)Sources/SwiftAISDK/CoreAbort.swift
CaseAIResponseFormat.textcase textSources/SwiftAISDK/CoreAbort.swift
CaseAIRetryErrorReason.cancelledcase cancelledSources/SwiftAISDK/Core.swift
CaseAIRetryErrorReason.errorNotRetryablecase errorNotRetryableSources/SwiftAISDK/Core.swift
CaseAIRetryErrorReason.maxRetriesExceededcase maxRetriesExceededSources/SwiftAISDK/Core.swift
CaseAISmoothStreamChunking.linecase lineSources/SwiftAISDK/CoreUtilities.swift
CaseAISmoothStreamChunking.wordcase wordSources/SwiftAISDK/CoreUtilities.swift
CaseAIStreamTimeoutPhase.chunkcase chunkSources/SwiftAISDK/AIStreamTimeouts.swift
CaseAIStreamTimeoutPhase.firstChunkcase firstChunkSources/SwiftAISDK/AIStreamTimeouts.swift
CaseAIUIMessagePart.custom(_:providerMetadata:)case custom(JSONValue, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.data(_:)case data(AIUIDataPart)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.error(message:rawValue:)case error(message: String, rawValue: JSONValue?)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.file(_:)case file(AIStreamFile)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.metadata(_:)case metadata([String : JSONValue])Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.raw(_:)case raw(JSONValue)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.reasoning(_:)case reasoning(AIUIReasoningPart)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.reasoningFile(_:)case reasoningFile(AIStreamFile)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.source(_:)case source(AISource)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.text(_:)case text(AIUITextPart)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.toolApprovalRequest(_:)case toolApprovalRequest(AIToolApprovalRequest)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.toolApprovalResponse(_:)case toolApprovalResponse(AIToolApprovalResponse)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.toolCall(_:)case toolCall(AIToolCall)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIMessagePart.toolResult(_:)case toolResult(AIToolResult)Sources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIStreamingPartState.donecase doneSources/SwiftAISDK/CoreUIMessages.swift
CaseAIUIStreamingPartState.streamingcase streamingSources/SwiftAISDK/CoreUIMessages.swift
CaseFileUploadData.data(_:)case data(Data)Sources/SwiftAISDK/CoreFileSkillResults.swift
CaseFileUploadData.stream(_:)case stream(AsyncThrowingStream<Data, any Error>)Sources/SwiftAISDK/CoreFileSkillResults.swift
CaseJSONValue.array(_:)case array([JSONValue])Sources/SwiftAISDK/JSONValue.swift
CaseJSONValue.bool(_:)case bool(Bool)Sources/SwiftAISDK/JSONValue.swift
CaseJSONValue.nullcase nullSources/SwiftAISDK/JSONValue.swift
CaseJSONValue.number(_:)case number(Double)Sources/SwiftAISDK/JSONValue.swift
CaseJSONValue.object(_:)case object([String : JSONValue])Sources/SwiftAISDK/JSONValue.swift
CaseJSONValue.string(_:)case string(String)Sources/SwiftAISDK/JSONValue.swift
CaseMessageRole.assistantcase assistantSources/SwiftAISDK/CoreMessages.swift
CaseMessageRole.systemcase systemSources/SwiftAISDK/CoreMessages.swift
CaseMessageRole.toolcase toolSources/SwiftAISDK/CoreMessages.swift
CaseMessageRole.usercase userSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.audioGenerationcase audioGenerationSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.audioTransformationcase audioTransformationSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.completioncase completionSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.dubbingcase dubbingSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.embeddingcase embeddingSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.imagecase imageSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.languagecase languageSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.rerankingcase rerankingSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.speechcase speechSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.transcriptioncase transcriptionSources/SwiftAISDK/CoreMessages.swift
CaseModelCapability.videocase videoSources/SwiftAISDK/CoreMessages.swift
CaseTextBatchItemResult.cancelled(id:error:providerMetadata:)case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
CaseTextBatchItemResult.expired(id:error:providerMetadata:)case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
CaseTextBatchItemResult.failed(id:error:providerMetadata:)case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
CaseTextBatchItemResult.succeeded(id:result:)case succeeded(id: String, result: TextBatchGenerationResult)Sources/SwiftAISDK/CoreBatch.swift
ClassAIAbortControllerfinal class AIAbortControllerSources/SwiftAISDK/CoreAbort.swift
ClassAIAbortHandlerRegistrationfinal class AIAbortHandlerRegistrationSources/SwiftAISDK/CoreAbort.swift
ClassAIAbortSignalfinal class AIAbortSignalSources/SwiftAISDK/CoreAbort.swift
ClassAIDelayedPromisefinal class AIDelayedPromise<Value> where Value : SendableSources/SwiftAISDK/CoreDelayedPromise.swift
ClassAIRealtimeSessionfinal class AIRealtimeSessionSources/SwiftAISDK/AIRealtimeSession.swift
ClassAISerialJobExecutorfinal class AISerialJobExecutorSources/SwiftAISDK/CoreSerialJobExecutor.swift
ClassURLSessionDuplexWebSocketTransportfinal class URLSessionDuplexWebSocketTransportSources/SwiftAISDK/DuplexWebSocketTransport.swift
ClassURLSessionTransportfinal class URLSessionTransportSources/SwiftAISDK/HTTP.swift
EnumerationAIenum AISources/SwiftAISDK/AI.swift
EnumerationAIAbortSourceenum AIAbortSourceSources/SwiftAISDK/CoreAbort.swift
EnumerationAIBatchItemResultenum AIBatchItemResult<Result> where Result : SendableSources/SwiftAISDK/CoreBatch.swift
EnumerationAIBatchLifecycleStatusenum AIBatchLifecycleStatusSources/SwiftAISDK/CoreBatch.swift
EnumerationAIBatchReferenceTypeenum AIBatchReferenceTypeSources/SwiftAISDK/CoreBatch.swift
EnumerationAIContentPartenum AIContentPartSources/SwiftAISDK/CoreMessages.swift
EnumerationAIDuplexWebSocketEventenum AIDuplexWebSocketEventSources/SwiftAISDK/DuplexWebSocketTransport.swift
EnumerationAIDuplexWebSocketMessageenum AIDuplexWebSocketMessageSources/SwiftAISDK/DuplexWebSocketTransport.swift
EnumerationAIErrorenum AIErrorSources/SwiftAISDK/Core.swift
EnumerationAIFileOperationenum AIFileOperationSources/SwiftAISDK/CoreProtocols.swift
EnumerationAIPruneEmptyMessagesenum AIPruneEmptyMessagesSources/SwiftAISDK/PruneMessages.swift
EnumerationAIPruneReasoningenum AIPruneReasoningSources/SwiftAISDK/PruneMessages.swift
EnumerationAIPruneToolCalls.Scopeenum ScopeSources/SwiftAISDK/PruneMessages.swift
EnumerationAIRealtimeClientEventenum AIRealtimeClientEventSources/SwiftAISDK/CoreRealtime.swift
EnumerationAIRealtimeConversationItemenum AIRealtimeConversationItemSources/SwiftAISDK/CoreRealtime.swift
EnumerationAIRealtimeOutputModalityenum AIRealtimeOutputModalitySources/SwiftAISDK/CoreRealtime.swift
EnumerationAIRealtimeServerEventenum AIRealtimeServerEventSources/SwiftAISDK/CoreRealtime.swift
EnumerationAIRealtimeSessionErrorenum AIRealtimeSessionErrorSources/SwiftAISDK/AIRealtimeSession.swift
EnumerationAIRealtimeSessionEventenum AIRealtimeSessionEventSources/SwiftAISDK/AIRealtimeSession.swift
EnumerationAIRealtimeTurnDetectionTypeenum AIRealtimeTurnDetectionTypeSources/SwiftAISDK/CoreRealtime.swift
EnumerationAIRealtimeWireMessageenum AIRealtimeWireMessageSources/SwiftAISDK/CoreRealtime.swift
EnumerationAIResponseFormatenum AIResponseFormatSources/SwiftAISDK/CoreAbort.swift
EnumerationAIRetryErrorReasonenum AIRetryErrorReasonSources/SwiftAISDK/Core.swift
EnumerationAISmoothStreamChunkingenum AISmoothStreamChunkingSources/SwiftAISDK/CoreUtilities.swift
EnumerationAIStreamTimeoutPhaseenum AIStreamTimeoutPhaseSources/SwiftAISDK/AIStreamTimeouts.swift
EnumerationAIUIMessagePartenum AIUIMessagePartSources/SwiftAISDK/CoreUIMessages.swift
EnumerationAIUIStreamingPartStateenum AIUIStreamingPartStateSources/SwiftAISDK/CoreUIMessages.swift
EnumerationAIWarningLoggingenum AIWarningLoggingSources/SwiftAISDK/WarningLogging.swift
EnumerationFileUploadDataenum FileUploadDataSources/SwiftAISDK/CoreFileSkillResults.swift
EnumerationJSONValueenum JSONValueSources/SwiftAISDK/JSONValue.swift
EnumerationMessageRoleenum MessageRoleSources/SwiftAISDK/CoreMessages.swift
EnumerationModelCapabilityenum ModelCapabilitySources/SwiftAISDK/CoreMessages.swift
EnumerationTextBatchItemResultenum TextBatchItemResultSources/SwiftAISDK/CoreBatch.swift
FunctionaddAdditionalPropertiesToJSONSchema(_:)func addAdditionalPropertiesToJSONSchema(_ schema: JSONValue) -> JSONValueSources/SwiftAISDK/JSONSchemaValidator.swift
FunctionasArray(_:)func asArray<Value>(_ value: Value?) -> [Value]Sources/SwiftAISDK/CoreUtilities.swift
FunctionasArray(_:)func asArray<Value>(_ value: [Value]?) -> [Value]Sources/SwiftAISDK/CoreUtilities.swift
FunctioncalculateTokensPerSecond(tokens:durationMilliseconds:)func calculateTokensPerSecond(tokens: Double?, durationMilliseconds: Double?) -> DoubleSources/SwiftAISDK/CoreUtilities.swift
FunctioncombineHeaders(_:)func combineHeaders(_ headers: [String : String]...) -> [String : String]Sources/SwiftAISDK/HTTP.swift
FunctioncosineSimilarity(_:_:)func cosineSimilarity(_ vector1: [Double], _ vector2: [Double]) throws -> DoubleSources/SwiftAISDK/CoreUtilities.swift
FunctioncosineSimilarity(_:_:)func cosineSimilarity(_ vector1: [Float], _ vector2: [Float]) throws -> DoubleSources/SwiftAISDK/CoreUtilities.swift
FunctioncreateAgentUIStream(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
FunctioncreateAsyncIterableStream(_:)func createAsyncIterableStream<Element>(_ source: AsyncThrowingStream<Element, any Error>) -> AsyncThrowingStream<Element, any Error> where Element : SendableSources/SwiftAISDK/CoreUtilities.swift
FunctioncreateIdGenerator(prefix:separator:size:alphabet:)func createIdGenerator(prefix: String? = nil, separator: String = "-", size: Int = 16, alphabet: String = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") -> AIIdGeneratorSources/SwiftAISDK/CoreUtilities.swift
FunctioncreateStitchableStream()func createStitchableStream<Element>() -> AIStitchableStream<Element> where Element : SendableSources/SwiftAISDK/CoreUtilities.swift
FunctioncreateToolNameMapping(tools:providerToolNames:)func createToolNameMapping(tools: [String : JSONValue]? = nil, providerToolNames: [String : String]) -> AIToolNameMappingSources/SwiftAISDK/CoreUtilities.swift
Functiondelay(_:abortSignal:)func delay(_ delayInMilliseconds: Int? = nil, abortSignal: AIAbortSignal? = nil) async throwsSources/SwiftAISDK/CoreAbort.swift
FunctionextractLines(text:startLine:endLine:)func extractLines(text: String, startLine: Int? = nil, endLine: Int? = nil) -> StringSources/SwiftAISDK/CoreUtilities.swift
FunctionfilterNullable(_:)func filterNullable<Value>(_ values: Value?...) -> [Value]Sources/SwiftAISDK/CoreUtilities.swift
FunctiongenerateId()func generateId() -> StringSources/SwiftAISDK/CoreUtilities.swift
FunctiongetPotentialStartIndex(_:_:)func getPotentialStartIndex(_ text: String, _ searchedText: String) -> Int?Sources/SwiftAISDK/CoreUtilities.swift
FunctionisCustomReasoning(_:)func isCustomReasoning(_ reasoning: String?) -> BoolSources/SwiftAISDK/CoreUtilities.swift
FunctionisDeepEqualData(_:_:)func isDeepEqualData(_ lhs: JSONValue, _ rhs: JSONValue) -> BoolSources/SwiftAISDK/CoreUtilities.swift
FunctionisJSONSerializable(_:)func isJSONSerializable(_ value: Any?) -> BoolSources/SwiftAISDK/JSONParsing.swift
FunctionisParsableJSON(_:)func isParsableJSON(_ input: String) -> BoolSources/SwiftAISDK/JSONParsing.swift
FunctionisURLSupported(mediaType:url:supportedURLs:)func isURLSupported(mediaType: String, url: String, supportedURLs: [String : [AISupportedURLPattern]]) -> BoolSources/SwiftAISDK/CoreProtocols.swift
FunctionmapReasoningToProviderBudget(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
FunctionmapReasoningToProviderEffort(reasoning:effortMap:warnings:)func mapReasoningToProviderEffort(reasoning: String, effortMap: [String : String], warnings: inout [AIWarning]) -> String?Sources/SwiftAISDK/CoreUtilities.swift
FunctionmergeAbortSignals(_:)@discardableResult func mergeAbortSignals(_ signals: AIAbortSignal?...) -> AIAbortSignal?Sources/SwiftAISDK/CoreAbort.swift
FunctionmergeAbortSignals(_:)@discardableResult func mergeAbortSignals(_ signals: [AIAbortSignal?]) -> AIAbortSignal?Sources/SwiftAISDK/CoreAbort.swift
FunctionmergeAbortSignals(sources:)@discardableResult func mergeAbortSignals(sources: AIAbortSource?...) -> AIAbortSignal?Sources/SwiftAISDK/CoreAbort.swift
FunctionmergeAbortSignals(sources:)@discardableResult func mergeAbortSignals(sources: [AIAbortSource?]) -> AIAbortSignal?Sources/SwiftAISDK/CoreAbort.swift
FunctionmergeCallbacks(_:)func mergeCallbacks<Event>(_ callbacks: [AICallback<Event>?]) -> AICallback<Event> where Event : SendableSources/SwiftAISDK/CoreUtilities.swift
FunctionmergeCallbacks(_:)func mergeCallbacks<Event>(_ callbacks: AICallback<Event>?...) -> AICallback<Event> where Event : SendableSources/SwiftAISDK/CoreUtilities.swift
FunctionmergeObjects(_:_:)func mergeObjects(_ target: [String : JSONValue]?, _ source: [String : JSONValue]?) -> [String : JSONValue]?Sources/SwiftAISDK/CoreUtilities.swift
FunctionnormalizeHeaderEntries(_:)func normalizeHeaderEntries(_ entries: [(String, String?)]) -> [String : String]Sources/SwiftAISDK/HTTP.swift
FunctionnormalizeHeaders(_:)func normalizeHeaders(_ headers: [String : String?]?) -> [String : String]Sources/SwiftAISDK/HTTP.swift
FunctionnormalizeHeaders(_:)func normalizeHeaders(_ headers: [String : String]) -> [String : String]Sources/SwiftAISDK/HTTP.swift
Functionnotify(event:)func notify<Event>(event: Event) async where Event : SendableSources/SwiftAISDK/CoreUtilities.swift
Functionnotify(event:callback:)func notify<Event>(event: Event, callback: AICallback<Event>?) async where Event : SendableSources/SwiftAISDK/CoreUtilities.swift
Functionnotify(event:callbacks:)func notify<Event>(event: Event, callbacks: [AICallback<Event>?]) async where Event : SendableSources/SwiftAISDK/CoreUtilities.swift
FunctionparseJSON(_:schema:)func parseJSON(_ text: String, schema: JSONValue? = nil) throws -> JSONValueSources/SwiftAISDK/JSONParsing.swift
FunctionprepareHeaders(_:defaultHeaders:)func prepareHeaders(_ headers: [String : String?]?, defaultHeaders: [String : String]) -> [String : String]Sources/SwiftAISDK/HTTP.swift
FunctionprepareHeaders(_:defaultHeaders:)func prepareHeaders(_ headers: [String : String], defaultHeaders: [String : String]) -> [String : String]Sources/SwiftAISDK/HTTP.swift
FunctionprepareRetries(maxRetries:)func prepareRetries(maxRetries: Int? = nil) throws -> AIRetryPolicySources/SwiftAISDK/Core.swift
FunctionpruneMessages(_:reasoning:toolCalls:emptyMessages:)func pruneMessages(_ messages: [AIMessage], reasoning: AIPruneReasoning = .none, toolCalls: [AIPruneToolCalls] = [], emptyMessages: AIPruneEmptyMessages = .remove) -> [AIMessage]Sources/SwiftAISDK/PruneMessages.swift
FunctionreadResponseWithSizeLimit(response:url:maxBytes:)func readResponseWithSizeLimit(response: AIHTTPStreamResponse, url: String, maxBytes: Int = AIDefaultMaxDownloadSize) async throws -> DataSources/SwiftAISDK/HTTP.swift
FunctionremoveNilEntries(_:)func removeNilEntries<Value>(_ input: [String : Value?]) -> [String : Value]Sources/SwiftAISDK/CoreUtilities.swift
FunctionsafeParseJSON(_:schema:)func safeParseJSON(_ text: String, schema: JSONValue? = nil) -> AIJSONParseResultSources/SwiftAISDK/JSONParsing.swift
FunctionsecureJSONParse(_:)func secureJSONParse(_ text: String) throws -> JSONValueSources/SwiftAISDK/JSONParsing.swift
FunctionsetAbortTimeout(abortController:label:timeoutMilliseconds:)@discardableResult func setAbortTimeout(abortController: AIAbortController?, label: String, timeoutMilliseconds: Int?) -> Task<Void, Never>?Sources/SwiftAISDK/CoreAbort.swift
FunctionsimulateReadableStream(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 : SendableSources/SwiftAISDK/CoreUtilities.swift
FunctionsmoothStream(_: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
FunctionsmoothStream(_: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
FunctionsplitArray(_:chunkSize:)func splitArray<Element>(_ array: [Element], chunkSize: Int) throws -> [[Element]]Sources/SwiftAISDK/CoreUtilities.swift
FunctionstripFileExtension(_:)func stripFileExtension(_ filename: String) -> StringSources/SwiftAISDK/CoreUtilities.swift
FunctionsumTokenCounts(_:_:)func sumTokenCounts(_ lhs: Int?, _ rhs: Int?) -> Int?Sources/SwiftAISDK/CoreUtilities.swift
FunctiontoResponseMessages(content:toolsByName:)func toResponseMessages(content: [AIContentPart], toolsByName: [String : AITool] = [:]) async throws -> [AIMessage]Sources/SwiftAISDK/ResponseMessages.swift
FunctiontoTextStream(_:)func toTextStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>) -> AsyncThrowingStream<String, any Error>Sources/SwiftAISDK/CoreUtilities.swift
FunctionvalidateDownloadURL(_:)func validateDownloadURL(_ string: String) throws -> URLSources/SwiftAISDK/HTTP.swift
FunctionwithUserAgentSuffix(_:_:)func withUserAgentSuffix(_ headers: [String : String?]? = nil, _ userAgentSuffixParts: String...) -> [String : String]Sources/SwiftAISDK/HTTP.swift
FunctionwithUserAgentSuffix(_:_:)func withUserAgentSuffix(_ headers: [String : String], _ userAgentSuffixParts: String...) -> [String : String]Sources/SwiftAISDK/HTTP.swift
Global VariableAIDefaultMaxDownloadSizelet AIDefaultMaxDownloadSize: IntSources/SwiftAISDK/HTTP.swift
Initializerinit(_:)init(_ matcher: @escaping @Sendable (String) -> Bool)Sources/SwiftAISDK/CoreProtocols.swift
Initializerinit(_:)init(_ format: AIStreamingAudioFormat)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(_:)init(_ rawValue: String)Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Initializerinit(_: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
Initializerinit()init()Sources/SwiftAISDK/CoreAbort.swift
Initializerinit()init()Sources/SwiftAISDK/CoreDelayedPromise.swift
Initializerinit()init()Sources/SwiftAISDK/CoreSerialJobExecutor.swift
Initializerinit()init()Sources/SwiftAISDK/WarningLogging.swift
Initializerinit(arrayLiteral:)init(arrayLiteral elements: JSONValue...)Sources/SwiftAISDK/JSONValue.swift
Initializerinit(batch:warnings:)init(batch: TextBatch, warnings: [AIBatchWarning] = [])Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(batch:warnings:providerMetadata:)init(batch: TextBatch, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(batchID:providerOptions:abortSignal:headers:)init(batchID: String, providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:])Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(batchID:status:warnings:)init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = [])Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(batchID:status:warnings:providerMetadata:)init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(booleanLiteral:)init(booleanLiteral value: Bool)Sources/SwiftAISDK/JSONValue.swift
Initializerinit(code:reason:)init(code: Int, reason: String? = nil)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Initializerinit(configuration:)init(configuration: URLSessionConfiguration = .default)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Initializerinit(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
Initializerinit(customToolNameToProviderToolName:)init(customToolNameToProviderToolName: [String : String] = [:])Sources/SwiftAISDK/CoreUtilities.swift
Initializerinit(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
Initializerinit(dictionaryLiteral:)init(dictionaryLiteral elements: (String, JSONValue)...)Sources/SwiftAISDK/JSONValue.swift
Initializerinit(expiresAfterSeconds:sessionConfig:abortSignal:)init(expiresAfterSeconds: Int? = nil, sessionConfig: AIRealtimeSessionConfiguration? = nil, abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(file:providerOptions:headers:abortSignal:)init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/CoreFileSkillResults.swift
Initializerinit(file:providerOptions:headers:abortSignal:)init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/CoreFileSkillResults.swift
Initializerinit(file:providerOptions:headers:abortSignal:)init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/CoreFileSkillResults.swift
Initializerinit(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
Initializerinit(files:displayTitle:providerOptions:headers:abortSignal:)init(files: [SkillUploadFile], displayTitle: String? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/CoreFileSkillResults.swift
Initializerinit(floatLiteral:)init(floatLiteral value: Double)Sources/SwiftAISDK/JSONValue.swift
Initializerinit(from:)init(from decoder: any Decoder) throws
Initializerinit(from:)init(from decoder: any Decoder) throws
Initializerinit(from:)init(from decoder: any Decoder) throws
Initializerinit(from:)init(from decoder: any Decoder) throws
Initializerinit(from:)init(from decoder: any Decoder) throws
Initializerinit(from:)init(from decoder: any Decoder) throws
Initializerinit(from:)init(from decoder: any Decoder) throwsSources/SwiftAISDK/JSONValue.swift
Initializerinit(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
Initializerinit(id:request:)init(id: String, request: LanguageModelRequest)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(id:request:)init(id: String, request: LanguageModelRequest)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(id:role:parts:metadata:)init(id: String = UUID().uuidString, role: MessageRole, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreUIMessages.swift
Initializerinit(id:text:state:providerMetadata:)init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreUIMessages.swift
Initializerinit(id:text:state:providerMetadata:)init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreUIMessages.swift
Initializerinit(id:value:providerMetadata:)init(id: String? = nil, value: JSONValue, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreUIMessages.swift
Initializerinit(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
Initializerinit(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
Initializerinit(integerLiteral:)init(integerLiteral value: Int)Sources/SwiftAISDK/JSONValue.swift
Initializerinit(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
Initializerinit(message:type:code:statusCode:)init(message: String, type: String? = nil, code: String? = nil, statusCode: Int? = nil)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(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
Initializerinit(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
Initializerinit(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
Initializerinit(modalities:instructions:metadata:)init(modalities: [String]? = nil, instructions: String? = nil, metadata: [String : JSONValue]? = nil)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(model:language:prompt:)init(model: String? = nil, language: String? = nil, prompt: String? = nil)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(nilLiteral:)init(nilLiteral: ())Sources/SwiftAISDK/JSONValue.swift
Initializerinit(path:data:mediaType:)init(path: String, data: Data, mediaType: String = "application/octet-stream")Sources/SwiftAISDK/CoreFileSkillResults.swift
Initializerinit(phase:durationNanoseconds:)init(phase: AIStreamTimeoutPhase, durationNanoseconds: UInt64)Sources/SwiftAISDK/AIStreamTimeouts.swift
Initializerinit(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
Initializerinit(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
Initializerinit(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
Initializerinit(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
Initializerinit(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
Initializerinit(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
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(rawValue:)init(rawValue: String)Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Initializerinit(rawValue:)init?(rawValue: String)
Initializerinit(reason:attempts:errors:)init(reason: AIRetryErrorReason, attempts: Int, errors: [String])Sources/SwiftAISDK/Core.swift
Initializerinit(reason:reasonName:)init(reason: String? = nil, reasonName: String? = nil)Sources/SwiftAISDK/CoreAbort.swift
Initializerinit(reference:status:)init(reference: TextBatchReference, status: AIBatchStatus)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(requestID:warning:)init(requestID: String? = nil, warning: AIWarning)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(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
Initializerinit(requests:providerOptions:abortSignal:headers:idempotencyKey:)init(requests: [Request], providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], idempotencyKey: String? = nil)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(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
Initializerinit(role:content:reasoning:providerMetadata:)init(role: MessageRole, content: [AIContentPart], reasoning: String? = nil, providerMetadata: [String : JSONValue] = [:])Sources/SwiftAISDK/CoreMessages.swift
Initializerinit(scope:tools:)init(scope: AIPruneToolCalls.Scope, tools: Set<String>? = nil)Sources/SwiftAISDK/PruneMessages.swift
Initializerinit(session:)init(session: URLSession = .shared)Sources/SwiftAISDK/HTTP.swift
Initializerinit(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
Initializerinit(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
Initializerinit(statusCode:headers:body:cancelBody:)init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, cancelBody: @escaping @Sendable () -> Void = {})Sources/SwiftAISDK/HTTP.swift
Initializerinit(statusCode:headers:body:url:)init(statusCode: Int, headers: [String : String] = [:], body: Data = Data(), url: URL? = nil)Sources/SwiftAISDK/HTTP.swift
Initializerinit(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
Initializerinit(stringLiteral:)init(stringLiteral value: String)Sources/SwiftAISDK/JSONValue.swift
Initializerinit(stringLiteral:)init(stringLiteral value: String)Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Initializerinit(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
Initializerinit(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
Initializerinit(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
Initializerinit(text:message:)init(text: String, message: String)Sources/SwiftAISDK/JSONParsing.swift
Initializerinit(token:url:expiresAt:)init(token: String, url: String, expiresAt: Int? = nil)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(total:pending:completed:failed:)init(total: Int, pending: Int, completed: Int, failed: Int)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(totalNanoseconds:stepNanoseconds:firstChunkNanoseconds:chunkNanoseconds:)init(totalNanoseconds: UInt64? = nil, stepNanoseconds: UInt64? = nil, firstChunkNanoseconds: UInt64? = nil, chunkNanoseconds: UInt64? = nil)Sources/SwiftAISDK/AIStreamTimeouts.swift
Initializerinit(type:feature:setting:message:)init(type: String, feature: String? = nil, setting: String? = nil, message: String? = nil)Sources/SwiftAISDK/CoreFileSkillResults.swift
Initializerinit(type:name:description:parameters:)init(type: String = "function", name: String, description: String? = nil, parameters: JSONValue)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(type:rate:)init(type: String, rate: Int? = nil)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(type:threshold:silenceDurationMilliseconds:prefixPaddingMilliseconds:)init(type: AIRealtimeTurnDetectionType, threshold: Double? = nil, silenceDurationMilliseconds: Int? = nil, prefixPaddingMilliseconds: Int? = nil)Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(url:headers:protocols:abortSignal:)init(url: URL, headers: [String : String] = [:], protocols: [String] = [], abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Initializerinit(url:message:)init(url: String, message: String)Sources/SwiftAISDK/HTTP.swift
Initializerinit(url:protocols:headers:)init(url: String, protocols: [String] = [], headers: [String : String] = [:])Sources/SwiftAISDK/CoreRealtime.swift
Initializerinit(version:type:id:providerID:modelID:)init(version: Int = 1, type: AIBatchReferenceType = .text, id: String, providerID: String, modelID: String)Sources/SwiftAISDK/CoreBatch.swift
Initializerinit(warnings:providerID:modelID:)init(warnings: [AIWarning], providerID: String? = nil, modelID: String? = nil)Sources/SwiftAISDK/WarningLogging.swift
Instance Methodabort(reason:reasonName:)func abort(reason: String? = nil, reasonName: String? = nil)Sources/SwiftAISDK/CoreAbort.swift
Instance MethodaddAbortHandler(_:)@discardableResult func addAbortHandler(_ handler: @escaping @Sendable (String?) -> Void) -> AIAbortHandlerRegistrationSources/SwiftAISDK/CoreAbort.swift
Instance MethodaddStream(_:)func addStream(_ innerStream: AsyncThrowingStream<Element, any Error>) throwsSources/SwiftAISDK/CoreUtilities.swift
Instance MethodappendAudio(_:)func appendAudio(_ audio: Data) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodappendAudio(base64:)func appendAudio(base64: String) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodbuildSessionConfig(_:)func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValueSources/SwiftAISDK/CoreRealtime.swift
Instance MethodcallAsFunction(_:)func callAsFunction(_ modelID: String) throws -> any LanguageModelSources/SwiftAISDK/CoreProtocols.swift
Instance Methodcancel()func cancel()Sources/SwiftAISDK/CoreAbort.swift
Instance Methodcancel(reason:)func cancel(reason: String? = nil) asyncSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodcancelBody()func cancelBody()Sources/SwiftAISDK/HTTP.swift
Instance MethodcancelRequestBody()func cancelRequestBody() asyncSources/SwiftAISDK/HTTP.swift
Instance MethodcancelResponse()func cancelResponse() async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance Methodchat(_:)func chat(_ modelID: String) throws -> any LanguageModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodclearAudio()func clearAudio() async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance Methodclose()func close()Sources/SwiftAISDK/CoreUtilities.swift
Instance Methodclose()func close() asyncSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Methodclose(code:)func close(code: Int) asyncSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Methodclose(code:reason:)func close(code: Int = AIDuplexWebSocketCloseMetadata.normalClosure.code, reason: String? = nil) asyncSources/SwiftAISDK/AIRealtimeSession.swift
Instance Methodclose(code:reason:)func close(code: Int, reason: Data?) asyncSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance MethodcommitAudio()func commitAudio() async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance Methodconnect(_:)func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnectionSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Methodconnect(_:)func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnectionSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance MethodcreateClientSecret(_:)func createClientSecret(_ options: AIRealtimeClientSecretOptions = .init()) async throws -> AIRealtimeClientSecretResultSources/SwiftAISDK/CoreRealtime.swift
Instance MethodcreateResponse(options:)func createResponse(options: AIRealtimeResponseOptions? = nil) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethoddeleteFile(_:)func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethoddeleteFile(_:)func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethoddoCreateClientSecret(_:)func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions) async throws -> AIRealtimeClientSecretResultSources/SwiftAISDK/CoreRealtime.swift
Instance MethoddownloadFile(_:)func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethoddownloadFile(_:)func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodembed(_:)func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodembed(_: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 -> EmbeddingResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Methodembedding(_:)func embedding(_ modelID: String) throws -> any EmbeddingModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodembeddingModel(_:)func embeddingModel(_ modelID: String) throws -> any EmbeddingModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodembeddingModel(_:)func embeddingModel(_ modelID: ModelID) throws -> any EmbeddingModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodembedMany(_: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 -> EmbeddingResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Methodencode(to:)func encode(to encoder: any Encoder) throwsSources/SwiftAISDK/JSONValue.swift
Instance Methodfiles()func files() throws -> any AIFileClientSources/SwiftAISDK/CoreProtocols.swift
Instance Methodgenerate(_:)func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodgenerate(messages:)func generate(messages: [AIMessage]) async throws -> TextGenerationResultSources/SwiftAISDK/AIAgent.swift
Instance Methodgenerate(messages:options:)func generate(messages: [AIMessage], options: AIAgentCallOptions) async throws -> TextGenerationResultSources/SwiftAISDK/AIAgent.swift
Instance Methodgenerate(messages:options:)func generate(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResultSources/SwiftAISDK/AIAgent.swift
Instance Methodgenerate(prompt:)func generate(prompt: String) async throws -> TextGenerationResultSources/SwiftAISDK/AIAgent.swift
Instance Methodgenerate(prompt:options:)func generate(prompt: String, options: AIAgentCallOptions) async throws -> TextGenerationResultSources/SwiftAISDK/AIAgent.swift
Instance Methodgenerate(prompt:options:)func generate(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResultSources/SwiftAISDK/AIAgent.swift
Instance MethodgenerateAudio(_:)func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodgenerateAudio(_: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 -> AudioGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateImage(_:)func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodgenerateImage(_: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 -> ImageGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateObject(_: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 : SendableSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateObject(_: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 : AIObjectSchemaSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateSpeech(_: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 -> SpeechResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateText(_:options:tools:)func generateText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateText(_: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 : SendableSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateText(messages:options:tools:)func generateText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgenerateVideo(_:)func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodgenerateVideo(_:)func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodgenerateVideo(_: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 -> VideoGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodgetBatchResults(_:)func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error>Sources/SwiftAISDK/CoreBatch.swift
Instance MethodgetBatchStatus(_:)func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatusSources/SwiftAISDK/CoreBatch.swift
Instance MethodgetFileMetadata(_:)func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodgetFileMetadata(_:)func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodgetHealthCheckResponse(_:)func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage?Sources/SwiftAISDK/CoreRealtime.swift
Instance MethodgetHealthCheckResponse(_:)func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage?Sources/SwiftAISDK/CoreRealtime.swift
Instance MethodgetWebSocketConfig(token:url:)func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfigurationSources/SwiftAISDK/CoreRealtime.swift
Instance MethodheaderValue(_:)func headerValue(_ name: String) -> String?Sources/SwiftAISDK/HTTP.swift
Instance MethodheaderValue(_:)func headerValue(_ name: String) -> String?Sources/SwiftAISDK/HTTP.swift
Instance Methodimage(_:)func image(_ modelID: String) throws -> any ImageModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodimageModel(_:)func imageModel(_ modelID: String) throws -> any ImageModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodimageModel(_:)func imageModel(_ modelID: ModelID) throws -> any ImageModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodjsonValue()func jsonValue() throws -> JSONValueSources/SwiftAISDK/HTTP.swift
Instance MethodlanguageModel(_:)func languageModel(_ modelID: String) throws -> any LanguageModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodlanguageModel(_:)func languageModel(_ modelID: ModelID) throws -> any LanguageModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodlogWarnings(_:)func logWarnings(_ event: AIWarningLogEvent) asyncSources/SwiftAISDK/WarningLogging.swift
Instance MethodlogWarnings(_:)func logWarnings(_ event: AIWarningLogEvent) asyncSources/SwiftAISDK/WarningLogging.swift
Instance MethodmakeAsyncIterator()func makeAsyncIterator() -> AIRealtimeSession.AsyncIteratorSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodparseServerEvent(_:)func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent]Sources/SwiftAISDK/CoreRealtime.swift
Instance MethodparseServerEvent(_:)func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent]Sources/SwiftAISDK/CoreRealtime.swift
Instance Methodreject(_:)func reject(_ error: any Error)Sources/SwiftAISDK/CoreDelayedPromise.swift
Instance Methodrequest(messages:tools:)func request(messages: [AIMessage], tools: LanguageToolOptions = .none) -> LanguageModelRequestSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Methodrerank(_:)func rerank(_ request: RerankingRequest) async throws -> RerankingResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodrerank(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 -> RerankingResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Methodreranking(_:)func reranking(_ modelID: String) throws -> any RerankingModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodrerankingModel(_:)func rerankingModel(_ modelID: String) throws -> any RerankingModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodrerankingModel(_:)func rerankingModel(_ modelID: ModelID) throws -> any RerankingModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Methodresolve(_:)func resolve(_ value: Value)Sources/SwiftAISDK/CoreDelayedPromise.swift
Instance Methodrun(_:)func run(_ job: @escaping @Sendable () async throws -> Void) -> Task<Void, any Error>Sources/SwiftAISDK/CoreSerialJobExecutor.swift
Instance Methodsend(_:)func send(_ event: AIRealtimeClientEvent) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance Methodsend(_:)func send(_ message: AIDuplexWebSocketMessage) async throwsSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Methodsend(_:)func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponseSources/SwiftAISDK/HTTP.swift
Instance Methodsend(_:)func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponseSources/SwiftAISDK/HTTP.swift
Instance Methodsend(binary:)func send(binary: Data) async throwsSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Methodsend(text:)func send(text: String) async throwsSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance MethodsendAudioMessage(_:)func sendAudioMessage(_ audio: Data) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodsendFunctionCallOutput(callID:name:output:)func sendFunctionCallOutput(callID: String, name: String? = nil, output: String) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodsendText(_:)func sendText(_ text: String) async throwsSources/SwiftAISDK/AIRealtimeSession.swift
Instance MethodserializeClientEvent(_:)func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage?Sources/SwiftAISDK/CoreRealtime.swift
Instance Methodskills()func skills() throws -> any AISkillsClientSources/SwiftAISDK/CoreProtocols.swift
Instance Methodspeak(_:)func speak(_ request: SpeechRequest) async throws -> SpeechResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodspeech(_:)func speech(_ modelID: String) throws -> any SpeechModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodspeechModel(_:)func speechModel(_ modelID: String) throws -> any SpeechModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodspeechModel(_:)func speechModel(_ modelID: ModelID) throws -> any SpeechModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodstartBatch(_:)func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResultSources/SwiftAISDK/CoreBatch.swift
Instance Methodstream(_:)func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/CoreProtocols.swift
Instance Methodstream(_:)func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/CoreProtocols.swift
Instance Methodstream(_:)func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponseSources/SwiftAISDK/HTTP.swift
Instance Methodstream(_:)func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponseSources/SwiftAISDK/HTTP.swift
Instance Methodstream(messages:)func stream(messages: [AIMessage]) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/AIAgent.swift
Instance Methodstream(messages:options:)func stream(messages: [AIMessage], options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/AIAgent.swift
Instance Methodstream(messages:options:)func stream(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/AIAgent.swift
Instance Methodstream(prompt:)func stream(prompt: String) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/AIAgent.swift
Instance Methodstream(prompt:options:)func stream(prompt: String, options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/AIAgent.swift
Instance Methodstream(prompt:options:)func stream(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error>Sources/SwiftAISDK/AIAgent.swift
Instance MethodstreamText(_: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 MethodstreamText(_: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 : SendableSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodstreamText(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 Methodterminate()func terminate()Sources/SwiftAISDK/CoreUtilities.swift
Instance Methodtest(_:)func test(_ url: String) -> BoolSources/SwiftAISDK/CoreProtocols.swift
Instance MethodtextEmbedding(_:)func textEmbedding(_ modelID: String) throws -> any EmbeddingModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodtextEmbeddingModel(_:)func textEmbeddingModel(_ modelID: String) throws -> any EmbeddingModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodthrowIfAborted()func throwIfAborted() throwsSources/SwiftAISDK/CoreAbort.swift
Instance MethodtoCustomToolName(_:)func toCustomToolName(_ providerToolName: String) -> StringSources/SwiftAISDK/CoreUtilities.swift
Instance MethodtoProviderToolName(_:)func toProviderToolName(_ customToolName: String) -> StringSources/SwiftAISDK/CoreUtilities.swift
Instance Methodtranscribe(_:)func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodtranscribe(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 -> TranscriptionResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Methodtranscription(_:)func transcription(_ modelID: String) throws -> any TranscriptionModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodtranscriptionModel(_:)func transcriptionModel(_ modelID: String) throws -> any TranscriptionModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodtranscriptionModel(_:)func transcriptionModel(_ modelID: ModelID) throws -> any TranscriptionModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodtransformAudio(_:)func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethodtransformAudio(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 -> AudioTransformationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethoduploadFile(_:)func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResultSources/SwiftAISDK/CoreProtocols.swift
Instance MethoduploadSkill(_:)func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResultSources/SwiftAISDK/CoreProtocols.swift
Instance Methodvalue()func value() async throws -> ValueSources/SwiftAISDK/CoreDelayedPromise.swift
Instance Methodvideo(_:)func video(_ modelID: String) throws -> any VideoModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodvideoModel(_:)func videoModel(_ modelID: String) throws -> any VideoModelSources/SwiftAISDK/CoreProtocols.swift
Instance MethodvideoModel(_:)func videoModel(_ modelID: ModelID) throws -> any VideoModelSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance MethodwaitUntilAborted()func waitUntilAborted() async -> String?Sources/SwiftAISDK/CoreAbort.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/AIAgent.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/HTTP.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyallowSystemInMessagesvar allowSystemInMessages: BoolSources/SwiftAISDK/AIAgent.swift
Instance Propertyapprovalvar approval: AIToolApproval?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyattemptsvar attempts: IntSources/SwiftAISDK/Core.swift
Instance PropertybackoffFactorvar backoffFactor: DoubleSources/SwiftAISDK/Core.swift
Instance Propertybatchvar batch: TextBatchSources/SwiftAISDK/CoreBatch.swift
Instance PropertybatchIDvar batchID: StringSources/SwiftAISDK/CoreBatch.swift
Instance PropertybatchIDvar batchID: StringSources/SwiftAISDK/CoreBatch.swift
Instance Propertybodyvar body: Data?Sources/SwiftAISDK/HTTP.swift
Instance Propertybodyvar body: DataSources/SwiftAISDK/HTTP.swift
Instance Propertybodyvar body: AsyncThrowingStream<Data, any Error>Sources/SwiftAISDK/HTTP.swift
Instance PropertybodyAvailablevar bodyAvailable: BoolSources/SwiftAISDK/HTTP.swift
Instance PropertybodyStreamvar bodyStream: AsyncThrowingStream<Data, any Error>?Sources/SwiftAISDK/HTTP.swift
Instance PropertybodyTextvar bodyText: String { get }Sources/SwiftAISDK/HTTP.swift
Instance PropertyboolValuevar boolValue: Bool? { get }Sources/SwiftAISDK/JSONValue.swift
Instance PropertybufferedDatavar bufferedData: Data? { get }Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertybyteCountvar byteCount: Int? { get }Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertybyteSizevar byteSize: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertybyteSizevar byteSize: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertychoicevar choice: JSONValue?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertychunkNanosecondsvar chunkNanoseconds: UInt64?Sources/SwiftAISDK/AIStreamTimeouts.swift
Instance PropertyclientSecretExpiresAtlet clientSecretExpiresAt: Int?Sources/SwiftAISDK/AIRealtimeSession.swift
Instance Propertycodevar code: String?Sources/SwiftAISDK/CoreBatch.swift
Instance Propertycodevar code: IntSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance PropertycombinedTextvar combinedText: String { get }Sources/SwiftAISDK/CoreMessages.swift
Instance Propertycompletedvar completed: IntSources/SwiftAISDK/CoreBatch.swift
Instance Propertycontentvar content: [AIResultContentPart]Sources/SwiftAISDK/CoreBatch.swift
Instance Propertycontentvar content: AsyncThrowingStream<Data, any Error>Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertycontentvar content: [AIContentPart]Sources/SwiftAISDK/CoreMessages.swift
Instance PropertycreatedAtvar createdAt: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertycreatedAtvar createdAt: Date?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertycreatedAtvar createdAt: Date?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertydatavar data: Data { get set }Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertydatavar data: DataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertydeletedvar deleted: BoolSources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/AIRealtimeSession.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/AIStreamTimeouts.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/Core.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/Core.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/CoreAbort.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/CoreBatch.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertydescriptionvar description: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/HTTP.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/JSONParsing.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertydisplayNamevar displayName: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertydisplayTitlevar displayTitle: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertydisplayTitlevar displayTitle: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertydoubleValuevar doubleValue: Double? { get }Sources/SwiftAISDK/JSONValue.swift
Instance PropertydurationNanosecondsvar durationNanoseconds: UInt64Sources/SwiftAISDK/AIStreamTimeouts.swift
Instance Propertyerrorvar error: AIBatchError?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyerrorDescriptionvar errorDescription: String?Sources/SwiftAISDK/JSONParsing.swift
Instance Propertyerrorsvar errors: [String]Sources/SwiftAISDK/Core.swift
Instance Propertyeventslet events: AsyncThrowingStream<AIRealtimeSessionEvent, any Error>Sources/SwiftAISDK/AIRealtimeSession.swift
Instance Propertyeventsvar events: AsyncThrowingStream<AIDuplexWebSocketEvent, any Error> { get }Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance PropertyexecutableToolsvar executableTools: [AITool] { get }Sources/SwiftAISDK/AIAgent.swift
Instance PropertyexecutableToolsvar executableTools: [AITool]Sources/SwiftAISDK/AIAgent.swift
Instance PropertyexecutableToolsvar executableTools: [AITool]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyexpiresAfterSecondsvar expiresAfterSeconds: Int?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyexpiresAtvar expiresAt: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyexpiresAtvar expiresAt: Date?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyexpiresAtvar expiresAt: Date?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyexpiresAtvar expiresAt: Int?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyextraBodyvar extraBody: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyextraBodyvar extraBody: [String : JSONValue]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertyextraBodyvar extraBody: [String : JSONValue]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyfailedvar failed: IntSources/SwiftAISDK/CoreBatch.swift
Instance Propertyfeaturevar feature: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyfilevar file: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyfilevar file: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyfilevar file: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyfileDatavar fileData: FileUploadDataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyfilenamevar filename: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyfilenamevar filename: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyfilenamevar filename: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyfilePayloadvar filePayload: (mimeType: String, data: Data, filename: String?)? { get }Sources/SwiftAISDK/CoreMessages.swift
Instance Propertyfilesvar files: [SkillUploadFile]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyfinishReasonvar finishReason: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyfirstChunkNanosecondsvar firstChunkNanoseconds: UInt64?Sources/SwiftAISDK/AIStreamTimeouts.swift
Instance PropertyfollowRedirectsvar followRedirects: BoolSources/SwiftAISDK/HTTP.swift
Instance PropertyfrequencyPenaltyvar frequencyPenalty: Double?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertyfrequencyPenaltyvar frequencyPenalty: Double?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreBatch.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreBatch.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/HTTP.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/HTTP.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/HTTP.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyidvar id: String? { get }Sources/SwiftAISDK/AIAgent.swift
Instance Propertyidvar id: String?Sources/SwiftAISDK/AIAgent.swift
Instance Propertyidvar id: String { get }Sources/SwiftAISDK/CoreBatch.swift
Instance Propertyidvar id: StringSources/SwiftAISDK/CoreBatch.swift
Instance Propertyidvar id: StringSources/SwiftAISDK/CoreBatch.swift
Instance Propertyidvar id: StringSources/SwiftAISDK/CoreBatch.swift
Instance Propertyidvar id: String { get }Sources/SwiftAISDK/CoreBatch.swift
Instance Propertyidvar id: String?Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertyidvar id: String?Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertyidvar id: String?Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertyidvar id: StringSources/SwiftAISDK/CoreUIMessages.swift
Instance PropertyidempotencyKeyvar idempotencyKey: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyincludeRawChunksvar includeRawChunks: BoolSources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertyincludeRawChunksvar includeRawChunks: BoolSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyincludeResponseBodyvar includeResponseBody: BoolSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyinitialDelayNanosecondsvar initialDelayNanoseconds: UInt64Sources/SwiftAISDK/Core.swift
Instance PropertyinputAudioFormatvar inputAudioFormat: AIRealtimeAudioFormat?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyinputAudioTranscriptionvar inputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyinputTokensvar inputTokens: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyinputTokensCacheReadvar inputTokensCacheRead: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyinputTokensCacheWritevar inputTokensCacheWrite: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyinputTokensNoCachevar inputTokensNoCache: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyinstructionsvar instructions: String?Sources/SwiftAISDK/AIAgent.swift
Instance Propertyinstructionsvar instructions: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertyinstructionsvar instructions: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyintValuevar intValue: Int? { get }Sources/SwiftAISDK/JSONValue.swift
Instance PropertyisAbortedvar isAborted: Bool { get }Sources/SwiftAISDK/CoreAbort.swift
Instance PropertyisPendingvar isPending: Bool { get }Sources/SwiftAISDK/CoreDelayedPromise.swift
Instance PropertyisRejectedvar isRejected: Bool { get }Sources/SwiftAISDK/CoreDelayedPromise.swift
Instance PropertyisResolvedvar isResolved: Bool { get }Sources/SwiftAISDK/CoreDelayedPromise.swift
Instance PropertyisStreamvar isStream: Bool { get }Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertylanguagevar language: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertylatestVersionvar latestVersion: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertymaxDelayNanosecondsvar maxDelayNanoseconds: UInt64Sources/SwiftAISDK/Core.swift
Instance PropertymaxEmbeddingsPerCallvar maxEmbeddingsPerCall: Int? { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymaxEmbeddingsPerCallvar maxEmbeddingsPerCall: Int? { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymaxInputBytesPerCallvar maxInputBytesPerCall: Int? { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymaxInputBytesPerCallvar maxInputBytesPerCall: Int? { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymaxOutputTokensvar maxOutputTokens: Int?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertymaxOutputTokensvar maxOutputTokens: Int?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertymaxResponseBytesvar maxResponseBytes: Int?Sources/SwiftAISDK/HTTP.swift
Instance PropertymaxRetriesvar maxRetries: IntSources/SwiftAISDK/Core.swift
Instance PropertymaxStepsvar maxSteps: IntSources/SwiftAISDK/AIAgent.swift
Instance PropertymaxStepsvar maxSteps: IntSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertymediaTypevar mediaType: StringSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertymediaTypevar mediaType: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertymediaTypevar mediaType: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertymediaTypevar mediaType: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertymediaTypevar mediaType: StringSources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertymessagevar message: StringSources/SwiftAISDK/CoreBatch.swift
Instance Propertymessagevar message: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertymessagevar message: StringSources/SwiftAISDK/HTTP.swift
Instance Propertymessagevar message: StringSources/SwiftAISDK/JSONParsing.swift
Instance Propertymessagesvar messages: [AIMessage]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance Propertymetadatavar metadata: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertymetadatavar metadata: [String : JSONValue]?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertymetadatavar metadata: [String : JSONValue]Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertymethodvar method: StringSources/SwiftAISDK/HTTP.swift
Instance Propertymodalitiesvar modalities: [String]?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertymodelvar model: any LanguageModelSources/SwiftAISDK/AIAgent.swift
Instance Propertymodelvar model: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertymodelIDlet modelID: StringSources/SwiftAISDK/AIRealtimeSession.swift
Instance PropertymodelIDvar modelID: StringSources/SwiftAISDK/CoreBatch.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertymodelIDvar modelID: String { get }Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertymodelIDvar modelID: String?Sources/SwiftAISDK/WarningLogging.swift
Instance Propertynamevar name: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertynamevar name: StringSources/SwiftAISDK/CoreRealtime.swift
Instance PropertyobjectValuevar objectValue: [String : JSONValue]? { get }Sources/SwiftAISDK/JSONValue.swift
Instance PropertyoutputAudioFormatvar outputAudioFormat: AIRealtimeAudioFormat?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyoutputAudioTranscriptionvar outputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyoutputModalitiesvar outputModalities: [AIRealtimeOutputModality]?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyoutputReasoningTokensvar outputReasoningTokens: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyoutputTextTokensvar outputTextTokens: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyoutputTokensvar outputTokens: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyparametersvar parameters: JSONValueSources/SwiftAISDK/CoreRealtime.swift
Instance Propertypartsvar parts: [AIUIMessagePart]Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertypathvar path: StringSources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertypendingvar pending: IntSources/SwiftAISDK/CoreBatch.swift
Instance Propertyphasevar phase: AIStreamTimeoutPhaseSources/SwiftAISDK/AIStreamTimeouts.swift
Instance PropertypollIntervalNanosecondsvar pollIntervalNanoseconds: UInt64Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertypollTimeoutNanosecondsvar pollTimeoutNanoseconds: UInt64Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyprefixPaddingMillisecondsvar prefixPaddingMilliseconds: Int?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyprepareStepvar prepareStep: AIPrepareStep?Sources/SwiftAISDK/AIAgent.swift
Instance PropertyprepareStepvar prepareStep: AIPrepareStep?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertypresencePenaltyvar presencePenalty: Double?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertypresencePenaltyvar presencePenalty: Double?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertypromptvar prompt: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertyprotocolsvar protocols: [String]Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertyprotocolsvar protocols: [String]Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Propertyprovidervar provider: String { get }Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyproviderIDlet providerID: StringSources/SwiftAISDK/AIRealtimeSession.swift
Instance PropertyproviderIDvar providerID: StringSources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertyproviderIDvar providerID: String { get }Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyproviderIDvar providerID: String?Sources/SwiftAISDK/WarningLogging.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue] { get }Sources/SwiftAISDK/CoreMessages.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreMessages.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreUIMessages.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreUIMessages.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreUIMessages.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyproviderReferencevar providerReference: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderReferencevar providerReference: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderReferencevar providerReference: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyproviderReferencevar providerReference: [String : String]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertypurposevar purpose: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertyratevar rate: Int?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyrawFinishReasonvar rawFinishReason: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyrawStatusvar rawStatus: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyrawToolsvar rawTools: [String : JSONValue]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrawValuevar rawValue: JSONValue?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrawValuevar rawValue: JSONValue?Sources/SwiftAISDK/JSONParsing.swift
Instance PropertyrawValuevar rawValue: StringSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyreasonvar reason: AIRetryErrorReasonSources/SwiftAISDK/Core.swift
Instance Propertyreasonvar reason: String?Sources/SwiftAISDK/CoreAbort.swift
Instance Propertyreasonvar reason: String? { get }Sources/SwiftAISDK/CoreAbort.swift
Instance Propertyreasonvar reason: String?Sources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Propertyreasoningvar reasoning: String?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance Propertyreasoningvar reasoning: String?Sources/SwiftAISDK/CoreMessages.swift
Instance Propertyreasoningvar reasoning: String { get }Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertyreasoningvar reasoning: String?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyreasonNamevar reasonName: String?Sources/SwiftAISDK/CoreAbort.swift
Instance PropertyreasonNamevar reasonName: String? { get }Sources/SwiftAISDK/CoreAbort.swift
Instance Propertyreferencevar reference: TextBatchReferenceSources/SwiftAISDK/CoreBatch.swift
Instance Propertyrequestvar request: LanguageModelRequestSources/SwiftAISDK/CoreBatch.swift
Instance Propertyrequestvar request: LanguageModelRequestSources/SwiftAISDK/CoreBatch.swift
Instance PropertyrequestCountsvar requestCounts: AIBatchRequestCounts?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyrequestIDvar requestID: String?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyrequestOptionsvar requestOptions: AIChatRequestOptionsSources/SwiftAISDK/AIAgent.swift
Instance PropertyrequestOptionsvar requestOptions: AIChatRequestOptionsSources/SwiftAISDK/AIAgent.swift
Instance Propertyrequestsvar requests: [Request]Sources/SwiftAISDK/CoreBatch.swift
Instance Propertyresponsevar response: AIResponseMetadata?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertyresponseFormatvar responseFormat: AIResponseFormat?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertyresponseFormatvar responseFormat: AIResponseFormat?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyretryPolicyvar retryPolicy: AIRetryPolicy?Sources/SwiftAISDK/AIAgent.swift
Instance PropertyretryPolicyvar retryPolicy: AIRetryPolicySources/SwiftAISDK/AIAgent.swift
Instance PropertyretryPolicyvar retryPolicy: AIRetryPolicySources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyrolevar role: MessageRoleSources/SwiftAISDK/CoreMessages.swift
Instance Propertyrolevar role: MessageRoleSources/SwiftAISDK/CoreUIMessages.swift
Instance Propertyscopevar scope: AIPruneToolCalls.ScopeSources/SwiftAISDK/PruneMessages.swift
Instance Propertyseedvar seed: Int?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance Propertyseedvar seed: Int?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertysessionConfigvar sessionConfig: AIRealtimeSessionConfiguration?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertysettingvar setting: String?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertysignallet signal: AIAbortSignalSources/SwiftAISDK/CoreAbort.swift
Instance PropertysilenceDurationMillisecondsvar silenceDurationMilliseconds: Int?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyspecificationVersionvar specificationVersion: String { get }Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertyspecificationVersionvar specificationVersion: String { get }Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertystatevar state: AIUIStreamingPartState?Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertystatevar state: AIUIStreamingPartState?Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertystatusvar status: AIBatchLifecycleStatusSources/SwiftAISDK/CoreBatch.swift
Instance Propertystatusvar status: AIBatchStatusSources/SwiftAISDK/CoreBatch.swift
Instance Propertystatusvar status: AIBatchStatusSources/SwiftAISDK/CoreBatch.swift
Instance PropertystatusCodevar statusCode: Int?Sources/SwiftAISDK/CoreBatch.swift
Instance PropertystatusCodevar statusCode: IntSources/SwiftAISDK/HTTP.swift
Instance PropertystatusCodevar statusCode: IntSources/SwiftAISDK/HTTP.swift
Instance PropertystepNanosecondsvar stepNanoseconds: UInt64?Sources/SwiftAISDK/AIStreamTimeouts.swift
Instance PropertystopSequencesvar stopSequences: [String]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertystopSequencesvar stopSequences: [String]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertystopWhenvar stopWhen: [AIStopCondition]Sources/SwiftAISDK/AIAgent.swift
Instance PropertystopWhenvar stopWhen: [AIStopCondition]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertystreamlet stream: AsyncThrowingStream<Element, any Error>Sources/SwiftAISDK/CoreUtilities.swift
Instance PropertystreamTimeoutvar streamTimeout: AIStreamTimeoutConfiguration?Sources/SwiftAISDK/AIAgent.swift
Instance PropertystreamTimeoutvar streamTimeout: AIStreamTimeoutConfiguration?Sources/SwiftAISDK/AIAgent.swift
Instance PropertystringValuevar stringValue: String? { get }Sources/SwiftAISDK/JSONValue.swift
Instance Propertysuccessvar success: Bool { get }Sources/SwiftAISDK/JSONParsing.swift
Instance PropertysupportedCapabilitiesvar supportedCapabilities: Set<ModelCapability> { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertysupportedFileOperationsvar supportedFileOperations: Set<AIFileOperation> { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertysupportedFileOperationsvar supportedFileOperations: Set<AIFileOperation> { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertysupportedURLsvar supportedURLs: [String : [AISupportedURLPattern]] { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertysupportedURLsvar supportedURLs: [String : [AISupportedURLPattern]] { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertysupportsUnaryVideoGenerationvar supportsUnaryVideoGeneration: Bool { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance PropertysupportsUnaryVideoGenerationvar supportsUnaryVideoGeneration: Bool { get }Sources/SwiftAISDK/CoreProtocols.swift
Instance Propertytelemetryvar telemetry: Telemetry.Options?Sources/SwiftAISDK/AIAgent.swift
Instance Propertytelemetryvar telemetry: Telemetry.Options?Sources/SwiftAISDK/AIAgent.swift
Instance Propertytelemetryvar telemetry: Telemetry.Options?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertytemperaturevar temperature: Double?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance Propertytemperaturevar temperature: Double?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertytextvar text: StringSources/SwiftAISDK/CoreBatch.swift
Instance Propertytextvar text: String? { get }Sources/SwiftAISDK/CoreMessages.swift
Instance Propertytextvar text: StringSources/SwiftAISDK/CoreUIMessages.swift
Instance Propertytextvar text: StringSources/SwiftAISDK/CoreUIMessages.swift
Instance Propertytextvar text: String { get }Sources/SwiftAISDK/CoreUIMessages.swift
Instance Propertytextvar text: StringSources/SwiftAISDK/JSONParsing.swift
Instance Propertythresholdvar threshold: Double?Sources/SwiftAISDK/CoreRealtime.swift
Instance PropertytimeoutNanosecondsvar timeoutNanoseconds: UInt64?Sources/SwiftAISDK/AIAgent.swift
Instance PropertytimeoutNanosecondsvar timeoutNanoseconds: UInt64?Sources/SwiftAISDK/AIAgent.swift
Instance PropertytimeoutNanosecondsvar timeoutNanoseconds: UInt64?Sources/SwiftAISDK/Core.swift
Instance Propertytokenvar token: StringSources/SwiftAISDK/CoreRealtime.swift
Instance PropertytoolApprovalvar toolApproval: AIToolApproval?Sources/SwiftAISDK/AIAgent.swift
Instance PropertytoolChoicevar toolChoice: JSONValue?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertytoolContextsvar toolContexts: [String : JSONValue]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertytoolContextsvar toolContexts: [String : JSONValue]Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertytoolsvar tools: [String : JSONValue]Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance Propertytoolsvar tools: [AIRealtimeToolDefinition]?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertytoolsvar tools: Set<String>?Sources/SwiftAISDK/PruneMessages.swift
Instance PropertytopKvar topK: Int?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertytopKvar topK: Int?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance PropertytopPvar topP: Double?Sources/SwiftAISDK/CoreLanguageRequest.swift
Instance PropertytopPvar topP: Double?Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertytotalvar total: IntSources/SwiftAISDK/CoreBatch.swift
Instance PropertytotalNanosecondsvar totalNanoseconds: UInt64?Sources/SwiftAISDK/AIStreamTimeouts.swift
Instance PropertytotalTokensvar totalTokens: Int?Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance PropertyturnDetectionvar turnDetection: AIRealtimeTurnDetectionConfiguration?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertytypevar type: String?Sources/SwiftAISDK/CoreBatch.swift
Instance Propertytypelet type: AIBatchReferenceTypeSources/SwiftAISDK/CoreBatch.swift
Instance Propertytypevar type: StringSources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertytypevar type: StringSources/SwiftAISDK/CoreRealtime.swift
Instance Propertytypevar type: AIRealtimeTurnDetectionTypeSources/SwiftAISDK/CoreRealtime.swift
Instance Propertytypevar type: StringSources/SwiftAISDK/CoreRealtime.swift
Instance Propertyurlvar url: StringSources/SwiftAISDK/CoreRealtime.swift
Instance Propertyurlvar url: StringSources/SwiftAISDK/CoreRealtime.swift
Instance Propertyurlvar url: URLSources/SwiftAISDK/DuplexWebSocketTransport.swift
Instance Propertyurlvar url: URLSources/SwiftAISDK/HTTP.swift
Instance Propertyurlvar url: StringSources/SwiftAISDK/HTTP.swift
Instance Propertyurlvar url: URL?Sources/SwiftAISDK/HTTP.swift
Instance Propertyusagevar usage: TokenUsageSources/SwiftAISDK/CoreBatch.swift
Instance PropertyusesToolLoopvar usesToolLoop: Bool { get }Sources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Instance Propertyvaluevar value: JSONValueSources/SwiftAISDK/CoreUIMessages.swift
Instance Propertyvaluevar value: JSONValue?Sources/SwiftAISDK/JSONParsing.swift
Instance Propertyversionvar version: String { get }Sources/SwiftAISDK/AIAgent.swift
Instance Propertyversionvar version: String { get }Sources/SwiftAISDK/AIAgent.swift
Instance Propertyversionlet version: IntSources/SwiftAISDK/CoreBatch.swift
Instance Propertyvoicevar voice: String?Sources/SwiftAISDK/CoreRealtime.swift
Instance Propertywarningvar warning: AIWarningSources/SwiftAISDK/CoreBatch.swift
Instance Propertywarningsvar warnings: [AIBatchWarning]Sources/SwiftAISDK/CoreBatch.swift
Instance Propertywarningsvar warnings: [AIBatchWarning]Sources/SwiftAISDK/CoreBatch.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreFileSkillResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/WarningLogging.swift
Instance PropertywebhookURLvar webhookURL: String?Sources/SwiftAISDK/CoreBatch.swift
Instance Subscriptsubscript(_:)subscript(key: String) -> JSONValue? { get }Sources/SwiftAISDK/JSONValue.swift
Instance Subscriptsubscript(_:)subscript(index: Int) -> JSONValue? { get }Sources/SwiftAISDK/JSONValue.swift
Operator==(_:_:)static func == (lhs: AIRealtimeClientSecretOptions, rhs: AIRealtimeClientSecretOptions) -> BoolSources/SwiftAISDK/CoreRealtime.swift
ProtocolAIAgentprotocol AIAgent : SendableSources/SwiftAISDK/AIAgent.swift
ProtocolAIDuplexWebSocketConnectionprotocol AIDuplexWebSocketConnection : SendableSources/SwiftAISDK/DuplexWebSocketTransport.swift
ProtocolAIDuplexWebSocketTransportprotocol AIDuplexWebSocketTransport : SendableSources/SwiftAISDK/DuplexWebSocketTransport.swift
ProtocolAIFileClientprotocol AIFileClient : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolAIFileProviderprotocol AIFileProvider : AIProviderSources/SwiftAISDK/CoreProtocols.swift
ProtocolAIProviderprotocol AIProvider : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolAIRealtimeModelV4protocol AIRealtimeModelV4 : SendableSources/SwiftAISDK/CoreRealtime.swift
ProtocolAISkillsClientprotocol AISkillsClient : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolAISkillsProviderprotocol AISkillsProvider : AIProviderSources/SwiftAISDK/CoreProtocols.swift
ProtocolAIStreamingTransportprotocol AIStreamingTransport : AITransportSources/SwiftAISDK/HTTP.swift
ProtocolAITransportprotocol AITransport : SendableSources/SwiftAISDK/HTTP.swift
ProtocolAIWarningLoggerprotocol AIWarningLogger : SendableSources/SwiftAISDK/WarningLogging.swift
ProtocolAudioGenerationModelprotocol AudioGenerationModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolAudioTransformationModelprotocol AudioTransformationModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolBatchLanguageModelprotocol BatchLanguageModel : LanguageModelSources/SwiftAISDK/CoreBatch.swift
ProtocolEmbeddingModelprotocol EmbeddingModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolImageModelprotocol ImageModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolLanguageModelprotocol LanguageModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolRerankingModelprotocol RerankingModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolSpeechModelprotocol SpeechModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolTranscriptionModelprotocol TranscriptionModel : SendableSources/SwiftAISDK/CoreProtocols.swift
ProtocolVideoModelprotocol VideoModel : SendableSources/SwiftAISDK/CoreProtocols.swift
StructureAIAbortErrorstruct AIAbortErrorSources/SwiftAISDK/CoreAbort.swift
StructureAIAgentCallOptionsstruct AIAgentCallOptionsSources/SwiftAISDK/AIAgent.swift
StructureAIBatchErrorstruct AIBatchErrorSources/SwiftAISDK/CoreBatch.swift
StructureAIBatchOperationOptionsstruct AIBatchOperationOptionsSources/SwiftAISDK/CoreBatch.swift
StructureAIBatchRequestCountsstruct AIBatchRequestCountsSources/SwiftAISDK/CoreBatch.swift
StructureAIBatchStartOptionsstruct AIBatchStartOptions<Request> where Request : SendableSources/SwiftAISDK/CoreBatch.swift
StructureAIBatchStartResultstruct AIBatchStartResultSources/SwiftAISDK/CoreBatch.swift
StructureAIBatchStatusstruct AIBatchStatusSources/SwiftAISDK/CoreBatch.swift
StructureAIBatchWarningstruct AIBatchWarningSources/SwiftAISDK/CoreBatch.swift
StructureAIConsoleWarningLoggerstruct AIConsoleWarningLoggerSources/SwiftAISDK/WarningLogging.swift
StructureAIDownloadErrorstruct AIDownloadErrorSources/SwiftAISDK/HTTP.swift
StructureAIDuplexWebSocketCloseMetadatastruct AIDuplexWebSocketCloseMetadataSources/SwiftAISDK/DuplexWebSocketTransport.swift
StructureAIDuplexWebSocketRequeststruct AIDuplexWebSocketRequestSources/SwiftAISDK/DuplexWebSocketTransport.swift
StructureAIHTTPRequeststruct AIHTTPRequestSources/SwiftAISDK/HTTP.swift
StructureAIHTTPResponsestruct AIHTTPResponseSources/SwiftAISDK/HTTP.swift
StructureAIHTTPStreamResponsestruct AIHTTPStreamResponseSources/SwiftAISDK/HTTP.swift
StructureAIJSONParseErrorstruct AIJSONParseErrorSources/SwiftAISDK/JSONParsing.swift
StructureAIJSONParseResultstruct AIJSONParseResultSources/SwiftAISDK/JSONParsing.swift
StructureAILanguageModelBatchRequeststruct AILanguageModelBatchRequestSources/SwiftAISDK/CoreBatch.swift
StructureAIMessagestruct AIMessageSources/SwiftAISDK/CoreMessages.swift
StructureAIPruneToolCallsstruct AIPruneToolCallsSources/SwiftAISDK/PruneMessages.swift
StructureAIRealtimeAudioFormatstruct AIRealtimeAudioFormatSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeAudioTranscriptionConfigurationstruct AIRealtimeAudioTranscriptionConfigurationSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeClientSecretOptionsstruct AIRealtimeClientSecretOptionsSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeClientSecretResultstruct AIRealtimeClientSecretResultSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeResponseOptionsstruct AIRealtimeResponseOptionsSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeSessionConfigurationstruct AIRealtimeSessionConfigurationSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeToolDefinitionstruct AIRealtimeToolDefinitionSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeTurnDetectionConfigurationstruct AIRealtimeTurnDetectionConfigurationSources/SwiftAISDK/CoreRealtime.swift
StructureAIRealtimeWebSocketConfigurationstruct AIRealtimeWebSocketConfigurationSources/SwiftAISDK/CoreRealtime.swift
StructureAIRetryErrorstruct AIRetryErrorSources/SwiftAISDK/Core.swift
StructureAIRetryPolicystruct AIRetryPolicySources/SwiftAISDK/Core.swift
StructureAIStitchableStreamstruct AIStitchableStream<Element> where Element : SendableSources/SwiftAISDK/CoreUtilities.swift
StructureAIStreamTimeoutConfigurationstruct AIStreamTimeoutConfigurationSources/SwiftAISDK/AIStreamTimeouts.swift
StructureAIStreamTimeoutErrorstruct AIStreamTimeoutErrorSources/SwiftAISDK/AIStreamTimeouts.swift
StructureAISupportedURLPatternstruct AISupportedURLPatternSources/SwiftAISDK/CoreProtocols.swift
StructureAIToolLoopAgentstruct AIToolLoopAgentSources/SwiftAISDK/AIAgent.swift
StructureAIToolNameMappingstruct AIToolNameMappingSources/SwiftAISDK/CoreUtilities.swift
StructureAIUIDataPartstruct AIUIDataPartSources/SwiftAISDK/CoreUIMessages.swift
StructureAIUIMessagestruct AIUIMessageSources/SwiftAISDK/CoreUIMessages.swift
StructureAIUIReasoningPartstruct AIUIReasoningPartSources/SwiftAISDK/CoreUIMessages.swift
StructureAIUITextPartstruct AIUITextPartSources/SwiftAISDK/CoreUIMessages.swift
StructureAIWarningstruct AIWarningSources/SwiftAISDK/CoreFileSkillResults.swift
StructureAIWarningLogEventstruct AIWarningLogEventSources/SwiftAISDK/WarningLogging.swift
StructureFileDeleteRequeststruct FileDeleteRequestSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileDeleteResultstruct FileDeleteResultSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileDownloadRequeststruct FileDownloadRequestSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileDownloadResultstruct FileDownloadResultSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileMetadataRequeststruct FileMetadataRequestSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileMetadataResultstruct FileMetadataResultSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileUploadRequeststruct FileUploadRequestSources/SwiftAISDK/CoreFileSkillResults.swift
StructureFileUploadResultstruct FileUploadResultSources/SwiftAISDK/CoreFileSkillResults.swift
StructureLanguageGenerationOptionsstruct LanguageGenerationOptionsSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
StructureLanguageModelRequeststruct LanguageModelRequestSources/SwiftAISDK/CoreLanguageRequest.swift
StructureLanguageToolOptionsstruct LanguageToolOptionsSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
StructureModelIDstruct ModelIDSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
StructureSkillUploadFilestruct SkillUploadFileSources/SwiftAISDK/CoreFileSkillResults.swift
StructureSkillUploadRequeststruct SkillUploadRequestSources/SwiftAISDK/CoreFileSkillResults.swift
StructureSkillUploadResultstruct SkillUploadResultSources/SwiftAISDK/CoreFileSkillResults.swift
StructureStartTextBatchResultstruct StartTextBatchResultSources/SwiftAISDK/CoreBatch.swift
StructureTextBatchstruct TextBatchSources/SwiftAISDK/CoreBatch.swift
StructureTextBatchGenerationResultstruct TextBatchGenerationResultSources/SwiftAISDK/CoreBatch.swift
StructureTextBatchReferencestruct TextBatchReferenceSources/SwiftAISDK/CoreBatch.swift
StructureTextBatchRequeststruct TextBatchRequestSources/SwiftAISDK/CoreBatch.swift
StructureTokenUsagestruct TokenUsageSources/SwiftAISDK/CoreFileSkillResults.swift
Type AliasAICallbacktypealias AICallback<Event> = @Sendable (Event) async throws -> VoidSources/SwiftAISDK/CoreUtilities.swift
Type AliasAIIdGeneratortypealias AIIdGenerator = @Sendable () -> StringSources/SwiftAISDK/CoreUtilities.swift
Type AliasAIRealtimeSession.AsyncIteratortypealias AsyncIterator = AsyncThrowingStream<AIRealtimeSessionEvent, any Error>.IteratorSources/SwiftAISDK/AIRealtimeSession.swift
Type AliasAIRealtimeSession.Elementtypealias Element = AIRealtimeSessionEventSources/SwiftAISDK/AIRealtimeSession.swift
Type AliasAISmoothStreamChunkDetectortypealias AISmoothStreamChunkDetector = @Sendable (String) throws -> String?Sources/SwiftAISDK/CoreUtilities.swift
Type AliasExperimental_RealtimeModelV4typealias Experimental_RealtimeModelV4 = AIRealtimeModelV4Sources/SwiftAISDK/CoreRealtime.swift
Type AliasExperimental_RealtimeModelV4ClientEventtypealias Experimental_RealtimeModelV4ClientEvent = AIRealtimeClientEventSources/SwiftAISDK/CoreRealtime.swift
Type AliasExperimental_RealtimeModelV4ClientSecretOptionstypealias Experimental_RealtimeModelV4ClientSecretOptions = AIRealtimeClientSecretOptionsSources/SwiftAISDK/CoreRealtime.swift
Type AliasExperimental_RealtimeModelV4ClientSecretResulttypealias Experimental_RealtimeModelV4ClientSecretResult = AIRealtimeClientSecretResultSources/SwiftAISDK/CoreRealtime.swift
Type AliasExperimental_RealtimeModelV4ServerEventtypealias Experimental_RealtimeModelV4ServerEvent = AIRealtimeServerEventSources/SwiftAISDK/CoreRealtime.swift
Type AliasExperimental_RealtimeModelV4SessionConfigtypealias Experimental_RealtimeModelV4SessionConfig = AIRealtimeSessionConfigurationSources/SwiftAISDK/CoreRealtime.swift
Type Methodall(tools:)static func all(tools: Set<String>? = nil) -> AIPruneToolCallsSources/SwiftAISDK/PruneMessages.swift
Type Methodarray(_:)static func array(_ values: [String]) -> JSONValueSources/SwiftAISDK/JSONValue.swift
Type Methodassistant(_:reasoning:)static func assistant(_ text: String, reasoning: String? = nil) -> AIMessageSources/SwiftAISDK/CoreMessages.swift
Type Methodassistant(id:parts:metadata:)static func assistant(id: String = UUID().uuidString, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) -> AIUIMessageSources/SwiftAISDK/CoreUIMessages.swift
Type Methodassistant(text:reasoning:toolCalls:toolApprovalRequests:)static func assistant(text: String = "", reasoning: String? = nil, toolCalls: [AIToolCall], toolApprovalRequests: [AIToolApprovalRequest] = []) -> AIMessageSources/SwiftAISDK/CoreMessages.swift
Type MethodbeforeLastMessage(tools:)static func beforeLastMessage(tools: Set<String>? = nil) -> AIPruneToolCallsSources/SwiftAISDK/PruneMessages.swift
Type MethodbeforeLastMessages(_:tools:)static func beforeLastMessages(_ count: Int, tools: Set<String>? = nil) -> AIPruneToolCallsSources/SwiftAISDK/PruneMessages.swift
Type Methodconnect(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 -> AIRealtimeSessionSources/SwiftAISDK/AIRealtimeSession.swift
Type Methodconnect(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 -> AIRealtimeSessionSources/SwiftAISDK/AIRealtimeSession.swift
Type Methoddisable()static func disable()Sources/SwiftAISDK/WarningLogging.swift
Type Methodembed(_: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 -> EmbeddingResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type Methodembed(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 -> EmbeddingResultSources/SwiftAISDK/AIModelResolution.swift
Type Methodembed(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 -> EmbeddingResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodembedMany(_: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 -> EmbeddingResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodembedMany(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 -> EmbeddingResultSources/SwiftAISDK/AIModelResolution.swift
Type Methodfailure(error:rawValue:)static func failure(error: any Error, rawValue: JSONValue?) -> AIJSONParseResultSources/SwiftAISDK/JSONParsing.swift
Type MethodformattedMessage(for:providerID:modelID:)static func formattedMessage(for warning: AIWarning, providerID: String? = nil, modelID: String? = nil) -> StringSources/SwiftAISDK/WarningLogging.swift
Type MethodgenerateAudio(_: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 -> AudioGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateEnum(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 MethodgenerateImage(_: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 -> ImageGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateImage(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 -> ImageGenerationResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateImage(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 -> ImageGenerationResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateJSON(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 MethodgenerateObject(_: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 : SendableSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateObject(_: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 : AIObjectSchemaSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateObject(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 : SendableSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateObjectArray(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 : SendableSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateSpeech(_: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 -> SpeechResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateSpeech(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 -> SpeechResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateText(_:using:options:tools:)static func generateText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateText(_: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 : SendableSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateText(messages:using:options:tools:)static func generateText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateText(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 : SendableSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateText(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 : SendableSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateText(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 -> TextGenerationResultSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateText(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 -> TextGenerationResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateText(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 -> TextGenerationResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateText(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 -> TextGenerationResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgenerateText(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 -> TextGenerationResultSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateText(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 : SendableSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateText(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 : SendableSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateText(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 -> TextGenerationResultSources/SwiftAISDK/AIFacadeGenerateText.swift
Type MethodgenerateVideo(_: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 -> VideoGenerationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodgenerateVideo(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 -> VideoGenerationResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodgetBatchResults(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 MethodgetBatchResults(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 MethodgetBatchStatus(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 -> AIBatchStatusSources/SwiftAISDK/AIFacadeBatch.swift
Type MethodgetBatchStatus(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 -> AIBatchStatusSources/SwiftAISDK/AIFacadeBatch.swift
Type Methodobject(_:)static func object(_ values: [String : JSONValue?]) -> JSONValueSources/SwiftAISDK/JSONValue.swift
Type Methodrerank(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 -> RerankingResultSources/SwiftAISDK/AIModelResolution.swift
Type Methodrerank(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 -> RerankingResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodresolveEmbeddingModel(_:provider:)static func resolveEmbeddingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any EmbeddingModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodresolveImageModel(_:provider:)static func resolveImageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any ImageModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodresolveLanguageModel(_:provider:)static func resolveLanguageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any LanguageModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodresolveRerankingModel(_:provider:)static func resolveRerankingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any RerankingModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodresolveSpeechModel(_:provider:)static func resolveSpeechModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any SpeechModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodresolveTranscriptionModel(_:provider:)static func resolveTranscriptionModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any TranscriptionModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodresolveVideoModel(_:provider:)static func resolveVideoModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any VideoModelSources/SwiftAISDK/AIModelResolution.swift
Type MethodstartTextBatch(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 -> StartTextBatchResultSources/SwiftAISDK/AIFacadeBatch.swift
Type MethodstartTextBatch(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 -> StartTextBatchResultSources/SwiftAISDK/AIFacadeBatch.swift
Type MethodstartTextBatch(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 -> StartTextBatchResultSources/SwiftAISDK/AIFacadeBatch.swift
Type MethodstartTextBatch(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 -> StartTextBatchResultSources/SwiftAISDK/AIFacadeBatch.swift
Type MethodstreamEnum(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 MethodstreamEnum(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 MethodstreamJSON(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 MethodstreamJSON(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 MethodstreamObject(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 : SendableSources/SwiftAISDK/AIModelResolution.swift
Type MethodstreamText(_: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 MethodstreamText(_: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 : SendableSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethodstreamText(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 MethodstreamText(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 : SendableSources/SwiftAISDK/AIFacadeStreamText.swift
Type MethodstreamText(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 : SendableSources/SwiftAISDK/AIFacadeStreamTextCompatibility.swift
Type MethodstreamText(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 MethodstreamText(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 MethodstreamText(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 MethodstreamText(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 MethodstreamText(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 MethodstreamText(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 MethodstreamText(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 MethodstreamText(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 : SendableSources/SwiftAISDK/AIFacadeStreamText.swift
Type MethodstreamText(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 : SendableSources/SwiftAISDK/AIFacadeStreamTextCompatibility.swift
Type MethodstreamText(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 MethodstreamText(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 Methodsuccess(value:rawValue:)static func success(value: JSONValue, rawValue: JSONValue) -> AIJSONParseResultSources/SwiftAISDK/JSONParsing.swift
Type Methodsystem(_:)static func system(_ text: String) -> AIMessageSources/SwiftAISDK/CoreMessages.swift
Type Methodsystem(_:id:metadata:)static func system(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessageSources/SwiftAISDK/CoreUIMessages.swift
Type MethodtoolResponses(approvalResponses:toolResults:)static func toolResponses(approvalResponses: [AIToolApprovalResponse] = [], toolResults: [AIToolResult] = []) -> AIMessageSources/SwiftAISDK/CoreMessages.swift
Type MethodtoolResult(_:)static func toolResult(_ result: AIToolResult) -> AIMessageSources/SwiftAISDK/CoreMessages.swift
Type Methodtranscribe(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 -> TranscriptionResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type Methodtranscribe(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 -> TranscriptionResultSources/SwiftAISDK/AIModelResolution.swift
Type MethodtransformAudio(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 -> AudioTransformationResultSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type MethoduseDefaultLogger()static func useDefaultLogger()Sources/SwiftAISDK/WarningLogging.swift
Type MethoduseLogger(_:)static func useLogger(_ logger: any AIWarningLogger)Sources/SwiftAISDK/WarningLogging.swift
Type Methoduser(_:)static func user(_ text: String) -> AIMessageSources/SwiftAISDK/CoreMessages.swift
Type Methoduser(_:id:metadata:)static func user(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessageSources/SwiftAISDK/CoreUIMessages.swift
Type MethodvideoURL(_:mediaType:providerMetadata:)static func videoURL(_ url: String, mediaType: String = "video/*", providerMetadata: [String : JSONValue] = [:]) -> AIContentPartSources/SwiftAISDK/CoreMessages.swift
Type MethodwithLogger(_:operation:)static func withLogger<Result>(_ logger: any AIWarningLogger, operation: () async throws -> Result) async rethrows -> ResultSources/SwiftAISDK/WarningLogging.swift
Type MethodwithLoggingDisabled(operation:)static func withLoggingDisabled<Result>(operation: () async throws -> Result) async rethrows -> ResultSources/SwiftAISDK/WarningLogging.swift
Type Propertydefaultstatic let default: AIRetryPolicySources/SwiftAISDK/Core.swift
Type Propertydefaultstatic let default: LanguageGenerationOptionsSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type Propertynonestatic let none: AIRetryPolicySources/SwiftAISDK/Core.swift
Type Propertynonestatic let none: LanguageToolOptionsSources/SwiftAISDK/SwiftNativeLanguageAPI.swift
Type PropertynormalClosurestatic let normalClosure: AIDuplexWebSocketCloseMetadataSources/SwiftAISDK/DuplexWebSocketTransport.swift
Type Propertysharedstatic let shared: URLSessionDuplexWebSocketTransportSources/SwiftAISDK/DuplexWebSocketTransport.swift
Type Propertysharedstatic let shared: URLSessionTransportSources/SwiftAISDK/HTTP.swift