Public symbols
This page is generated by npm --prefix docs-site run generate from swift package dump-symbol-graph.
| Kind | Symbol | Declaration | Source |
|---|---|---|---|
| Associated Type | SwiftAI.Output | associatedtype Output : Decodable, Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Case | SwiftAI.AILanguageModelCallType.generate | case generate | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Case | SwiftAI.AILanguageModelCallType.stream | case stream | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Case | SwiftAI.AINoOutputKind.audio | case audio | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.content | case content | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.image | case image | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.output | case output | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.speech | case speech | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.transcript | case transcript | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.video | case video | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AIObjectGenerationFailureKind.decoding | case decoding | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectGenerationFailureKind.noJSON | case noJSON | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectGenerationFailureKind.repairFailed | case repairFailed | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectGenerationFailureKind.schemaValidation | case schemaValidation | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectGenerationSessionStatus.error | case error | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Case | SwiftAI.AIObjectGenerationSessionStatus.ready | case ready | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Case | SwiftAI.AIObjectGenerationSessionStatus.streaming | case streaming | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Case | SwiftAI.AIObjectGenerationSessionStatus.submitted | case submitted | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Case | SwiftAI.AIObjectOutputStrategy.array | case array | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectOutputStrategy.enumeration | case enumeration | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectOutputStrategy.json | case json | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIObjectOutputStrategy.object | case object | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.AIOutputKind.array | case array | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputKind.choice | case choice | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputKind.json | case json | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputKind.object | case object | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputKind.text | case text | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.finish(reason:usage:) | case finish(reason: String?, usage: TokenUsage?) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.metadata(_:) | case metadata([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.output(_:) | case output(AIOutputGenerationResult<Output>) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.partialOutput(_:) | case partialOutput(Partial) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.raw(_:) | case raw(LanguageStreamPart) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.source(_:) | case source(AISource) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.textDelta(_:) | case textDelta(String) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIOutputStreamPart.warning(_:) | case warning(AIWarning) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Case | SwiftAI.AIParsePartialJSONState.failedParse | case failedParse | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Case | SwiftAI.AIParsePartialJSONState.repairedParse | case repairedParse | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Case | SwiftAI.AIParsePartialJSONState.successfulParse | case successfulParse | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Case | SwiftAI.AIParsePartialJSONState.undefinedInput | case undefinedInput | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Case | SwiftAI.AIProviderRegistryError.invalidModelID(modelID:modelType:separator:) | case invalidModelID(modelID: String, modelType: String, separator: String) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Case | SwiftAI.AIProviderRegistryError.noSuchProvider(providerID:modelType:availableProviders:) | case noSuchProvider(providerID: String, modelType: String, availableProviders: [String]) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Case | SwiftAI.AIProviderRegistryError.unsupportedFiles(providerID:) | case unsupportedFiles(providerID: String) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Case | SwiftAI.AIProviderRegistryError.unsupportedSkills(providerID:) | case unsupportedSkills(providerID: String) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Case | SwiftAI.AIPruneEmptyMessages.keep | case keep | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneEmptyMessages.remove | case remove | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneReasoning.all | case all | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneReasoning.beforeLastMessage | case beforeLastMessage | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneReasoning.none | case none | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneToolCalls.Scope.all | case all | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIPruneToolCalls.Scope.beforeLastMessages(_:) | case beforeLastMessages(Int) | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Case | SwiftAI.AIRealtimeSessionError.closed | case closed | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionError.connectionEndedBeforeOpening | case connectionEndedBeforeOpening | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionError.unexpectedClosure(_:) | case unexpectedClosure(AIDuplexWebSocketCloseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionEvent.closed(_:) | case closed(AIDuplexWebSocketCloseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionEvent.opened(protocol:) | case opened(protocol: String?) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIRealtimeSessionEvent.server(_:) | case server(AIRealtimeServerEvent) | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Case | SwiftAI.AIStreamTimeoutPhase.chunk | case chunk | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Case | SwiftAI.AIStreamTimeoutPhase.firstChunk | case firstChunk | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Case | SwiftAI.AIToolCallerDefinition.local(bind:prepareModelMessage:) | case local(bind: @Sendable ([String : AITool]) -> AITool, prepareModelMessage: (@Sendable ([String : AITool]) -> String?)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Case | SwiftAI.AIToolCallerDefinition.provider(prepareProviderOptions:) | case provider(prepareProviderOptions: @Sendable ([String : JSONValue]) -> [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Case | SwiftAI.ObjectStreamPart.finish(reason:usage:) | case finish(reason: String?, usage: TokenUsage?) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.metadata(_:) | case metadata([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.object(_:) | case object(ObjectGenerationResult<Object>) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.partial(_:) | case partial(Object) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.partialObject(_:) | case partialObject(JSONValue) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.raw(_:) | case raw(LanguageStreamPart) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.source(_:) | case source(AISource) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.textDelta(_:) | case textDelta(String) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.ObjectStreamPart.warning(_:) | case warning(AIWarning) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Case | SwiftAI.Telemetry.Event.Kind.abort | case abort | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.end | case end | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.error | case error | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.modelCallEnd | case modelCallEnd | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.modelCallStart | case modelCallStart | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.retry | case retry | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.start | case start | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.stepEnd | case stepEnd | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.stepStart | case stepStart | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.toolEnd | case toolEnd | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.toolError | case toolError | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.Telemetry.Event.Kind.toolStart | case toolStart | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Case | SwiftAI.VideoGenerationOperationError.incompleteAfterWebhook | case incompleteAfterWebhook | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationError.providerFailed(_:) | case providerFailed(String) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationError.timedOut(milliseconds:) | case timedOut(milliseconds: Int) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationStatusResult.completed(_:) | case completed(VideoGenerationResult) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationStatusResult.failed(message:providerMetadata:responseMetadata:) | case failed(message: String, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationStatusResult.pending(warnings:providerMetadata:responseMetadata:) | case pending(warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAIOpenAI.ResponsesRequestMode.openAICompatible | case openAICompatible | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAICompatibleMetadata.swift |
| Case | SwiftAIOpenAI.ResponsesRequestMode.openResponses(providerOptionsName:) | case openResponses(providerOptionsName: String) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAICompatibleMetadata.swift |
| Case | SwiftAIOpenAICompatible.OpenAICompatibleWireProfile.generic | case generic | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Case | SwiftAIOpenAICompatible.OpenAICompatibleWireProfile.openAI(namespace:) | case openAI(namespace: String) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Case | SwiftAIProvider.AIAbortSource.signal(_:) | case signal(AIAbortSignal) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIAbortSource.timeoutMilliseconds(_:) | case timeoutMilliseconds(Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: Result) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchLifecycleStatus.completed | case completed | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchLifecycleStatus.failed | case failed | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchLifecycleStatus.pending | case pending | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchReferenceType.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchRequest.image(_:) | case image(ImageBatchRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchRequest.text(_:) | case text(TextBatchRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchV4ItemResult.image(_:) | case image(AIBatchItemResult<ImageGenerationResult>) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIBatchV4ItemResult.text(_:) | case text(AIBatchItemResult<TextGenerationResult>) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.AIContentPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.data(mimeType:data:providerMetadata:) | case data(mimeType: String, data: Data, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.file(mimeType:data:filename:providerMetadata:) | case file(mimeType: String, data: Data, filename: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.imageURL(_:providerMetadata:) | case imageURL(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.providerReference(mimeType:reference:filename:providerMetadata:) | case providerReference(mimeType: String, reference: AIProviderReference, filename: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.reasoning(_:providerMetadata:) | case reasoning(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.text(_:providerMetadata:) | case text(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolCall(_:) | case toolCall(AIToolCall) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIContentPart.toolResult(_:) | case toolResult(AIToolResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.boolean(probability:) | case boolean(probability: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.box(box:) | case box(box: AIDecisionBox) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.choice(choice:probabilities:) | case choice(choice: String, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.refusal | case refusal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswer.score(score:probabilities:) | case score(score: Double, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.boolean | case boolean | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.box | case box | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.choice | case choice | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.refusal | case refusal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionAnswerType.score | case score | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.base64(_:) | case base64(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.data(_:) | case data(Data) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.reference(_:) | case reference(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionFileData.url(_:) | case url(URL) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelReference.model(_:) | case model(any AIDecisionModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelReference.modelID(_:) | case modelID(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelResolutionError.defaultProviderUnsupported(modelID:) | case defaultProviderUnsupported(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelResolutionError.noSuchModel(modelID:) | case noSuchModel(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionModelResolutionError.unsupportedSpecificationVersion(version:providerID:modelID:) | case unsupportedSpecificationVersion(version: String, providerID: String, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionState.object(_:) | case object([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionState.parts(_:) | case parts([AIDecisionStatePart]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionState.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionStatePart.file(mediaType:data:filename:providerOptions:) | case file(mediaType: String, data: AIDecisionFileData, filename: String? = nil, providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionStatePart.json(_:) | case json(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIDecisionStatePart.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Case | SwiftAIProvider.AIError.apiCall(_:) | case apiCall(AIAPICallError) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.gateway(_:) | case gateway(GatewayError) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.invalidArgument(argument:message:) | case invalidArgument(argument: String, message: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.invalidResponse(provider:message:) | case invalidResponse(provider: String, message: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.invalidURL(_:) | case invalidURL(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.missingAPIKey(provider:environmentVariables:) | case missingAPIKey(provider: String, environmentVariables: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.timeout(durationNanoseconds:) | case timeout(durationNanoseconds: UInt64) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIError.unsupportedModel(provider:capability:modelID:) | case unsupportedModel(provider: String, capability: ModelCapability, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.boolean(probability:) | case boolean(probability: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.box(box:) | case box(box: AIDecisionBox) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.choice(choice:probabilities:) | case choice(choice: String, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationAnswer.score(score:probabilities:) | case score(score: Double, probabilities: [String : Double]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelReference.model(_:) | case model(any AIEvaluationModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelReference.modelID(_:) | case modelID(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelResolutionError.defaultProviderUnsupported(modelID:) | case defaultProviderUnsupported(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelResolutionError.noSuchModel(modelID:) | case noSuchModel(modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationModelResolutionError.unsupportedSpecificationVersion(version:providerID:modelID:) | case unsupportedSpecificationVersion(version: String, providerID: String, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.boolean(instructions:criteria:) | case boolean(instructions: JSONValue = .null, criteria: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.box(instructions:) | case box(instructions: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.choice(instructions:criteria:) | case choice(instructions: JSONValue = .null, criteria: [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestion.score(instructions:criteria:) | case score(instructions: JSONValue = .null, criteria: [JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.boolean | case boolean | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.box | case box | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.choice | case choice | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIEvaluationQuestionType.score | case score | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Case | SwiftAIProvider.AIFileOperation.delete | case delete | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIFileOperation.download | case download | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIFileOperation.getMetadata | case getMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIFileOperation.upload | case upload | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.contextAppend(content:delegationID:eventID:providerOptions:) | case contextAppend(content: String, delegationID: String?, eventID: String? = nil, providerOptions: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.conversationItemCreate(_:) | case conversationItemCreate(AIRealtimeConversationItem) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.conversationItemTruncate(itemID:contentIndex:audioEndMilliseconds:) | case conversationItemTruncate(itemID: String, contentIndex: Int, audioEndMilliseconds: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioAppend(audio:) | case inputAudioAppend(audio: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioAppendWithEventID(audio:eventID:) | case inputAudioAppendWithEventID(audio: String, eventID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioClear | case inputAudioClear | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioCommit | case inputAudioCommit | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioMute(eventID:) | case inputAudioMute(eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.inputAudioUnmute(eventID:) | case inputAudioUnmute(eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.responseCancel | case responseCancel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.responseCreate(options:) | case responseCreate(options: AIRealtimeResponseOptions? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionClose(eventID:) | case sessionClose(eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionStart(_:eventID:) | case sessionStart(AIRealtimeSessionConfiguration, eventID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionUpdate(_:) | case sessionUpdate(AIRealtimeSessionConfiguration) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeClientEvent.sessionUpdateWithEventID(_:eventID:) | case sessionUpdateWithEventID(AIRealtimeSessionConfiguration, eventID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConnectionKind.clientSecretWebSocket | case clientSecretWebSocket | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConnectionKind.serverWebSocket | case serverWebSocket | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConnectionKind.webRTC | case webRTC | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationItem.audioMessage(audio:) | case audioMessage(audio: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationItem.functionCallOutput(callID:name:output:) | case functionCallOutput(callID: String, name: String?, output: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationItem.textMessage(text:) | case textMessage(text: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationMode.continuous | case continuous | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeConversationMode.turnBased | case turnBased | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeDelegationMode.client | case client | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeDelegationMode.provider | case provider | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeFinalizationMode.sessionClose | case sessionClose | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeFinalizationMode.transportClose | case transportClose | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeOutputModality.audio | case audio | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeOutputModality.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioChunk(delta:raw:) | case audioChunk(delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioCommitted(itemID:previousItemID:raw:) | case audioCommitted(itemID: String?, previousItemID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioDelta(responseID:itemID:delta:raw:) | case audioDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioDone(responseID:itemID:raw:) | case audioDone(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioTranscriptDelta(responseID:itemID:delta:raw:) | case audioTranscriptDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.audioTranscriptDone(responseID:itemID:transcript:raw:) | case audioTranscriptDone(responseID: String, itemID: String, transcript: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.commandAcknowledged(command:clientEventID:raw:) | case commandAcknowledged(command: String, clientEventID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.contentPartAdded(responseID:itemID:raw:) | case contentPartAdded(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.contentPartDone(responseID:itemID:raw:) | case contentPartDone(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.conversationItemAdded(itemID:item:raw:) | case conversationItemAdded(itemID: String, item: JSONValue, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.correlatedError(message:code:clientEventID:raw:) | case correlatedError(message: String, code: String?, clientEventID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.custom(rawType:raw:) | case custom(rawType: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.delegationCreated(delegationID:target:offsetMilliseconds:responseID:raw:) | case delegationCreated(delegationID: String, target: AIRealtimeDelegationMode?, offsetMilliseconds: Double?, responseID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.error(message:code:raw:) | case error(message: String, code: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.functionCallArgumentsDelta(responseID:itemID:callID:delta:raw:) | case functionCallArgumentsDelta(responseID: String, itemID: String, callID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.functionCallArgumentsDone(responseID:itemID:callID:name:arguments:raw:) | case functionCallArgumentsDone(responseID: String, itemID: String, callID: String, name: String, arguments: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.inputTranscriptionCompleted(itemID:transcript:raw:) | case inputTranscriptionCompleted(itemID: String, transcript: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.outputItemAdded(responseID:itemID:raw:) | case outputItemAdded(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.outputItemDone(responseID:itemID:raw:) | case outputItemDone(responseID: String, itemID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.responseCreated(responseID:raw:) | case responseCreated(responseID: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.responseDone(responseID:status:raw:) | case responseDone(responseID: String, status: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionClosed(sessionID:usage:reason:raw:) | case sessionClosed(sessionID: String?, usage: AIRealtimeSessionUsage, reason: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionCreated(sessionID:raw:) | case sessionCreated(sessionID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionStarted(sessionID:delegationMode:raw:) | case sessionStarted(sessionID: String, delegationMode: AIRealtimeDelegationMode?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionUpdated(raw:) | case sessionUpdated(raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.sessionUsage(usage:contextWindowUsageRatio:raw:) | case sessionUsage(usage: AIRealtimeSessionUsage, contextWindowUsageRatio: Double?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.speechStarted(itemID:raw:) | case speechStarted(itemID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.speechStopped(itemID:raw:) | case speechStopped(itemID: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.textDelta(responseID:itemID:delta:raw:) | case textDelta(responseID: String, itemID: String, delta: String, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.textDone(responseID:itemID:text:raw:) | case textDone(responseID: String, itemID: String, text: String?, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeServerEvent.transcriptFragment(speaker:delta:startMilliseconds:endMilliseconds:raw:) | case transcriptFragment(speaker: AIRealtimeTranscriptSpeaker, delta: String, startMilliseconds: Double, endMilliseconds: Double, raw: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeStartupMode.sessionStart | case sessionStart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeStartupMode.sessionUpdate | case sessionUpdate | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTranscriptSpeaker.assistant | case assistant | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTranscriptSpeaker.user | case user | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTransportKind.webRTC | case webRTC | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTransportKind.webSocket | case webSocket | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTurnDetectionType.disabled | case disabled | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTurnDetectionType.semanticVAD | case semanticVAD | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeTurnDetectionType.serverVAD | case serverVAD | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeWireMessage.binary(_:) | case binary(Data) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeWireMessage.json(_:) | case json(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIRealtimeWireMessage.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Case | SwiftAIProvider.AIResponseFormat.json(schema:name:description:) | case json(schema: JSONValue? = nil, name: String? = nil, description: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIResponseFormat.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Case | SwiftAIProvider.AIResultContentPart.citedText(_:citations:providerMetadata:) | case citedText(String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.file(_:) | case file(AIStreamFile) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.reasoning(_:providerMetadata:) | case reasoning(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.source(_:) | case source(AISource) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.text(_:providerMetadata:) | case text(String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.toolCall(_:) | case toolCall(AIToolCall) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIResultContentPart.toolResult(_:) | case toolResult(AIToolResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Case | SwiftAIProvider.AIRetryErrorReason.cancelled | case cancelled | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIRetryErrorReason.errorNotRetryable | case errorNotRetryable | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIRetryErrorReason.maxRetriesExceeded | case maxRetriesExceeded | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Case | SwiftAIProvider.AIStreamingAudioSendResult.dropped | case dropped | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.AIStreamingAudioSendResult.enqueued | case enqueued | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.AIStreamingAudioSendResult.terminated | case terminated | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.AIToolApprovalStatus.approved(reason:) | case approved(reason: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.AIToolApprovalStatus.denied(reason:) | case denied(reason: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.AIToolApprovalStatus.notApplicable | case notApplicable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.AIToolApprovalStatus.userApproval | case userApproval | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.AIToolInputEncoding.json | case json | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Case | SwiftAIProvider.AIToolInputEncoding.text | case text | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Case | SwiftAIProvider.BatchItemResult.image(_:) | case image(ImageBatchItemResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.BatchItemResult.text(_:) | case text(TextBatchItemResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.FileUploadData.data(_:) | case data(Data) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Case | SwiftAIProvider.FileUploadData.stream(_:) | case stream(AsyncThrowingStream<Data, any Error>) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Case | SwiftAIProvider.GatewayErrorType.authenticationError | case authenticationError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.failedDependency | case failedDependency | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.forbidden | case forbidden | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.internalServerError | case internalServerError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.invalidRequestError | case invalidRequestError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.modelNotFound | case modelNotFound | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.rateLimitExceeded | case rateLimitExceeded | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.responseError | case responseError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.timeoutError | case timeoutError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.ImageBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: ImageBatchGenerationResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.JSONValue.array(_:) | case array([JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.bool(_:) | case bool(Bool) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.null | case null | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.number(_:) | case number(Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.object(_:) | case object([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.JSONValue.string(_:) | case string(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Case | SwiftAIProvider.LanguageStreamPart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.file(_:) | case file(AIStreamFile) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.finish(reason:usage:) | case finish(reason: String?, usage: TokenUsage?) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.finishMetadata(reason:usage:providerMetadata:) | case finishMetadata(reason: String?, usage: TokenUsage?, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.metadata(_:) | case metadata([String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.raw(_:) | case raw(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.reasoningDelta(_:) | case reasoningDelta(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.reasoningDeltaPart(id:delta:providerMetadata:) | case reasoningDeltaPart(id: String, delta: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.reasoningEnd(id:providerMetadata:) | case reasoningEnd(id: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.reasoningStart(id:providerMetadata:) | case reasoningStart(id: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.source(_:) | case source(AISource) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.streamStart(warnings:) | case streamStart(warnings: [AIWarning]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.textDelta(_:) | case textDelta(String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.textDeltaPart(id:delta:providerMetadata:) | case textDeltaPart(id: String, delta: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.textEnd(id:providerMetadata:) | case textEnd(id: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.textEndWithCitations(id:citations:providerMetadata:) | case textEndWithCitations(id: String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.textStart(id:providerMetadata:) | case textStart(id: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolCall(_:) | case toolCall(AIToolCall) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolCallDelta(id:name:argumentsDelta:index:) | case toolCallDelta(id: String?, name: String?, argumentsDelta: String, index: Int?) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolInputDelta(id:delta:providerMetadata:) | case toolInputDelta(id: String, delta: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolInputEnd(id:providerMetadata:) | case toolInputEnd(id: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolInputStart(id:name:providerExecuted:dynamic:title:providerMetadata:) | case toolInputStart(id: String, name: String, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolInputStartText(id:name:providerExecuted:dynamic:title:providerMetadata:) | case toolInputStartText(id: String, name: String, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.LanguageStreamPart.toolResult(_:) | case toolResult(AIToolResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Case | SwiftAIProvider.MessageRole.assistant | case assistant | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.MessageRole.system | case system | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.MessageRole.tool | case tool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.MessageRole.user | case user | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.audioGeneration | case audioGeneration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.audioTransformation | case audioTransformation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.completion | case completion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.decision | case decision | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.dubbing | case dubbing | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.embedding | case embedding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.evaluation | case evaluation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.image | case image | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.language | case language | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.reranking | case reranking | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.speech | case speech | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.transcription | case transcription | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.ModelCapability.video | case video | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Case | SwiftAIProvider.StreamingSpeechPart.audio(id:audio:audioFormat:providerMetadata:) | case audio(id: String? = nil, audio: Data, audioFormat: AIStreamingAudioFormat, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Case | SwiftAIProvider.StreamingSpeechPart.error(_:) | case error(any Error) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Case | SwiftAIProvider.StreamingSpeechPart.finish(usage:providerMetadata:) | case finish(usage: [String : JSONValue] = [:], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Case | SwiftAIProvider.StreamingSpeechPart.raw(_:) | case raw(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Case | SwiftAIProvider.StreamingSpeechPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Case | SwiftAIProvider.StreamingSpeechPart.streamStart(warnings:) | case streamStart(warnings: [AIWarning]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.finish(_:) | case finish(StreamingTranscriptionFinish) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.raw(_:) | case raw(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.responseMetadata(_:) | case responseMetadata(AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.streamStart(warnings:) | case streamStart(warnings: [AIWarning]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.transcriptDelta(id:delta:providerMetadata:) | case transcriptDelta(id: String?, delta: String, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.transcriptFinal(id:text:startSecond:endSecond:channelIndex:providerMetadata:) | case transcriptFinal(id: String?, text: String, startSecond: Double? = nil, endSecond: Double? = nil, channelIndex: Int? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.StreamingTranscriptionPart.transcriptPartial(id:text:startSecond:durationInSeconds:channelIndex:providerMetadata:) | case transcriptPartial(id: String?, text: String, startSecond: Double? = nil, durationInSeconds: Double? = nil, channelIndex: Int? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Case | SwiftAIProvider.TextBatchItemResult.cancelled(id:error:providerMetadata:) | case cancelled(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.TextBatchItemResult.expired(id:error:providerMetadata:) | case expired(id: String, error: AIBatchError? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.TextBatchItemResult.failed(id:error:providerMetadata:) | case failed(id: String, error: AIBatchError, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.TextBatchItemResult.succeeded(id:result:) | case succeeded(id: String, result: TextBatchGenerationResult) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Case | SwiftAIProvider.VideoFrameType.firstFrame | case firstFrame | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Case | SwiftAIProvider.VideoFrameType.lastFrame | case lastFrame | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Case | SwiftAIProviderUtilities.AISmoothStreamChunking.line | case line | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Case | SwiftAIProviderUtilities.AISmoothStreamChunking.word | case word | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Case | SwiftAIProviderUtilities.AIStreamingToolCallTypeValidation.ifPresent | case ifPresent | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Case | SwiftAIProviderUtilities.AIStreamingToolCallTypeValidation.none | case none | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Case | SwiftAIProviderUtilities.AIStreamingToolCallTypeValidation.required | case required | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Case | SwiftAIProviderUtilities.SpeechStreamEnvelope.ClientFrame.invalid(_:) | case invalid(String) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Case | SwiftAIProviderUtilities.SpeechStreamEnvelope.ClientFrame.start(_:) | case start(JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Case | SwiftAIProviderUtilities.SpeechStreamEnvelope.ClientFrame.textDelta(_:) | case textDelta(SpeechTextPart) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Case | SwiftAIProviderUtilities.SpeechStreamEnvelope.ClientFrame.textDone | case textDone | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Case | SwiftAIProviderUtilities.SpeechStreamEnvelope.ClientFrame.unknown | case unknown | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Case | SwiftAISDK.AIChatSessionStatus.error | case error | Sources/SwiftAISDK/AIChatSession.swift |
| Case | SwiftAISDK.AIChatSessionStatus.ready | case ready | Sources/SwiftAISDK/AIChatSession.swift |
| Case | SwiftAISDK.AIChatSessionStatus.streaming | case streaming | Sources/SwiftAISDK/AIChatSession.swift |
| Case | SwiftAISDK.AIChatSessionStatus.submitted | case submitted | Sources/SwiftAISDK/AIChatSession.swift |
| Case | SwiftAISDK.AIChatTransportTrigger.regenerateMessage | case regenerateMessage | Sources/SwiftAISDK/AIChatTransport.swift |
| Case | SwiftAISDK.AIChatTransportTrigger.submitMessage | case submitMessage | Sources/SwiftAISDK/AIChatTransport.swift |
| Case | SwiftAISDK.AIUIMessagePart.custom(_:providerMetadata:) | case custom(JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.data(_:) | case data(AIUIDataPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.error(message:rawValue:) | case error(message: String, rawValue: JSONValue?) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.file(_:) | case file(AIStreamFile) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.metadata(_:) | case metadata([String : JSONValue]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.raw(_:) | case raw(JSONValue) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.reasoning(_:) | case reasoning(AIUIReasoningPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.reasoningFile(_:) | case reasoningFile(AIStreamFile) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.source(_:) | case source(AISource) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.text(_:) | case text(AIUITextPart) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolApprovalRequest(_:) | case toolApprovalRequest(AIToolApprovalRequest) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolApprovalResponse(_:) | case toolApprovalResponse(AIToolApprovalResponse) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolCall(_:) | case toolCall(AIToolCall) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessagePart.toolResult(_:) | case toolResult(AIToolResult) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIMessageStreamOutcome.aborted | case aborted | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Case | SwiftAISDK.AIUIMessageStreamOutcome.completed | case completed | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Case | SwiftAISDK.AIUIMessageStreamOutcome.failed | case failed | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Case | SwiftAISDK.AIUIMessageStreamOutcome.unknown | case unknown | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Case | SwiftAISDK.AIUIStreamingPartState.done | case done | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AIUIStreamingPartState.streaming | case streaming | Sources/SwiftAISDK/CoreUIMessages.swift |
| Case | SwiftAISDK.AmazonBedrockChatModelFamily.anthropic | case anthropic | Sources/SwiftAISDK/Models/AmazonBedrockModels.swift |
| Case | SwiftAISDK.AmazonBedrockEmbeddingModelFamily.cohere | case cohere | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Case | SwiftAISDK.AmazonBedrockEmbeddingModelFamily.nova | case nova | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Case | SwiftAISDK.AmazonBedrockEmbeddingModelFamily.titan | case titan | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Case | SwiftAISDK.AuthorizationStyle.apiKeyHeader(name:prefix:environmentVariables:) | case apiKeyHeader(name: String, prefix: String? = nil, environmentVariables: [String]) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | SwiftAISDK.AuthorizationStyle.bearer(environmentVariables:) | case bearer(environmentVariables: [String]) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | SwiftAISDK.AuthorizationStyle.none | case none | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | SwiftAISDK.AuthorizationStyle.token(environmentVariables:) | case token(environmentVariables: [String]) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Case | SwiftAISDK.HeyGenVideoAsset.assetID(_:) | case assetID(String) | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoAsset.base64(data:mediaType:) | case base64(data: String, mediaType: String) | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoAsset.url(_:) | case url(String) | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Mode.imageToVideo | case imageToVideo | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Mode.referenceToVideo | case referenceToVideo | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Mode.textToVideo | case textToVideo | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.PromptEnhancement.disabled | case disabled | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.PromptEnhancement.quality | case quality | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.PromptEnhancement.turbo | case turbo | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Resolution.p1080 | case p1080 | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Resolution.p480 | case p480 | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Resolution.p768 | case p768 | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.HeyGenVideoModelOptions.Resolution.twoK | case twoK | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Case | SwiftAISDK.MCPAppToolMeta.Visibility.app | case app | Sources/SwiftAISDK/MCPApps.swift |
| Case | SwiftAISDK.MCPAppToolMeta.Visibility.model | case model | Sources/SwiftAISDK/MCPApps.swift |
| Case | SwiftAISDK.MCPElicitAction.accept | case accept | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPElicitAction.cancel | case cancel | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPElicitAction.decline | case decline | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPEventDeliveryMode.poll | case poll | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventDeliveryMode.push | case push | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventDeliveryMode.webhook | case webhook | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventLifetime.indefinite | case indefinite | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventLifetime.milliseconds(_:) | case milliseconds(Int) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventsConfiguration.direct(store:validateArguments:) | case direct(store: (any MCPEventStore)? = nil, validateArguments: MCPEventArgumentValidator? = nil) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventsConfiguration.managed(_:) | case managed(any MCPEventAdapter) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventSubscription.Status.active | case active | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventSubscription.Status.pending | case pending | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventSubscriptionReference.id(_:) | case id(String) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventSubscriptionReference.key(_:) | case key(String) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Case | SwiftAISDK.MCPEventTransportMetadata.custom | case custom | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPEventTransportMetadata.http(url:) | case http(url: URL) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscribeInput.Lifetime.expiresAt(_:) | case expiresAt(String?) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscribeInput.Lifetime.indefinite | case indefinite | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscribeInput.Lifetime.milliseconds(_:) | case milliseconds(Int) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.CleanupStatus.complete | case complete | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.CleanupStatus.exhausted | case exhausted | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.CleanupStatus.pending | case pending | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.Status.active | case active | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.Status.expired | case expired | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.Status.failed | case failed | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.Status.needsAuth | case needsAuth | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.Status.pending | case pending | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPManagedSubscription.Status.stopped | case stopped | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Case | SwiftAISDK.MCPOAuthApplicationType.native | case native | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthApplicationType.web | case web | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthAuthResult.authorized | case authorized | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthAuthResult.redirect | case redirect | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthClientAuthMethod.clientSecretBasic | case clientSecretBasic | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthClientAuthMethod.clientSecretPost | case clientSecretPost | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthClientAuthMethod.none | case none | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Case | SwiftAISDK.MCPOAuthCredentialScope.all | case all | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPOAuthCredentialScope.client | case client | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPOAuthCredentialScope.tokens | case tokens | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPOAuthCredentialScope.verifier | case verifier | Sources/SwiftAISDK/MCPTypes.swift |
| Case | SwiftAISDK.MCPStdioShell.disabled | case disabled | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Case | SwiftAISDK.MCPStdioShell.executable(_:) | case executable(String) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Case | SwiftAISDK.MCPStdioShell.system | case system | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Case | SwiftAISDK.MiniMaxCacheControlOptions.CacheControl.ephemeral | case ephemeral | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxImagePartOptions.Detail.default | case default | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxImagePartOptions.Detail.high | case high | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxImagePartOptions.Detail.low | case low | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Effort.high | case high | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Effort.low | case low | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Effort.max | case max | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Effort.medium | case medium | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Effort.xhigh | case xhigh | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Thinking.adaptive | case adaptive | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.MiniMaxLanguageModelOptions.Thinking.disabled | case disabled | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Case | SwiftAISDK.QuiverAIImageReference.base64(_:) | case base64(String) | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Case | SwiftAISDK.QuiverAIImageReference.url(_:) | case url(String) | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Case | SwiftAITransport.AIDuplexWebSocketEvent.closed(_:) | case closed(AIDuplexWebSocketCloseMetadata) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketEvent.message(_:) | case message(AIDuplexWebSocketMessage) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketEvent.opened(protocol:) | case opened(protocol: String?) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketMessage.binary(_:) | case binary(Data) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Case | SwiftAITransport.AIDuplexWebSocketMessage.text(_:) | case text(String) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Class | SwiftAI.AICustomProvider | final class AICustomProvider | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Class | SwiftAI.AIObjectGenerationSession | @MainActor final class AIObjectGenerationSession<Output, Partial> where Output : Sendable, Partial : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Class | SwiftAI.AIProviderRegistry | final class AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Class | SwiftAI.AIRealtimeSession | final class AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Class | SwiftAIAnthropic.AnthropicBatchLanguageModel | final class AnthropicBatchLanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Class | SwiftAIAnthropic.AnthropicBatchProvider | final class AnthropicBatchProvider | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Class | SwiftAIAnthropic.AnthropicFileClient | final class AnthropicFileClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Class | SwiftAIAnthropic.AnthropicLanguageModel | final class AnthropicLanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Class | SwiftAIAnthropic.AnthropicProvider | final class AnthropicProvider | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Class | SwiftAIAnthropic.AnthropicSkillsClient | final class AnthropicSkillsClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Class | SwiftAIOpenAI.MultipartFileClient | final class MultipartFileClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Class | SwiftAIOpenAI.OpenAIBatchProvider | final class OpenAIBatchProvider | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Class | SwiftAIOpenAI.OpenAICompatibleResponsesModel | final class OpenAICompatibleResponsesModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Class | SwiftAIOpenAI.OpenAICompatibleSpeechModel | final class OpenAICompatibleSpeechModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Class | SwiftAIOpenAI.OpenAICompatibleTranscriptionModel | final class OpenAICompatibleTranscriptionModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Class | SwiftAIOpenAI.OpenAIDecisionModel | final class OpenAIDecisionModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Class | SwiftAIOpenAI.OpenAILiveModel | final class OpenAILiveModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Class | SwiftAIOpenAI.OpenAIProvider | final class OpenAIProvider | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Class | SwiftAIOpenAI.OpenAIResponsesBatchLanguageModel | final class OpenAIResponsesBatchLanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Class | SwiftAIOpenAI.OpenAISkillsClient | final class OpenAISkillsClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleChatModel | final class OpenAICompatibleChatModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleCompletionModel | final class OpenAICompatibleCompletionModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleEmbeddingModel | final class OpenAICompatibleEmbeddingModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleImageModel | final class OpenAICompatibleImageModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Class | SwiftAIOpenAICompatible.OpenAICompatibleProvider | final class OpenAICompatibleProvider | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Class | SwiftAIProvider.AIAbortController | final class AIAbortController | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Class | SwiftAIProvider.AIAbortHandlerRegistration | final class AIAbortHandlerRegistration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Class | SwiftAIProvider.AIAbortSignal | final class AIAbortSignal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Class | SwiftAIProvider.AIStreamingAudioWriter | final class AIStreamingAudioWriter | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Class | SwiftAIProviderUtilities.AIDelayedPromise | final class AIDelayedPromise<Value> where Value : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Class | SwiftAIProviderUtilities.AISerialJobExecutor | final class AISerialJobExecutor | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Class | SwiftAIProviderUtilities.DecisionLanguageModel | final class DecisionLanguageModel | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Class | SwiftAIProviderUtilities.EvaluationLanguageModel | final class EvaluationLanguageModel | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Class | SwiftAISDK.AIChatSession | @MainActor final class AIChatSession | Sources/SwiftAISDK/AIChatSession.swift |
| Class | SwiftAISDK.AICustomProvider | final class AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Class | SwiftAISDK.AlibabaEmbeddingModel | final class AlibabaEmbeddingModel | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Class | SwiftAISDK.AlibabaLanguageModel | final class AlibabaLanguageModel | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Class | SwiftAISDK.AlibabaVideoModel | final class AlibabaVideoModel | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Class | SwiftAISDK.AmazonBedrockAnthropicLanguageModel | final class AmazonBedrockAnthropicLanguageModel | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Class | SwiftAISDK.AmazonBedrockAnthropicProvider | final class AmazonBedrockAnthropicProvider | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Class | SwiftAISDK.AmazonBedrockEmbeddingModel | final class AmazonBedrockEmbeddingModel | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Class | SwiftAISDK.AmazonBedrockImageModel | final class AmazonBedrockImageModel | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Class | SwiftAISDK.AmazonBedrockLanguageModel | final class AmazonBedrockLanguageModel | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Class | SwiftAISDK.AmazonBedrockProvider | final class AmazonBedrockProvider | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Class | SwiftAISDK.AmazonBedrockRerankingModel | final class AmazonBedrockRerankingModel | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Class | SwiftAISDK.AnthropicAWSProvider | final class AnthropicAWSProvider | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Class | SwiftAISDK.AssemblyAITranscriptionModel | final class AssemblyAITranscriptionModel | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Class | SwiftAISDK.AzureImageModel | final class AzureImageModel | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Class | SwiftAISDK.AzureMAIImageModel | final class AzureMAIImageModel | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Class | SwiftAISDK.AzureOpenAIProvider | final class AzureOpenAIProvider | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Class | SwiftAISDK.AzureSpeechModel | final class AzureSpeechModel | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Class | SwiftAISDK.AzureTranscriptionModel | final class AzureTranscriptionModel | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Class | SwiftAISDK.BasetenEmbeddingModel | final class BasetenEmbeddingModel | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Class | SwiftAISDK.BedrockMantleProvider | final class BedrockMantleProvider | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Class | SwiftAISDK.BlackForestLabsImageModel | final class BlackForestLabsImageModel | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Class | SwiftAISDK.BlackForestLabsVideoModel | final class BlackForestLabsVideoModel | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Class | SwiftAISDK.ByteDanceVideoModel | final class ByteDanceVideoModel | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Class | SwiftAISDK.CartesiaProvider | final class CartesiaProvider | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Class | SwiftAISDK.CartesiaSpeechModel | final class CartesiaSpeechModel | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Class | SwiftAISDK.CartesiaStreamingTranscriptionModel | final class CartesiaStreamingTranscriptionModel | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Class | SwiftAISDK.CartesiaTranscriptionModel | final class CartesiaTranscriptionModel | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Class | SwiftAISDK.CerebrasLanguageModel | final class CerebrasLanguageModel | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Class | SwiftAISDK.CohereEmbeddingModel | final class CohereEmbeddingModel | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Class | SwiftAISDK.CohereLanguageModel | final class CohereLanguageModel | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Class | SwiftAISDK.CohereRerankingModel | final class CohereRerankingModel | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Class | SwiftAISDK.DeepgramSpeechModel | final class DeepgramSpeechModel | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Class | SwiftAISDK.DeepgramTranscriptionModel | final class DeepgramTranscriptionModel | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Class | SwiftAISDK.DeepInfraImageModel | final class DeepInfraImageModel | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Class | SwiftAISDK.DeepSeekFileClient | final class DeepSeekFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | SwiftAISDK.DeepSeekLanguageModel | final class DeepSeekLanguageModel | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Class | SwiftAISDK.ElevenLabsDubbingClient | final class ElevenLabsDubbingClient | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | SwiftAISDK.ElevenLabsMusicModel | final class ElevenLabsMusicModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | SwiftAISDK.ElevenLabsSoundEffectsModel | final class ElevenLabsSoundEffectsModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | SwiftAISDK.ElevenLabsSpeechModel | final class ElevenLabsSpeechModel | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Class | SwiftAISDK.ElevenLabsTranscriptionModel | final class ElevenLabsTranscriptionModel | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Class | SwiftAISDK.ElevenLabsVoiceChangerModel | final class ElevenLabsVoiceChangerModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | SwiftAISDK.ElevenLabsVoiceIsolatorModel | final class ElevenLabsVoiceIsolatorModel | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Class | SwiftAISDK.FalImageModel | final class FalImageModel | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Class | SwiftAISDK.FalSpeechModel | final class FalSpeechModel | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Class | SwiftAISDK.FalTranscriptionModel | final class FalTranscriptionModel | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Class | SwiftAISDK.FalVideoModel | final class FalVideoModel | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Class | SwiftAISDK.FireworksImageModel | final class FireworksImageModel | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Class | SwiftAISDK.FishAudioProvider | final class FishAudioProvider | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Class | SwiftAISDK.FishAudioSpeechModel | final class FishAudioSpeechModel | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Class | SwiftAISDK.FishAudioTranscriptionModel | final class FishAudioTranscriptionModel | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Class | SwiftAISDK.GatewayBatchProvider | final class GatewayBatchProvider | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Class | SwiftAISDK.GatewayDecisionModel | final class GatewayDecisionModel | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Class | SwiftAISDK.GatewayEmbeddingModel | final class GatewayEmbeddingModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | SwiftAISDK.GatewayEvaluationModel | final class GatewayEvaluationModel | Sources/SwiftAISDK/Models/GatewayEvaluationModel.swift |
| Class | SwiftAISDK.GatewayImageModel | final class GatewayImageModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | SwiftAISDK.GatewayLanguageModel | final class GatewayLanguageModel | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Class | SwiftAISDK.GatewayProvider | final class GatewayProvider | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Class | SwiftAISDK.GatewayRerankingModel | final class GatewayRerankingModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | SwiftAISDK.GatewaySpeechModel | final class GatewaySpeechModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | SwiftAISDK.GatewayTranscriptionModel | final class GatewayTranscriptionModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | SwiftAISDK.GatewayVideoModel | final class GatewayVideoModel | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Class | SwiftAISDK.GladiaTranscriptionModel | final class GladiaTranscriptionModel | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Class | SwiftAISDK.GMICloudProvider | final class GMICloudProvider | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Class | SwiftAISDK.GoogleBatchLanguageModel | final class GoogleBatchLanguageModel | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Class | SwiftAISDK.GoogleBatchProvider | final class GoogleBatchProvider | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Class | SwiftAISDK.GoogleEmbeddingModel | final class GoogleEmbeddingModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | SwiftAISDK.GoogleFileClient | final class GoogleFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | SwiftAISDK.GoogleGenerativeAIProvider | final class GoogleGenerativeAIProvider | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Class | SwiftAISDK.GoogleGenerativeLanguageModel | final class GoogleGenerativeLanguageModel | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Class | SwiftAISDK.GoogleImageGenerationModel | final class GoogleImageGenerationModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | SwiftAISDK.GoogleInteractionsLanguageModel | final class GoogleInteractionsLanguageModel | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Class | SwiftAISDK.GoogleSpeechModel | final class GoogleSpeechModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | SwiftAISDK.GoogleVertexEmbeddingModel | final class GoogleVertexEmbeddingModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVertexImageModel | final class GoogleVertexImageModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVertexInteractionsLanguageModel | final class GoogleVertexInteractionsLanguageModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVertexLanguageModel | final class GoogleVertexLanguageModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVertexProvider | final class GoogleVertexProvider | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Class | SwiftAISDK.GoogleVertexSpeechModel | final class GoogleVertexSpeechModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVertexTranscriptionModel | final class GoogleVertexTranscriptionModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVertexVideoModel | final class GoogleVertexVideoModel | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Class | SwiftAISDK.GoogleVideoGenerationModel | final class GoogleVideoGenerationModel | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Class | SwiftAISDK.GroqLanguageModel | final class GroqLanguageModel | Sources/SwiftAISDK/Models/GroqModels.swift |
| Class | SwiftAISDK.GroqTranscriptionModel | final class GroqTranscriptionModel | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Class | SwiftAISDK.HeyGenVideoModel | final class HeyGenVideoModel | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Class | SwiftAISDK.HuggingFaceProvider | final class HuggingFaceProvider | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Class | SwiftAISDK.HuggingFaceResponsesLanguageModel | final class HuggingFaceResponsesLanguageModel | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Class | SwiftAISDK.HumeSpeechModel | final class HumeSpeechModel | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Class | SwiftAISDK.JSONImageModel | final class JSONImageModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | SwiftAISDK.JSONRerankingModel | final class JSONRerankingModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | SwiftAISDK.JSONSpeechModel | final class JSONSpeechModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | SwiftAISDK.JSONTranscriptionModel | final class JSONTranscriptionModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | SwiftAISDK.JSONVideoModel | final class JSONVideoModel | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Class | SwiftAISDK.KlingAIVideoModel | final class KlingAIVideoModel | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Class | SwiftAISDK.LMNTSpeechModel | final class LMNTSpeechModel | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Class | SwiftAISDK.LumaImageModel | final class LumaImageModel | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Class | SwiftAISDK.MCPClient | actor MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Class | SwiftAISDK.MCPHTTPTransport | final class MCPHTTPTransport | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Class | SwiftAISDK.MCPStdioTransport | final class MCPStdioTransport | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Class | SwiftAISDK.MiniMaxProvider | final class MiniMaxProvider | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Class | SwiftAISDK.MiniMaxVideoModel | final class MiniMaxVideoModel | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Class | SwiftAISDK.MistralConversationLanguageModel | final class MistralConversationLanguageModel | Sources/SwiftAISDK/Models/MistralConversationLanguageModel.swift |
| Class | SwiftAISDK.MistralEmbeddingModel | final class MistralEmbeddingModel | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Class | SwiftAISDK.MistralLanguageModel | final class MistralLanguageModel | Sources/SwiftAISDK/Models/MistralModels.swift |
| Class | SwiftAISDK.MistralSpeechModel | final class MistralSpeechModel | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Class | SwiftAISDK.MistralTranscriptionModel | final class MistralTranscriptionModel | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Class | SwiftAISDK.OpenAICompatibleProvider | final class OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Class | SwiftAISDK.PerplexityDecisionModel | final class PerplexityDecisionModel | Sources/SwiftAISDK/Models/PerplexityDecisionModel.swift |
| Class | SwiftAISDK.PerplexityEmbeddingModel | final class PerplexityEmbeddingModel | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Class | SwiftAISDK.PerplexityLanguageModel | final class PerplexityLanguageModel | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Class | SwiftAISDK.PerplexitySonarLanguageModel | final class PerplexitySonarLanguageModel | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Class | SwiftAISDK.ProdiaImageModel | final class ProdiaImageModel | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Class | SwiftAISDK.ProdiaLanguageModel | final class ProdiaLanguageModel | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Class | SwiftAISDK.ProdiaVideoModel | final class ProdiaVideoModel | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Class | SwiftAISDK.QuiverAIImageModel | final class QuiverAIImageModel | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Class | SwiftAISDK.ReplicateImageModel | final class ReplicateImageModel | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Class | SwiftAISDK.ReplicateVideoModel | final class ReplicateVideoModel | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Class | SwiftAISDK.RevAITranscriptionModel | final class RevAITranscriptionModel | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Class | SwiftAISDK.TogetherAIImageModel | final class TogetherAIImageModel | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Class | SwiftAISDK.TogetherAIRerankingModel | final class TogetherAIRerankingModel | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Class | SwiftAISDK.TopazImageModel | final class TopazImageModel | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Class | SwiftAISDK.TopazVideoModel | final class TopazVideoModel | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Class | SwiftAISDK.TypeSafeAIDecisionModel | final class TypeSafeAIDecisionModel | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Class | SwiftAISDK.TypeSafeAIEvaluationModel | final class TypeSafeAIEvaluationModel | Sources/SwiftAISDK/Models/TypesafeAIEvaluationModel.swift |
| Class | SwiftAISDK.TypeSafeAIProvider | final class TypeSafeAIProvider | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Class | SwiftAISDK.VercelProvider | final class VercelProvider | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Class | SwiftAISDK.VoyageEmbeddingModel | final class VoyageEmbeddingModel | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Class | SwiftAISDK.VoyageRerankingModel | final class VoyageRerankingModel | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Class | SwiftAISDK.XAIBatchProvider | final class XAIBatchProvider | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Class | SwiftAISDK.XAIFileClient | final class XAIFileClient | Sources/SwiftAISDK/Models/FileClients.swift |
| Class | SwiftAISDK.XAIImageModel | final class XAIImageModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | SwiftAISDK.XAIRealtimeModel | final class XAIRealtimeModel | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Class | SwiftAISDK.XAIResponsesBatchLanguageModel | final class XAIResponsesBatchLanguageModel | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Class | SwiftAISDK.XAISpeechModel | final class XAISpeechModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | SwiftAISDK.XAITranscriptionModel | final class XAITranscriptionModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | SwiftAISDK.XAIVideoModel | final class XAIVideoModel | Sources/SwiftAISDK/Models/XAIModels.swift |
| Class | SwiftAISDK.ZAILanguageModel | final class ZAILanguageModel | Sources/SwiftAISDK/Models/ZAILanguageModel.swift |
| Class | SwiftAISDK.ZAIProvider | final class ZAIProvider | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Class | SwiftAITransport.URLSessionDuplexWebSocketTransport | final class URLSessionDuplexWebSocketTransport | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Class | SwiftAITransport.URLSessionTransport | final class URLSessionTransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Enumeration | SwiftAI.AI | enum AI | Packages/swift-ai-core/Sources/SwiftAI/AI.swift |
| Enumeration | SwiftAI.AILanguageModelCallType | enum AILanguageModelCallType | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Enumeration | SwiftAI.AINoOutputKind | enum AINoOutputKind | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Enumeration | SwiftAI.AIObjectGenerationFailureKind | enum AIObjectGenerationFailureKind | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Enumeration | SwiftAI.AIObjectGenerationSessionStatus | enum AIObjectGenerationSessionStatus | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Enumeration | SwiftAI.AIObjectOutputStrategy | enum AIObjectOutputStrategy | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Enumeration | SwiftAI.AIOutputKind | enum AIOutputKind | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Enumeration | SwiftAI.AIOutputStreamPart | enum AIOutputStreamPart<Output, Partial> where Output : Sendable, Partial : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Enumeration | SwiftAI.AIParsePartialJSONState | enum AIParsePartialJSONState | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Enumeration | SwiftAI.AIProviderRegistryError | enum AIProviderRegistryError | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Enumeration | SwiftAI.AIPruneEmptyMessages | enum AIPruneEmptyMessages | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Enumeration | SwiftAI.AIPruneReasoning | enum AIPruneReasoning | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Enumeration | SwiftAI.AIPruneToolCalls.Scope | enum Scope | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Enumeration | SwiftAI.AIRealtimeSessionError | enum AIRealtimeSessionError | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Enumeration | SwiftAI.AIRealtimeSessionEvent | enum AIRealtimeSessionEvent | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Enumeration | SwiftAI.AIStreamTimeoutPhase | enum AIStreamTimeoutPhase | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Enumeration | SwiftAI.AIToolCallerDefinition | enum AIToolCallerDefinition | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Enumeration | SwiftAI.ObjectStreamPart | enum ObjectStreamPart<Object> where Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Enumeration | SwiftAI.Output | enum Output | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Enumeration | SwiftAI.Telemetry | enum Telemetry | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Enumeration | SwiftAI.Telemetry.Event.Kind | enum Kind | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Enumeration | SwiftAI.VideoGenerationOperationError | enum VideoGenerationOperationError | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Enumeration | SwiftAI.VideoGenerationOperationStatusResult | enum VideoGenerationOperationStatusResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Enumeration | SwiftAIAnthropic.AnthropicTools | enum AnthropicTools | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Enumeration | SwiftAIOpenAI.OpenAITools | enum OpenAITools | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Enumeration | SwiftAIOpenAI.OpenResponsesTools | enum OpenResponsesTools | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesTools.swift |
| Enumeration | SwiftAIOpenAI.ResponsesRequestMode | enum ResponsesRequestMode | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAICompatibleMetadata.swift |
| Enumeration | SwiftAIOpenAICompatible.OpenAICompatibleWireProfile | enum OpenAICompatibleWireProfile | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Enumeration | SwiftAIProvider.AIAbortSource | enum AIAbortSource | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Enumeration | SwiftAIProvider.AIBatchItemResult | enum AIBatchItemResult<Result> where Result : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchLifecycleStatus | enum AIBatchLifecycleStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchReferenceType | enum AIBatchReferenceType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchRequest | enum AIBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIBatchV4ItemResult | enum AIBatchV4ItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.AIContentPart | enum AIContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Enumeration | SwiftAIProvider.AIDecisionAnswer | enum AIDecisionAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionAnswerType | enum AIDecisionAnswerType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionFileData | enum AIDecisionFileData | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionModelReference | enum AIDecisionModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionModelResolutionError | enum AIDecisionModelResolutionError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionState | enum AIDecisionState | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIDecisionStatePart | enum AIDecisionStatePart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Enumeration | SwiftAIProvider.AIError | enum AIError | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Enumeration | SwiftAIProvider.AIEvaluationAnswer | enum AIEvaluationAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationModelReference | enum AIEvaluationModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationModelResolutionError | enum AIEvaluationModelResolutionError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationQuestion | enum AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIEvaluationQuestionType | enum AIEvaluationQuestionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Enumeration | SwiftAIProvider.AIFileOperation | enum AIFileOperation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Enumeration | SwiftAIProvider.AIProviders | enum AIProviders | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderRegistry.swift |
| Enumeration | SwiftAIProvider.AIRealtimeClientEvent | enum AIRealtimeClientEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeConnectionKind | enum AIRealtimeConnectionKind | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeConversationItem | enum AIRealtimeConversationItem | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeConversationMode | enum AIRealtimeConversationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeDelegationMode | enum AIRealtimeDelegationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeFinalizationMode | enum AIRealtimeFinalizationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeOutputModality | enum AIRealtimeOutputModality | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeServerEvent | enum AIRealtimeServerEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeStartupMode | enum AIRealtimeStartupMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeTranscriptSpeaker | enum AIRealtimeTranscriptSpeaker | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeTransportKind | enum AIRealtimeTransportKind | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeTurnDetectionType | enum AIRealtimeTurnDetectionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIRealtimeWireMessage | enum AIRealtimeWireMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Enumeration | SwiftAIProvider.AIResponseFormat | enum AIResponseFormat | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Enumeration | SwiftAIProvider.AIResultContentPart | enum AIResultContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Enumeration | SwiftAIProvider.AIRetryErrorReason | enum AIRetryErrorReason | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Enumeration | SwiftAIProvider.AIStreamingAudioSendResult | enum AIStreamingAudioSendResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Enumeration | SwiftAIProvider.AIToolApprovalStatus | enum AIToolApprovalStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Enumeration | SwiftAIProvider.AIToolInputEncoding | enum AIToolInputEncoding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Enumeration | SwiftAIProvider.BatchItemResult | enum BatchItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.FileUploadData | enum FileUploadData | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Enumeration | SwiftAIProvider.GatewayErrorType | enum GatewayErrorType | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Enumeration | SwiftAIProvider.ImageBatchItemResult | enum ImageBatchItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.JSONValue | enum JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Enumeration | SwiftAIProvider.LanguageStreamPart | enum LanguageStreamPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Enumeration | SwiftAIProvider.MessageRole | enum MessageRole | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Enumeration | SwiftAIProvider.ModelCapability | enum ModelCapability | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Enumeration | SwiftAIProvider.StreamingSpeechPart | enum StreamingSpeechPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Enumeration | SwiftAIProvider.StreamingTranscriptionPart | enum StreamingTranscriptionPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Enumeration | SwiftAIProvider.TextBatchItemResult | enum TextBatchItemResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Enumeration | SwiftAIProvider.VideoFrameType | enum VideoFrameType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Enumeration | SwiftAIProviderUtilities.AIJSONSchemaValidator | enum AIJSONSchemaValidator | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONSchemaValidator.swift |
| Enumeration | SwiftAIProviderUtilities.AISmoothStreamChunking | enum AISmoothStreamChunking | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Enumeration | SwiftAIProviderUtilities.AIStreamingToolCallTypeValidation | enum AIStreamingToolCallTypeValidation | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Enumeration | SwiftAIProviderUtilities.AIWarningLogging | enum AIWarningLogging | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Enumeration | SwiftAIProviderUtilities.SpeechStreamEnvelope | enum SpeechStreamEnvelope | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Enumeration | SwiftAIProviderUtilities.SpeechStreamEnvelope.ClientFrame | enum ClientFrame | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Enumeration | SwiftAISDK.AI | enum AI | Sources/SwiftAISDK/Compatibility.swift |
| Enumeration | SwiftAISDK.AIChatSessionStatus | enum AIChatSessionStatus | Sources/SwiftAISDK/AIChatSession.swift |
| Enumeration | SwiftAISDK.AIChatTransportTrigger | enum AIChatTransportTrigger | Sources/SwiftAISDK/AIChatTransport.swift |
| Enumeration | SwiftAISDK.AIDefaultProvider | enum AIDefaultProvider | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Enumeration | SwiftAISDK.AIProviderCapabilities | enum AIProviderCapabilities | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Enumeration | SwiftAISDK.AIProviders | enum AIProviders | Sources/SwiftAISDK/Compatibility.swift |
| Enumeration | SwiftAISDK.AIUIMessagePart | enum AIUIMessagePart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Enumeration | SwiftAISDK.AIUIMessageStreamOutcome | enum AIUIMessageStreamOutcome | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Enumeration | SwiftAISDK.AIUIStreamingPartState | enum AIUIStreamingPartState | Sources/SwiftAISDK/CoreUIMessages.swift |
| Enumeration | SwiftAISDK.AmazonBedrockChatModelFamily | enum AmazonBedrockChatModelFamily | Sources/SwiftAISDK/Models/AmazonBedrockModels.swift |
| Enumeration | SwiftAISDK.AmazonBedrockEmbeddingModelFamily | enum AmazonBedrockEmbeddingModelFamily | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Enumeration | SwiftAISDK.AuthorizationStyle | enum AuthorizationStyle | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Enumeration | SwiftAISDK.AzureOpenAITools | enum AzureOpenAITools | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Enumeration | SwiftAISDK.GatewayTools | enum GatewayTools | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Enumeration | SwiftAISDK.GoogleTools | enum GoogleTools | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Enumeration | SwiftAISDK.GoogleVertexAnthropicTools | enum GoogleVertexAnthropicTools | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Enumeration | SwiftAISDK.GoogleVertexTools | enum GoogleVertexTools | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Enumeration | SwiftAISDK.GroqTools | enum GroqTools | Sources/SwiftAISDK/Models/GroqModels.swift |
| Enumeration | SwiftAISDK.HeyGenVideoAsset | enum HeyGenVideoAsset | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Enumeration | SwiftAISDK.HeyGenVideoModelOptions.Mode | enum Mode | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Enumeration | SwiftAISDK.HeyGenVideoModelOptions.PromptEnhancement | enum PromptEnhancement | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Enumeration | SwiftAISDK.HeyGenVideoModelOptions.Resolution | enum Resolution | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Enumeration | SwiftAISDK.MCPApps | enum MCPApps | Sources/SwiftAISDK/MCPApps.swift |
| Enumeration | SwiftAISDK.MCPAppToolMeta.Visibility | enum Visibility | Sources/SwiftAISDK/MCPApps.swift |
| Enumeration | SwiftAISDK.MCPElicitAction | enum MCPElicitAction | Sources/SwiftAISDK/MCPTypes.swift |
| Enumeration | SwiftAISDK.MCPEventDeliveryMode | enum MCPEventDeliveryMode | Sources/SwiftAISDK/MCPEventTypes.swift |
| Enumeration | SwiftAISDK.MCPEventLifetime | enum MCPEventLifetime | Sources/SwiftAISDK/MCPEventTypes.swift |
| Enumeration | SwiftAISDK.MCPEventsConfiguration | enum MCPEventsConfiguration | Sources/SwiftAISDK/MCPEventTypes.swift |
| Enumeration | SwiftAISDK.MCPEventSubscription.Status | enum Status | Sources/SwiftAISDK/MCPEventTypes.swift |
| Enumeration | SwiftAISDK.MCPEventSubscriptionReference | enum MCPEventSubscriptionReference | Sources/SwiftAISDK/MCPEventTypes.swift |
| Enumeration | SwiftAISDK.MCPEventTransportMetadata | enum MCPEventTransportMetadata | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Enumeration | SwiftAISDK.MCPManagedSubscribeInput.Lifetime | enum Lifetime | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Enumeration | SwiftAISDK.MCPManagedSubscription.CleanupStatus | enum CleanupStatus | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Enumeration | SwiftAISDK.MCPManagedSubscription.Status | enum Status | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Enumeration | SwiftAISDK.MCPOAuth | enum MCPOAuth | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Enumeration | SwiftAISDK.MCPOAuthApplicationType | enum MCPOAuthApplicationType | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | SwiftAISDK.MCPOAuthAuthResult | enum MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | SwiftAISDK.MCPOAuthClientAuthMethod | enum MCPOAuthClientAuthMethod | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Enumeration | SwiftAISDK.MCPOAuthCredentialScope | enum MCPOAuthCredentialScope | Sources/SwiftAISDK/MCPTypes.swift |
| Enumeration | SwiftAISDK.MCPStdioShell | enum MCPStdioShell | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Enumeration | SwiftAISDK.MiniMaxCacheControlOptions.CacheControl | enum CacheControl | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Enumeration | SwiftAISDK.MiniMaxImagePartOptions.Detail | enum Detail | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Enumeration | SwiftAISDK.MiniMaxLanguageModelOptions.Effort | enum Effort | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Enumeration | SwiftAISDK.MiniMaxLanguageModelOptions.Thinking | enum Thinking | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Enumeration | SwiftAISDK.MistralTools | enum MistralTools | Sources/SwiftAISDK/Models/MistralConversationTools.swift |
| Enumeration | SwiftAISDK.QuiverAIImageReference | enum QuiverAIImageReference | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Enumeration | SwiftAISDK.QuiverAITools | enum QuiverAITools | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Enumeration | SwiftAISDK.XAITools | enum XAITools | Sources/SwiftAISDK/Models/XAIModels.swift |
| Enumeration | SwiftAITransport.AIDuplexWebSocketEvent | enum AIDuplexWebSocketEvent | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Enumeration | SwiftAITransport.AIDuplexWebSocketMessage | enum AIDuplexWebSocketMessage | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Function | SwiftAI.addToolInputExamplesMiddleware(prefix:remove:format:) | func addToolInputExamplesMiddleware(prefix: String = "Input Examples:", remove: Bool = true, format: (@Sendable (AIToolInputExampleFormatContext) -> String)? = nil) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/ToolInputExamplesMiddleware.swift |
| Function | SwiftAI.createProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func createProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Function | SwiftAI.createProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func createProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Function | SwiftAI.createProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func createProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Function | SwiftAI.defaultEmbeddingSettingsMiddleware(settings:) | func defaultEmbeddingSettingsMiddleware(settings: AIDefaultEmbeddingModelSettings) -> AIEmbeddingModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Function | SwiftAI.defaultInstructionsMiddleware(instructions:) | func defaultInstructionsMiddleware(instructions: String) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Function | SwiftAI.defaultInstructionsMiddleware(instructions:) | func defaultInstructionsMiddleware(instructions: [AIMessage]) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Function | SwiftAI.defaultSettingsMiddleware(settings:) | func defaultSettingsMiddleware(settings: AIDefaultLanguageModelSettings) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Function | SwiftAI.executionDeniedResult(reason:) | func executionDeniedResult(reason: String?) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAI/AIToolExecution.swift |
| Function | SwiftAI.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Function | SwiftAI.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Function | SwiftAI.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Function | SwiftAI.experimentalToolCaller(_:definition:) | func experimentalToolCaller(_ tool: AITool, definition: AIToolCallerDefinition) -> AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Function | SwiftAI.extractJsonMiddleware(transform:) | func extractJsonMiddleware(transform: (@Sendable (String) -> String)? = nil) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Function | SwiftAI.extractJSONMiddleware(transform:) | func extractJSONMiddleware(transform: (@Sendable (String) -> String)? = nil) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Function | SwiftAI.extractReasoningMiddleware(delimiters:separator:startWithReasoning:) | func extractReasoningMiddleware(delimiters: AIReasoningDelimiters, separator: String = "\n", startWithReasoning: Bool = false) throws -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Function | SwiftAI.extractReasoningMiddleware(tagName:separator:startWithReasoning:) | func extractReasoningMiddleware(tagName: String, separator: String = "\n", startWithReasoning: Bool = false) -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Function | SwiftAI.fixJson(_:) | func fixJson(_ input: String) -> String | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Function | SwiftAI.parsePartialJSON(_:) | func parsePartialJSON(_ jsonText: String?) -> AIParsePartialJSONResult | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Function | SwiftAI.pruneMessages(_:reasoning:toolCalls:emptyMessages:) | func pruneMessages(_ messages: [AIMessage], reasoning: AIPruneReasoning = .none, toolCalls: [AIPruneToolCalls] = [], emptyMessages: AIPruneEmptyMessages = .remove) -> [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Function | SwiftAI.simulateStreamingMiddleware() | func simulateStreamingMiddleware() -> AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Function | SwiftAI.toolSearch(name:) | func toolSearch(name: String = "toolSearch") -> AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Function | SwiftAI.toolSearch(name:maxResults:search:) | func toolSearch(name: String = "toolSearch", maxResults: Int, search: AIToolSearchFunction? = nil) throws -> AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Function | SwiftAI.toolSearch(name:search:) | func toolSearch(name: String = "toolSearch", search: @escaping AIToolSearchFunction) -> AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Function | SwiftAI.toResponseMessages(content:toolsByName:) | func toResponseMessages(content: [AIContentPart], toolsByName: [String : AITool] = [:]) async throws -> [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/ResponseMessages.swift |
| Function | SwiftAI.wrapEmbeddingModel(_:middleware:modelID:providerID:) | func wrapEmbeddingModel(_ model: any EmbeddingModel, middleware: AIEmbeddingModelMiddleware, modelID: String? = nil, providerID: String? = nil) -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapEmbeddingModel(_:middleware:modelID:providerID:) | func wrapEmbeddingModel(_ model: any EmbeddingModel, middleware: [AIEmbeddingModelMiddleware], modelID: String? = nil, providerID: String? = nil) -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapImageModel(_:middleware:modelID:providerID:) | func wrapImageModel(_ model: any ImageModel, middleware: AIImageModelMiddleware, modelID: String? = nil, providerID: String? = nil) -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapImageModel(_:middleware:modelID:providerID:) | func wrapImageModel(_ model: any ImageModel, middleware: [AIImageModelMiddleware], modelID: String? = nil, providerID: String? = nil) -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapLanguageModel(_:middleware:modelID:providerID:) | func wrapLanguageModel(_ model: any LanguageModel, middleware: AILanguageModelMiddleware, modelID: String? = nil, providerID: String? = nil) -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapLanguageModel(_:middleware:modelID:providerID:) | func wrapLanguageModel(_ model: any LanguageModel, middleware: [AILanguageModelMiddleware], modelID: String? = nil, providerID: String? = nil) -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = [], embeddingModelMiddleware: [AIEmbeddingModelMiddleware] = []) -> any AIProvider | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: [AILanguageModelMiddleware], imageModelMiddleware: [AIImageModelMiddleware] = [], embeddingModelMiddleware: [AIEmbeddingModelMiddleware] = []) -> any AIProvider | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware, embeddingModelMiddleware: [AIEmbeddingModelMiddleware] = []) -> any AIProvider | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAI.wrapProvider(_:languageModelMiddleware:imageModelMiddleware:embeddingModelMiddleware:) | func wrapProvider(_ provider: any AIProvider, languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = [], embeddingModelMiddleware: AIEmbeddingModelMiddleware) -> any AIProvider | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareWrapping.swift |
| Function | SwiftAIAnthropic.amazonBedrockThinkingBindingBody(_:) | func amazonBedrockThinkingBindingBody(_ body: [String : JSONValue]) -> [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Function | SwiftAIAnthropic.anthropicCitationDocuments(from:) | func anthropicCitationDocuments(from messages: [AIMessage]) -> [AnthropicCitationDocument] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicContainerMetadata(from:) | func anthropicContainerMetadata(from value: JSONValue?) -> JSONValue? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicContextManagementMetadata(from:) | func anthropicContextManagementMetadata(from value: JSONValue?) -> JSONValue? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicFinishReason(_:) | func anthropicFinishReason(_ reason: String?) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicFinishReason(_:toolCallCount:) | func anthropicFinishReason(_ reason: String?, toolCallCount: Int) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicFinishReason(_:toolCalls:) | func anthropicFinishReason(_ reason: String?, toolCalls: [AIToolCall]) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicGeneratedContent(from:providerID:citationDocuments:usesJSONToolResponseFormat:toolNameMapping:markCodeExecutionDynamic:isBatchResult:) | func anthropicGeneratedContent(from value: JSONValue?, providerID: String, citationDocuments: [AnthropicCitationDocument], usesJSONToolResponseFormat: Bool = false, toolNameMapping: AIToolNameMapping = AIToolNameMapping(), markCodeExecutionDynamic: Bool = false, isBatchResult: Bool = false) -> AnthropicGeneratedContent | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicMergedUsage(_:_:) | func anthropicMergedUsage(_ existing: JSONValue, _ update: JSONValue) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicModelCapabilities(_:) | func anthropicModelCapabilities(_ modelID: String) -> AnthropicModelCapabilities | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Function | SwiftAIAnthropic.anthropicProviderMetadata(from:providerID:requestProviderOptions:) | func anthropicProviderMetadata(from raw: JSONValue, providerID: String, requestProviderOptions: [String : JSONValue] = [:]) -> [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicProviderMetadata(usage:stopSequence:stopDetails:container:contextManagement:inputTransformations:safeguardResults:providerID:requestProviderOptions:) | func anthropicProviderMetadata(usage: JSONValue?, stopSequence: JSONValue, stopDetails: JSONValue = .null, container: JSONValue, contextManagement: JSONValue, inputTransformations: JSONValue = .null, safeguardResults: JSONValue = .null, providerID: String, requestProviderOptions: [String : JSONValue] = [:]) -> [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicSanitizeJSONSchema(_:) | func anthropicSanitizeJSONSchema(_ schema: JSONValue) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Function | SwiftAIAnthropic.anthropicStopDetailsMetadata(from:) | func anthropicStopDetailsMetadata(from value: JSONValue?) -> JSONValue? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicStreamProviderError(from:) | func anthropicStreamProviderError(from raw: JSONValue) -> AIStreamProviderError? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicSupportedHTTPURL(_:) | func anthropicSupportedHTTPURL(_ value: String) -> Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Function | SwiftAIAnthropic.anthropicTokenUsage(from:) | func anthropicTokenUsage(from usage: JSONValue?) -> TokenUsage? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicToolChoice(from:disableParallelToolUse:) | func anthropicToolChoice(from value: JSONValue?, disableParallelToolUse: Bool?) -> (value: JSONValue?, omitTools: Bool) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicToolPreparation.swift |
| Function | SwiftAIAnthropic.anthropicValidateFallbackContent(_:providerID:) | func anthropicValidateFallbackContent(_ content: JSONValue?, providerID: String) throws | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIAnthropic.anthropicValidateFallbackEvent(_:providerID:) | func anthropicValidateFallbackEvent(_ raw: JSONValue, providerID: String) throws | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Function | SwiftAIOpenAI.isOpenAIBackedProvider(_:config:) | func isOpenAIBackedProvider(_ providerID: String, config: OpenAIModelConfiguration) -> Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Function | SwiftAIOpenAI.managedFileDelete(_:providerReferenceKey:providerID:config:) | func managedFileDelete(_ request: FileDeleteRequest, providerReferenceKey: String, providerID: String, config: OpenAIModelConfiguration) async throws -> FileDeleteResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileDownload(_:providerReferenceKey:providerID:config:) | func managedFileDownload(_ request: FileDownloadRequest, providerReferenceKey: String, providerID: String, config: OpenAIModelConfiguration) async throws -> FileDownloadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileMetadata(_:providerReferenceKey:providerID:config:) | func managedFileMetadata(_ request: FileMetadataRequest, providerReferenceKey: String, providerID: String, config: OpenAIModelConfiguration) async throws -> FileMetadataResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileProviderMetadata(from:) | func managedFileProviderMetadata(from raw: JSONValue) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.managedFileResponseID(_:providerID:) | func managedFileResponseID(_ raw: JSONValue, providerID: String) throws -> String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAI.normalizeOpenAIJSONSchema(_:) | func normalizeOpenAIJSONSchema(_ schema: JSONValue) throws -> (schema: JSONValue, warnings: [AIWarning]) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesTools.swift |
| Function | SwiftAIOpenAI.openAIBackedProviderRoot(_:config:) | func openAIBackedProviderRoot(_ providerID: String, config: OpenAIModelConfiguration) -> String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Function | SwiftAIOpenAI.openAIImageHasDefaultResponseFormat(_:) | func openAIImageHasDefaultResponseFormat(_ modelID: String) -> Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIOptions.swift |
| Function | SwiftAIOpenAI.openAIImageMaxImagesPerCall(_:) | func openAIImageMaxImagesPerCall(_ modelID: String) -> Int | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIOptions.swift |
| Function | SwiftAIOpenAI.openAIImageProviderMetadata(from:providerID:openAIBackedProviderRoot:) | func openAIImageProviderMetadata(from raw: JSONValue, providerID: String, openAIBackedProviderRoot: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIImageMetadata.swift |
| Function | SwiftAIOpenAI.openAIImageSupportsFileInputs(_:) | func openAIImageSupportsFileInputs(_ modelID: String) -> Bool? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIImageMetadata.swift |
| Function | SwiftAIOpenAI.openAILanguageModelCapabilities(_:) | func openAILanguageModelCapabilities(_ modelID: String) -> OpenAILanguageModelCapabilities | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Function | SwiftAIOpenAI.openAIProviderStreamError(from:) | func openAIProviderStreamError(from frame: JSONValue) -> AIStreamProviderError? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIStreamErrors.swift |
| Function | SwiftAIOpenAI.openAIResponsesJSONString(_:) | func openAIResponsesJSONString(_ value: JSONValue) -> String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesParsing.swift |
| Function | SwiftAIOpenAI.sendMultipartFileUpload(form:config:headers:abortSignal:) | func sendMultipartFileUpload(form: MultipartFormData, config: OpenAIModelConfiguration, headers requestHeaders: [String : String], abortSignal: AIAbortSignal?) async throws -> AIHTTPResponse | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Function | SwiftAIOpenAICompatible.isOpenAIBackedProvider(_:) | func isOpenAIBackedProvider(_ providerID: String) -> Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.isOpenAIBackedProvider(_:config:) | func isOpenAIBackedProvider(_ providerID: String, config: OpenAICompatibleModelConfiguration) -> Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Function | SwiftAIOpenAICompatible.openAIBackedProviderRoot(_:) | func openAIBackedProviderRoot(_ providerID: String) -> String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAIBackedProviderRoot(_:config:) | func openAIBackedProviderRoot(_ providerID: String, config: OpenAICompatibleModelConfiguration) -> String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleChatTools(from:normalizeSchema:warnings:) | func openAICompatibleChatTools(from tools: [String : JSONValue], normalizeSchema: (@Sendable (JSONValue) throws -> (schema: JSONValue, warnings: [AIWarning]))? = nil, warnings: inout [AIWarning]) throws -> [JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleFinishReason(_:) | func openAICompatibleFinishReason(_ reason: String?) -> String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleHTTPStatusError(provider:response:) | func openAICompatibleHTTPStatusError(provider: String, response: AIHTTPResponse) -> AIError | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleMergeProviderMetadata(_:into:) | func openAICompatibleMergeProviderMetadata(_ source: [String : JSONValue], into target: inout [String : JSONValue]) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleNamespacedProviderMetadata(_:providerID:namespace:) | func openAICompatibleNamespacedProviderMetadata(_ metadata: [String : JSONValue], providerID: String, namespace: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderMetadataNamespace(_:providerOptions:) | func openAICompatibleProviderMetadataNamespace(_ providerID: String, providerOptions: [String : JSONValue]? = nil) -> String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderOptions(from:providerID:includeCompatibilityNamespace:) | func openAICompatibleProviderOptions(from extraBody: [String : JSONValue], providerID: String, includeCompatibilityNamespace: Bool) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderOptions(providerOptions:extraBody:providerID:includeCompatibilityNamespace:) | func openAICompatibleProviderOptions(providerOptions: [String : JSONValue], extraBody: [String : JSONValue], providerID: String, includeCompatibilityNamespace: Bool) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderOptionWarnings(from:providerID:includeCompatibilityNamespace:) | func openAICompatibleProviderOptionWarnings(from extraBody: [String : JSONValue], providerID: String, includeCompatibilityNamespace: Bool) -> [AIWarning] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderOptionWarnings(providerOptions:extraBody:providerID:includeCompatibilityNamespace:) | func openAICompatibleProviderOptionWarnings(providerOptions: [String : JSONValue], extraBody: [String : JSONValue], providerID: String, includeCompatibilityNamespace: Bool) -> [AIWarning] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleProviderRoot(_:) | func openAICompatibleProviderRoot(_ providerID: String) -> String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAICompatibleResponseMetadata(from:response:modelID:suppressZeroCreatedTimestamp:) | func openAICompatibleResponseMetadata(from raw: JSONValue? = nil, response: AIHTTPResponse, modelID: String? = nil, suppressZeroCreatedTimestamp: Bool = false) -> AIResponseMetadata | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMetadata.swift |
| Function | SwiftAIOpenAICompatible.openAIProviderOptionNamespaceKeys(providerID:providerRoot:) | func openAIProviderOptionNamespaceKeys(providerID: String, providerRoot: String?) -> [String] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAIProviderOptions(from:providerID:providerRoot:) | func openAIProviderOptions(from extraBody: [String : JSONValue], providerID: String = "openai", providerRoot: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAIProviderOptions(providerOptions:extraBody:providerID:providerRoot:) | func openAIProviderOptions(providerOptions: [String : JSONValue], extraBody: [String : JSONValue], providerID: String = "openai", providerRoot: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAIResponsesMoveKey(_:to:in:) | func openAIResponsesMoveKey(_ source: String, to destination: String, in values: inout [String : JSONValue]) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/WireKeyMapping.swift |
| Function | SwiftAIOpenAICompatible.openAIResponsesProviderOptions(from:providerID:providerRoot:) | func openAIResponsesProviderOptions(from extraBody: [String : JSONValue], providerID: String, providerRoot: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIOpenAICompatible.openAIResponsesProviderOptions(providerOptions:extraBody:providerID:providerRoot:) | func openAIResponsesProviderOptions(providerOptions: [String : JSONValue], extraBody: [String : JSONValue], providerID: String, providerRoot: String? = nil) -> [String : JSONValue] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProviderOptions.swift |
| Function | SwiftAIProvider.checkedBatchSafeIntegerSum(_:) | func checkedBatchSafeIntegerSum(_ values: [Int]) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Function | SwiftAIProvider.convertImageModelFileToDataURI(_:) | func convertImageModelFileToDataURI(_ file: ImageInputFile) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Function | SwiftAIProvider.decisionJSONText(_:) | func decisionJSONText(_ value: JSONValue) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionJSON.swift |
| Function | SwiftAIProvider.delay(_:abortSignal:) | func delay(_ delayInMilliseconds: Int? = nil, abortSignal: AIAbortSignal? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.evaluationResult(from:providerID:modelID:) | func evaluationResult(from result: AIDecisionModelV4Result, providerID: String, modelID: String) throws -> AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Function | SwiftAIProvider.getErrorMessage(_:) | func getErrorMessage(_ value: Any?) -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Function | SwiftAIProvider.isFiniteJSON(_:) | func isFiniteJSON(_ value: JSONValue) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Function | SwiftAIProvider.isProviderReference(_:) | func isProviderReference(_ reference: AIProviderReference) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Function | SwiftAIProvider.isProviderReference(_:) | func isProviderReference(_ value: JSONValue) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Function | SwiftAIProvider.isURLSupported(mediaType:url:supportedURLs:) | func isURLSupported(mediaType: String, url: String, supportedURLs: [String : [AISupportedURLPattern]]) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Function | SwiftAIProvider.mergeAbortSignals(_:) | @discardableResult func mergeAbortSignals(_ signals: AIAbortSignal?...) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.mergeAbortSignals(_:) | @discardableResult func mergeAbortSignals(_ signals: [AIAbortSignal?]) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.mergeAbortSignals(sources:) | @discardableResult func mergeAbortSignals(sources: AIAbortSource?...) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.mergeAbortSignals(sources:) | @discardableResult func mergeAbortSignals(sources: [AIAbortSource?]) -> AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.normalizedBatchJSONInteger(_:) | func normalizedBatchJSONInteger(_ value: JSONValue?) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Function | SwiftAIProvider.normalizedBatchRequestCounts(total:pending:completed:failed:) | func normalizedBatchRequestCounts(total: Int?, pending: Int?, completed: Int?, failed: Int?) -> AIBatchRequestCounts? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Function | SwiftAIProvider.prepareRetries(maxRetries:) | func prepareRetries(maxRetries: Int? = nil) throws -> AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Function | SwiftAIProvider.resolveProviderReference(_:provider:) | func resolveProviderReference(_ reference: AIProviderReference, provider: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Function | SwiftAIProvider.resolveProviderReference(reference:provider:) | func resolveProviderReference(reference: AIProviderReference, provider: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Function | SwiftAIProvider.resultSources(from:) | func resultSources(from content: [AIResultContentPart]) -> [AISource] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Function | SwiftAIProvider.resultToolCalls(from:) | func resultToolCalls(from content: [AIResultContentPart]) -> [AIToolCall] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Function | SwiftAIProvider.resultToolResults(from:) | func resultToolResults(from content: [AIResultContentPart]) -> [AIToolResult] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Function | SwiftAIProvider.secureJSONParse(_:) | func secureJSONParse(_ text: String) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Function | SwiftAIProvider.setAbortTimeout(abortController:label:timeoutMilliseconds:) | @discardableResult func setAbortTimeout(abortController: AIAbortController?, label: String, timeoutMilliseconds: Int?) -> Task<Void, Never>? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.sleepWithAbortSignal(nanoseconds:abortSignal:) | func sleepWithAbortSignal(nanoseconds: UInt64, abortSignal: AIAbortSignal?) async throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Function | SwiftAIProvider.validateDecisionModelVersion(_:) | func validateDecisionModelVersion(_ model: any AIDecisionModelV4) throws -> any AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Function | SwiftAIProvider.validateEvaluationInput(state:questions:decision:) | func validateEvaluationInput(state: JSONValue, questions: [String : AIEvaluationQuestion], decision: Bool = false) throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Function | SwiftAIProvider.validateEvaluationModelVersion(_:) | func validateEvaluationModelVersion(_ model: any AIEvaluationModelV4) throws -> any AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Function | SwiftAIProviderUtilities.addAdditionalPropertiesToJSONSchema(_:) | func addAdditionalPropertiesToJSONSchema(_ schema: JSONValue) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONSchemaValidator.swift |
| Function | SwiftAIProviderUtilities.aiBatchResultLineLimit(_:) | func aiBatchResultLineLimit(_ maxLineBytes: Int?) throws -> Int | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/BatchResultLines.swift |
| Function | SwiftAIProviderUtilities.aiForEachBatchResultLine(_:url:maxLineBytes:abortSignal:cancelBody:consume:) | func aiForEachBatchResultLine(_ body: AsyncThrowingStream<Data, any Error>, url: String, maxLineBytes: Int, abortSignal: AIAbortSignal?, cancelBody: @Sendable () -> Void = {}, consume: (Data) throws -> Void) async throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/BatchResultLines.swift |
| Function | SwiftAIProviderUtilities.aiRequestMetadata(body:headers:) | func aiRequestMetadata(body: JSONValue?, headers: [String : String]) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAIProviderUtilities.aiResponseMetadata(from:response:modelID:) | func aiResponseMetadata(from raw: JSONValue? = nil, response: AIHTTPResponse, modelID: String? = nil) -> AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAIProviderUtilities.aiWarningJSON(_:) | func aiWarningJSON(_ warning: AIWarning) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningSerialization.swift |
| Function | SwiftAIProviderUtilities.asArray(_:) | func asArray<Value>(_ value: Value?) -> [Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.asArray(_:) | func asArray<Value>(_ value: [Value]?) -> [Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.calculateTokensPerSecond(tokens:durationMilliseconds:) | func calculateTokensPerSecond(tokens: Double?, durationMilliseconds: Double?) -> Double | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.canonicalJSONText(_:) | func canonicalJSONText(_ value: JSONValue) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONInstructions.swift |
| Function | SwiftAIProviderUtilities.cosineSimilarity(_:_:) | func cosineSimilarity(_ vector1: [Double], _ vector2: [Double]) throws -> Double | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.cosineSimilarity(_:_:) | func cosineSimilarity(_ vector1: [Float], _ vector2: [Float]) throws -> Double | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createAsyncIterableStream(_:) | func createAsyncIterableStream<Element>(_ source: AsyncThrowingStream<Element, any Error>) -> AsyncThrowingStream<Element, any Error> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createIdGenerator(prefix:separator:size:alphabet:) | func createIdGenerator(prefix: String? = nil, separator: String = "-", size: Int = 16, alphabet: String = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") -> AIIdGenerator | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createStitchableStream() | func createStitchableStream<Element>() -> AIStitchableStream<Element> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.createToolNameMapping(tools:providerToolNames:) | func createToolNameMapping(tools: [String : JSONValue]? = nil, providerToolNames: [String : String]) -> AIToolNameMapping | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.decisionStatePartJSON(_:) | func decisionStatePartJSON(_ part: AIDecisionStatePart) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionSerialization.swift |
| Function | SwiftAIProviderUtilities.detectMediaType(base64:topLevelType:) | func detectMediaType(base64: String, topLevelType: String? = nil) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.detectMediaType(data:topLevelType:) | func detectMediaType(data: Data, topLevelType: String? = nil) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.extractLines(text:startLine:endLine:) | func extractLines(text: String, startLine: Int? = nil, endLine: Int? = nil) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.fileDate(_:) | func fileDate(_ value: JSONValue?) -> Date? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileInteger(_:) | func fileInteger(_ value: JSONValue?) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileMetadata(from:) | func fileMetadata(from raw: JSONValue) -> [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileProviderMetadata(from:) | func fileProviderMetadata(from raw: JSONValue) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.fileUploadMetadata(_:defaultFilename:) | func fileUploadMetadata(_ request: FileUploadRequest, defaultFilename: String) -> [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.filterNullable(_:) | func filterNullable<Value>(_ values: Value?...) -> [Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.generateId() | func generateId() -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.getPotentialStartIndex(_:_:) | func getPotentialStartIndex(_ text: String, _ searchedText: String) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.imageGenerationRequestMetadata(_:body:) | func imageGenerationRequestMetadata(_ request: ImageGenerationRequest, body: JSONValue? = nil) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAIProviderUtilities.injectJSONInstruction(into:schema:instruction:) | func injectJSONInstruction(into messages: [AIMessage], schema: JSONValue?, instruction: AIJSONInstruction) -> [AIMessage] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONInstructions.swift |
| Function | SwiftAIProviderUtilities.isCustomReasoning(_:) | func isCustomReasoning(_ reasoning: String?) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.isDeepEqualData(_:_:) | func isDeepEqualData(_ lhs: JSONValue, _ rhs: JSONValue) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.isFullMediaType(_:) | func isFullMediaType(_ mediaType: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.isJSONSerializable(_:) | func isJSONSerializable(_ value: Any?) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.isParsableJSON(_:) | func isParsableJSON(_ input: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.isVideoInputFile(_:) | func isVideoInputFile(_ file: ImageInputFile) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.mapReasoningToProviderBudget(reasoning:maxOutputTokens:maxReasoningBudget:minReasoningBudget:budgetPercentages:warnings:) | func mapReasoningToProviderBudget(reasoning: String, maxOutputTokens: Int, maxReasoningBudget: Int, minReasoningBudget: Int = 1024, budgetPercentages: [String : Double] = [ "minimal": 0.02, "low": 0.1, "medium": 0.3, "high": 0.6, "xhigh": 0.9, "max": 0.95 ], warnings: inout [AIWarning]) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mapReasoningToProviderEffort(reasoning:effortMap:warnings:) | func mapReasoningToProviderEffort(reasoning: String, effortMap: [String : String], warnings: inout [AIWarning]) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mediaTypeToExtension(_:) | func mediaTypeToExtension(_ mediaType: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.mergeCallbacks(_:) | func mergeCallbacks<Event>(_ callbacks: [AICallback<Event>?]) -> AICallback<Event> where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mergeCallbacks(_:) | func mergeCallbacks<Event>(_ callbacks: AICallback<Event>?...) -> AICallback<Event> where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.mergeObjects(_:_:) | func mergeObjects(_ target: [String : JSONValue]?, _ source: [String : JSONValue]?) -> [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.multipartFileProviderOptions(_:providerOptionsName:) | func multipartFileProviderOptions(_ providerOptions: [String : JSONValue], providerOptionsName: String?) throws -> MultipartFileProviderOptions | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.multipartFileUploadRequestMetadata(_:includePurpose:defaultFilename:options:) | func multipartFileUploadRequestMetadata(_ request: FileUploadRequest, includePurpose: Bool, defaultFilename: String, options: MultipartFileProviderOptions) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.multipartFileUploadWarnings(_:includePurpose:) | func multipartFileUploadWarnings(_ request: FileUploadRequest, includePurpose: Bool) -> [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.notify(event:) | func notify<Event>(event: Event) async where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.notify(event:callback:) | func notify<Event>(event: Event, callback: AICallback<Event>?) async where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.notify(event:callbacks:) | func notify<Event>(event: Event, callbacks: [AICallback<Event>?]) async where Event : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.parseJSON(_:schema:) | func parseJSON(_ text: String, schema: JSONValue? = nil) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.removeNilEntries(_:) | func removeNilEntries<Value>(_ input: [String : Value?]) -> [String : Value] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.resolvedToolCallID(_:whenMissing:) | func resolvedToolCallID(_ value: String?, whenMissing fallback: @autoclosure () -> String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.resolveFullMediaType(mediaType:data:) | func resolveFullMediaType(mediaType: String, data: Data) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.safeParseJSON(_:schema:) | func safeParseJSON(_ text: String, schema: JSONValue? = nil) -> AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Function | SwiftAIProviderUtilities.simulateReadableStream(chunks:initialDelayNanoseconds:chunkDelayNanoseconds:delay:) | func simulateReadableStream<Element>(chunks: [Element], initialDelayNanoseconds: UInt64? = 0, chunkDelayNanoseconds: UInt64? = 0, delay: (@Sendable (UInt64?) async throws -> Void)? = nil) -> AsyncThrowingStream<Element, any Error> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.skillUploadRequestMetadata(_:includeDisplayTitle:) | func skillUploadRequestMetadata(_ request: SkillUploadRequest, includeDisplayTitle: Bool) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SkillUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.smoothStream(_:delayNanoseconds:chunking:) | func smoothStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>, delayNanoseconds: UInt64? = 10_000_000, chunking: AISmoothStreamChunking = .word) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.smoothStream(_:delayNanoseconds:detectChunk:) | func smoothStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>, delayNanoseconds: UInt64? = 10_000_000, detectChunk: @escaping AISmoothStreamChunkDetector) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.splitArray(_:chunkSize:) | func splitArray<Element>(_ array: [Element], chunkSize: Int) throws -> [[Element]] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.standardTranscriptionSegments(from:) | func standardTranscriptionSegments(from raw: JSONValue) -> [TranscriptionSegment] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/TranscriptionParsing.swift |
| Function | SwiftAIProviderUtilities.stripFileExtension(_:) | func stripFileExtension(_ filename: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.sumTokenCounts(_:_:) | func sumTokenCounts(_ lhs: Int?, _ rhs: Int?) -> Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.tokenUsage(from:) | func tokenUsage(from raw: JSONValue) -> TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/UsageParsing.swift |
| Function | SwiftAIProviderUtilities.topLevelMediaType(_:) | func topLevelMediaType(_ mediaType: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/MediaType.swift |
| Function | SwiftAIProviderUtilities.toTextStream(_:) | func toTextStream(_ stream: AsyncThrowingStream<LanguageStreamPart, any Error>) -> AsyncThrowingStream<String, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Function | SwiftAIProviderUtilities.transcriptionDuration(from:) | func transcriptionDuration(from segments: [TranscriptionSegment]) -> Double? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/TranscriptionParsing.swift |
| Function | SwiftAIProviderUtilities.transcriptionSegments(from:textKey:startKey:endKey:) | func transcriptionSegments(from items: JSONValue?, textKey: String = "text", startKey: String = "start", endKey: String = "end") -> [TranscriptionSegment] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/TranscriptionParsing.swift |
| Function | SwiftAIProviderUtilities.unsupportedStreamingFileUpload(providerID:) | func unsupportedStreamingFileUpload(providerID: String) -> AIError | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Function | SwiftAIProviderUtilities.validateDecisionInput(state:questions:) | func validateDecisionInput(state: AIDecisionState, questions: [String : AIDecisionQuestion]) throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionValidation.swift |
| Function | SwiftAIProviderUtilities.videoGenerationRequestMetadata(_:body:) | func videoGenerationRequestMetadata(_ request: VideoGenerationRequest, body: JSONValue? = nil) -> AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/ResponseMetadata.swift |
| Function | SwiftAISDK.convertToModelMessage(_:) | func convertToModelMessage(_ message: AIUIMessage) throws -> AIMessage | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | SwiftAISDK.convertToModelMessages(_:) | func convertToModelMessages(_ messages: [AIUIMessage]) throws -> [AIMessage] | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | SwiftAISDK.convertToModelMessages(_:ignoreIncompleteToolCalls:) | func convertToModelMessages(_ messages: [AIUIMessage], ignoreIncompleteToolCalls: Bool) throws -> [AIMessage] | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | SwiftAISDK.convertToModelMessages(_:ignoreIncompleteToolCalls:convertDataPart:) | func convertToModelMessages(_ messages: [AIUIMessage], ignoreIncompleteToolCalls: Bool = false, convertDataPart: AIUIDataPartConverter?) throws -> [AIMessage] | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | SwiftAISDK.convertToModelMessages(_:tools:ignoreIncompleteToolCalls:convertDataPart:) | func convertToModelMessages(_ messages: [AIUIMessage], tools: [String : AITool], ignoreIncompleteToolCalls: Bool = false, convertDataPart: AIUIDataPartConverter? = nil) async throws -> [AIMessage] | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Function | SwiftAISDK.createAgentUIStream(agent:uiMessages:options:messageID:) | func createAgentUIStream(agent: any AIAgent, uiMessages: [AIUIMessage], options: AIAgentCallOptions = AIAgentCallOptions(), messageID: String = UUID().uuidString) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Function | SwiftAISDK.createAgentUIStream(agent:uiMessages:options:messageID:convertDataPart:) | func createAgentUIStream(agent: any AIAgent, uiMessages: [AIUIMessage], options: AIAgentCallOptions = AIAgentCallOptions(), messageID: String = UUID().uuidString, convertDataPart: AIUIDataPartConverter?) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIAgent.swift |
| Function | SwiftAISDK.createFishAudio(settings:) | func createFishAudio(settings: ProviderSettings = ProviderSettings()) throws -> FishAudioProvider | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Function | SwiftAISDK.createGMICloud(settings:) | func createGMICloud(settings: ProviderSettings = ProviderSettings()) throws -> GMICloudProvider | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Function | SwiftAISDK.createMCPEventSecret() | func createMCPEventSecret() -> String | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Function | SwiftAISDK.createTypeSafeAi(settings:) | func createTypeSafeAi(settings: ProviderSettings = ProviderSettings()) -> TypeSafeAIProvider | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Function | SwiftAISDK.createTypeSafeAI(settings:) | func createTypeSafeAI(settings: ProviderSettings = ProviderSettings()) -> TypeSafeAIProvider | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Function | SwiftAISDK.createZai(settings:) | func createZai(settings: ZAIProviderSettings = ZAIProviderSettings()) -> ZAIProvider | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Function | SwiftAISDK.createZAI(settings:) | func createZAI(settings: ZAIProviderSettings = ZAIProviderSettings()) -> ZAIProvider | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Function | SwiftAISDK.customProvider(providerID:languageModels:decisionModels:fallbackProvider:) | func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], decisionModels: [String : AIDecisionModelReference], fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Providers/CustomProviderFactories.swift |
| Function | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Providers/CustomProviderFactories.swift |
| Function | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Providers/CustomProviderFactories.swift |
| Function | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Providers/CustomProviderFactories.swift |
| Function | SwiftAISDK.decodeMCPEventSecret(_:) | func decodeMCPEventSecret(_ secret: String) throws -> Data | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Function | SwiftAISDK.isToolOutputErrorUIPart(_:) | func isToolOutputErrorUIPart(_ part: AIUIMessagePart) -> Bool | Sources/SwiftAISDK/CoreUIMessages.swift |
| Function | SwiftAISDK.prepareQuiverAIImageReference(_:) | func prepareQuiverAIImageReference(_ input: URL) throws -> QuiverAIImageReference | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Function | SwiftAISDK.prepareQuiverAIImageReference(_:) | func prepareQuiverAIImageReference(_ input: Data) throws -> QuiverAIImageReference | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Function | SwiftAISDK.prepareQuiverAIImageReference(_:) | func prepareQuiverAIImageReference(_ input: String) throws -> QuiverAIImageReference | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Function | SwiftAISDK.safeValidateUIMessages(_:) | func safeValidateUIMessages(_ messages: [AIUIMessage]) -> AIUIMessageValidationResult | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.safeValidateUIMessages(_:toolSchemas:) | func safeValidateUIMessages(_ messages: [AIUIMessage], toolSchemas: [String : AIUIMessageToolSchema]) -> AIUIMessageValidationResult | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.safeValidateUIMessages(_:toolSchemas:refineToolInput:) | func safeValidateUIMessages(_ messages: [AIUIMessage], toolSchemas: [String : AIUIMessageToolSchema], refineToolInput: [String : AIUIMessageToolInputRefiner]) async -> AIUIMessageValidationResult | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.toolOutputErrorUIPart(_:) | func toolOutputErrorUIPart(_ part: AIUIMessagePart) -> AIUIToolOutputErrorPart? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Function | SwiftAISDK.validateUIMessages(_:) | @discardableResult func validateUIMessages(_ messages: [AIUIMessage]) throws -> [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.validateUIMessages(_:toolSchemas:) | @discardableResult func validateUIMessages(_ messages: [AIUIMessage], toolSchemas: [String : AIUIMessageToolSchema]) throws -> [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.validateUIMessages(_:toolSchemas:refineToolInput:) | @discardableResult func validateUIMessages(_ messages: [AIUIMessage], toolSchemas: [String : AIUIMessageToolSchema], refineToolInput: [String : AIUIMessageToolInputRefiner]) async throws -> [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.validateUIMessagesForAgent(_:toolSchemas:) | @discardableResult func validateUIMessagesForAgent(_ messages: [AIUIMessage], toolSchemas: [String : AIUIMessageToolSchema] = [:]) throws -> [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.validateUIMessagesForAgent(_:toolSchemas:refineToolInput:) | @discardableResult func validateUIMessagesForAgent(_ messages: [AIUIMessage], toolSchemas: [String : AIUIMessageToolSchema] = [:], refineToolInput: [String : AIUIMessageToolInputRefiner]) async throws -> [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Function | SwiftAISDK.verifyMCPEventSignature(headers:body:secret:now:) | func verifyMCPEventSignature(headers: [String : String], body: Data, secret: String, now: Date = Date()) throws -> Bool | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Function | SwiftAITransport.apiCallError(provider:response:) | func apiCallError(provider: String, response: AIHTTPResponse) -> AIError | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.apiCallError(provider:statusCode:body:headers:) | func apiCallError(provider: String, statusCode: Int, body: String, headers: [String : String] = [:]) -> AIError | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.bufferedHTTPResponse(from:request:) | func bufferedHTTPResponse(from response: AIHTTPStreamResponse, request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Function | SwiftAITransport.combineHeaders(_:) | func combineHeaders(_ headers: [String : String]...) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.decodeJSONBody(_:) | func decodeJSONBody(_ data: Data) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.deleteFromAPI(url:transport:headers:abortSignal:) | func deleteFromAPI(url: URL, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> (request: AIHTTPRequest, response: AIHTTPResponse) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.downloadURL(_:transport:headers:abortSignal:maxBytes:trustedOrigin:credentialedOrigin:) | func downloadURL(_ string: String, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, maxBytes: Int = AIDefaultMaxDownloadSize, trustedOrigin: String? = nil, credentialedOrigin: String? = nil) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.encodeJSONBody(_:) | func encodeJSONBody(_ value: JSONValue) throws -> Data | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.encodePathSegment(_:) | func encodePathSegment(_ value: String) -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.environmentValue(_:) | func environmentValue(_ names: [String]) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.fetchUntrustedURL(_:transport:headers:abortSignal:maxBytes:trustedOrigin:credentialedOrigin:untrustedFirstHopHeaders:) | func fetchUntrustedURL(_ string: String, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, maxBytes: Int = AIDefaultMaxDownloadSize, trustedOrigin: String? = nil, credentialedOrigin: String? = nil, untrustedFirstHopHeaders: [String] = []) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getBinaryStreamFromAPI(url:transport:providerID:headers:abortSignal:trustedOrigin:credentialedOrigin:) | func getBinaryStreamFromAPI(url: URL, transport: any AITransport, providerID: String, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, trustedOrigin: String? = nil, credentialedOrigin: String? = nil) async throws -> (request: AIHTTPRequest, response: AIHTTPStreamResponse) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getFromAPI(url:transport:headers:abortSignal:) | func getFromAPI(url: URL, transport: any AITransport, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> (request: AIHTTPRequest, response: AIHTTPResponse) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getTextFromDataUrl(_:) | func getTextFromDataUrl(_ string: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.getTextFromDataURL(_:) | func getTextFromDataURL(_ string: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.httpResponseHead(from:request:) | func httpResponseHead(from response: AIHTTPStreamResponse, request: AIHTTPRequest) -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Function | SwiftAITransport.isSameOrigin(_:_:) | func isSameOrigin(_ lhs: String, _ rhs: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.isValidHostnamePart(_:) | func isValidHostnamePart(_ value: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HostnameValidation.swift |
| Function | SwiftAITransport.jsonScalarString(_:) | func jsonScalarString(_ value: JSONValue) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Function | SwiftAITransport.normalizeHeaderEntries(_:) | func normalizeHeaderEntries(_ entries: [(String, String?)]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.normalizeHeaders(_:) | func normalizeHeaders(_ headers: [String : String?]?) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.normalizeHeaders(_:) | func normalizeHeaders(_ headers: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.parseServerSentEvents(_:) | func parseServerSentEvents(_ data: Data) -> [ServerSentEvent] | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Function | SwiftAITransport.prepareHeaders(_:defaultHeaders:) | func prepareHeaders(_ headers: [String : String?]?, defaultHeaders: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.prepareHeaders(_:defaultHeaders:) | func prepareHeaders(_ headers: [String : String], defaultHeaders: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.providerURL(_:queryParams:) | func providerURL(_ string: String, queryParams: [String : String]) throws -> URL | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderURL.swift |
| Function | SwiftAITransport.raceAbortSignal(_:operation:) | func raceAbortSignal<Output>(_ abortSignal: AIAbortSignal, operation: @escaping @Sendable () async throws -> Output) async throws -> Output where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.readResponseWithSizeLimit(response:url:maxBytes:) | func readResponseWithSizeLimit(response: AIHTTPStreamResponse, url: String, maxBytes: Int = AIDefaultMaxDownloadSize) async throws -> Data | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.requireStreamingTransport(_:providerID:) | func requireStreamingTransport(_ transport: any AITransport, providerID: String) throws -> any AIStreamingTransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.requireURL(_:) | func requireURL(_ string: String) throws -> URL | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.serverSentEvents(from:) | func serverSentEvents(from body: AsyncThrowingStream<Data, any Error>) -> IncrementalServerSentEventSequence | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Function | SwiftAITransport.streamDownloadURL(_:transport:headers:credentialedOrigin:trustedOrigin:abortSignal:maxBytes:) | func streamDownloadURL(_ string: String, transport: any AIStreamingTransport, headers: [String : String] = [:], credentialedOrigin: String? = nil, trustedOrigin: String? = nil, abortSignal: AIAbortSignal? = nil, maxBytes: Int = AIDefaultMaxDownloadSize) async throws -> (response: AIHTTPStreamResponse, request: AIHTTPRequest) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.userAgent(_:) | func userAgent(_ providerID: String) -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.validateDownloadURL(_:) | func validateDownloadURL(_ string: String) throws -> URL | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.validateHostnamePart(_:argument:) | func validateHostnamePart(_ value: String, argument: String) throws | Packages/swift-ai-core/Sources/SwiftAITransport/HostnameValidation.swift |
| Function | SwiftAITransport.withoutTrailingSlash(_:) | func withoutTrailingSlash(_ value: String) -> String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.withUserAgentSuffix(_:_:) | func withUserAgentSuffix(_ headers: [String : String?]? = nil, _ userAgentSuffixParts: String...) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Function | SwiftAITransport.withUserAgentSuffix(_:_:) | func withUserAgentSuffix(_ headers: [String : String], _ userAgentSuffixParts: String...) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Global Variable | SwiftAI.AIDirectToolCallerName | let AIDirectToolCallerName: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Global Variable | SwiftAIProvider.aiBatchMaximumSafeInteger | let aiBatchMaximumSafeInteger: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Global Variable | SwiftAISDK.fishAudioProviderVersion | let fishAudioProviderVersion: String | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Global Variable | SwiftAISDK.gmiCloudProviderVersion | let gmiCloudProviderVersion: String | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Global Variable | SwiftAISDK.MCPEventCallbackKey | let MCPEventCallbackKey: String | Sources/SwiftAISDK/MCPEvents.swift |
| Global Variable | SwiftAISDK.typeSafeAi | let typeSafeAi: TypeSafeAIProvider | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Global Variable | SwiftAISDK.typeSafeAI | let typeSafeAI: TypeSafeAIProvider | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Global Variable | SwiftAISDK.typeSafeAIProviderVersion | let typeSafeAIProviderVersion: String | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Global Variable | SwiftAISDK.zai | let zai: ZAIProvider | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Global Variable | SwiftAISDK.zaiProviderVersion | let zaiProviderVersion: String | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Global Variable | SwiftAITransport.AIDefaultMaxDownloadSize | let AIDefaultMaxDownloadSize: Int | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAI.init(_:) | init(_ evaluate: @escaping @Sendable (AIStopConditionContext) async throws -> Bool) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(_:) | init(_ rawValue: String) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(_:name:description:as:) | init(_ jsonSchema: JSONValue, name: String? = nil, description: String? = nil, as type: Output.Type = Output.self) | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Initializer | SwiftAI.init(_:toolContexts:maxSteps:stopWhen:prepareStep:approval:choice:) | init(_ executableTools: [AITool], toolContexts: [String : JSONValue] = [:], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, approval: AIToolApproval? = nil, choice: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(callID:object:text:rawObject:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(callID: String, object: Output, text: String, rawObject: JSONValue, reasoning: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(callID:operationID:providerID:modelID:execute:) | init(callID: String, operationID: String, providerID: String, modelID: String? = nil, execute: @escaping @Sendable () async throws -> Output) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Initializer | SwiftAI.init(callID:operationID:providerID:modelID:outputKind:request:schema:schemaName:schemaDescription:maxRetries:) | init(callID: String, operationID: String, providerID: String, modelID: String?, outputKind: String, request: LanguageModelRequest, schema: JSONValue?, schemaName: String?, schemaDescription: String?, maxRetries: Int) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(callID:operationID:providerID:modelID:state:questions:) | init(callID: String, operationID: String = "ai.decide.doDecide", providerID: String, modelID: String, state: [AIDecisionStatePart], questions: [String : AIDecisionQuestion]) | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Initializer | SwiftAI.init(callID:operationID:providerID:modelID:state:questions:) | init(callID: String, operationID: String = "ai.evaluate.doEvaluate", providerID: String, modelID: String, state: JSONValue, questions: [String : AIEvaluationQuestion]) | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Initializer | SwiftAI.init(callID:operationID:providerID:modelID:state:questions:answers:usage:warnings:rounding:providerMetadata:response:) | init(callID: String, operationID: String = "ai.decide.doDecide", providerID: String, modelID: String, state: [AIDecisionStatePart], questions: [String : AIDecisionQuestion], answers: [String : AIDecisionAnswer], usage: AIDecisionModelUsage?, warnings: [AIWarning], rounding: AIDecisionRounding?, providerMetadata: [String : JSONValue], response: AIResponseMetadata?) | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Initializer | SwiftAI.init(callID:operationID:providerID:modelID:state:questions:answers:usage:warnings:rounding:providerMetadata:response:) | init(callID: String, operationID: String = "ai.evaluate.doEvaluate", providerID: String, modelID: String, state: JSONValue, questions: [String : AIEvaluationQuestion], answers: [String : AIEvaluationAnswer], usage: AIEvaluationModelUsage?, warnings: [AIWarning], rounding: AIEvaluationRounding?, providerMetadata: [String : JSONValue], response: AIResponseMetadata?) | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Initializer | SwiftAI.init(callID:providerID:modelID:text:errorDescription:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(callID: String, providerID: String, modelID: String?, text: String, errorDescription: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(callID:stepNumber:providerID:modelID:request:) | init(callID: String, stepNumber: Int, providerID: String, modelID: String?, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(callID:stepNumber:providerID:modelID:text:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(callID: String, stepNumber: Int, providerID: String, modelID: String?, text: String, reasoning: String, finishReason: String?, usage: TokenUsage?, warnings: [AIWarning], providerMetadata: [String : JSONValue], responseMetadata: AIResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(callID:toolCallID:toolName:execute:) | init(callID: String, toolCallID: String, toolName: String, execute: @escaping @Sendable () async throws -> Output) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Initializer | SwiftAI.init(doEmbed:request:model:) | init(doEmbed: @escaping @Sendable () async throws -> EmbeddingResult, request: EmbeddingRequest, model: any EmbeddingModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(doGenerate:doStream:request:model:) | init(doGenerate: @escaping @Sendable () async throws -> TextGenerationResult, doStream: @escaping @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error>, request: LanguageModelRequest, model: any LanguageModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(doGenerate:doStream:request:model:) | init(doGenerate: @escaping @Sendable () async throws -> TextGenerationResult, doStream: @escaping @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error>, request: LanguageModelRequest, model: any LanguageModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(doGenerate:request:model:) | init(doGenerate: @escaping @Sendable () async throws -> ImageGenerationResult, request: ImageGenerationRequest, model: any ImageModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(example:index:) | init(example: JSONValue, index: Int) | Packages/swift-ai-core/Sources/SwiftAI/ToolInputExamplesMiddleware.swift |
| Initializer | SwiftAI.init(headers:body:) | init(headers: [String : String] = [:], body: JSONValue) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(id:model:instructions:executableTools:maxSteps:stopWhen:allowSystemInMessages:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:streamTimeout:retryPolicy:telemetry:) | init(id: String? = nil, model: any LanguageModel, instructions: String? = nil, executableTools: [AITool] = [], maxSteps: Int = 20, stopWhen: [AIStopCondition] = [], allowSystemInMessages: Bool = false, prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, streamTimeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Initializer | SwiftAI.init(id:model:instructions:executableTools:toolCallers:maxSteps:stopWhen:allowSystemInMessages:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:streamTimeout:retryPolicy:telemetry:) | init(id: String? = nil, model: any LanguageModel, instructions: String? = nil, executableTools: [AITool], toolCallers: AIToolCallerRouting, maxSteps: Int = 20, stopWhen: [AIStopCondition] = [], allowSystemInMessages: Bool = false, prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, streamTimeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Initializer | SwiftAI.init(intervalMilliseconds:timeoutMilliseconds:delay:) | init(intervalMilliseconds: Int = 5_000, timeoutMilliseconds: Int = 600_000, delay: @escaping VideoGenerationDelay = { milliseconds, abortSignal in try await SwiftAIProvider.delay(milliseconds, abortSignal: abortSignal) }) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(isEnabled:includesInput:includesOutput:functionID:metadata:includeRuntimeContext:integrations:) | init(isEnabled: Bool = true, includesInput: Bool = true, includesOutput: Bool = true, functionID: String? = nil, metadata: [String : JSONValue] = [:], includeRuntimeContext: [String : Bool]? = nil, integrations: [any Telemetry.Integration]? = nil) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Initializer | SwiftAI.init(isEnabled:includesInput:includesOutput:functionID:metadata:integrations:) | init(isEnabled: Bool = true, includesInput: Bool = true, includesOutput: Bool = true, functionID: String? = nil, metadata: [String : JSONValue] = [:], integrations: [any Telemetry.Integration]? = nil) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Initializer | SwiftAI.init(kind:callID:operationID:providerID:modelID:functionID:attempt:maxRetries:delayNanoseconds:durationNanoseconds:input:output:usage:warnings:providerMetadata:responseMetadata:errorDescription:metadata:includesInput:includesOutput:) | init(kind: Telemetry.Event.Kind, callID: String, operationID: String, providerID: String, modelID: String? = nil, functionID: String? = nil, attempt: Int? = nil, maxRetries: Int? = nil, delayNanoseconds: UInt64? = nil, durationNanoseconds: UInt64? = nil, input: JSONValue? = nil, output: JSONValue? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), errorDescription: String? = nil, metadata: [String : JSONValue] = [:], includesInput: Bool = true, includesOutput: Bool = true) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Initializer | SwiftAI.init(kind:callID:operationID:providerID:modelID:functionID:attempt:maxRetries:delayNanoseconds:durationNanoseconds:input:output:usage:warnings:providerMetadata:responseMetadata:errorDescription:metadata:runtimeContext:includesInput:includesOutput:) | init(kind: Telemetry.Event.Kind, callID: String, operationID: String, providerID: String, modelID: String? = nil, functionID: String? = nil, attempt: Int? = nil, maxRetries: Int? = nil, delayNanoseconds: UInt64? = nil, durationNanoseconds: UInt64? = nil, input: JSONValue? = nil, output: JSONValue? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), errorDescription: String? = nil, metadata: [String : JSONValue] = [:], runtimeContext: [String : JSONValue] = [:], includesInput: Bool = true, includesOutput: Bool = true) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Initializer | SwiftAI.init(model:output:initialPartialObject:initialObject:onError:onFinish:) | @MainActor init(model: any LanguageModel, output: AIOutput<Output, Partial>, initialPartialObject: Partial? = nil, initialObject: Output? = nil, onError: (@MainActor @Sendable (any Error) -> Void)? = nil, onFinish: (@MainActor @Sendable (AIObjectGenerationSessionFinishEvent<Output>) -> Void)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Initializer | SwiftAI.init(model:request:executableTools:) | init(model: (any LanguageModel)? = nil, request: LanguageModelRequest? = nil, executableTools: [AITool]? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(model:stepNumber:steps:request:initialRequest:responseMessages:) | init(model: any LanguageModel, stepNumber: Int, steps: [AIToolStep], request: LanguageModelRequest, initialRequest: LanguageModelRequest, responseMessages: [AIMessage]) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(name:description:) | init(name: String, description: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(name:description:parameters:dynamic:providerMetadata:providerOptions:strict:inputExamples:contextSchema:needsApproval:deferLoading:toolCaller:onInputStart:onInputDelta:onInputAvailable:refineArguments:toModelOutput:executeWithContext:execute:) | init(name: String, description: String? = nil, parameters: JSONValue, dynamic: Bool = false, providerMetadata: [String : JSONValue] = [:], providerOptions: [String : JSONValue] = [:], strict: Bool? = nil, inputExamples: [JSONValue] = [], contextSchema: JSONValue? = nil, needsApproval: AIToolNeedsApproval? = nil, deferLoading: Bool = false, toolCaller: AIToolCallerDefinition? = nil, onInputStart: AIToolInputStartCallback? = nil, onInputDelta: AIToolInputDeltaCallback? = nil, onInputAvailable: AIToolInputAvailableCallback? = nil, refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? = nil, toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? = nil, executeWithContext: (@Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue)? = nil, execute: @escaping @Sendable (JSONValue) async throws -> JSONValue) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(name:description:parameters:dynamic:providerMetadata:providerOptions:strict:inputExamples:contextSchema:needsApproval:onInputStart:onInputDelta:onInputAvailable:refineArguments:toModelOutput:executeWithContext:execute:) | init(name: String, description: String? = nil, parameters: JSONValue, dynamic: Bool = false, providerMetadata: [String : JSONValue] = [:], providerOptions: [String : JSONValue] = [:], strict: Bool? = nil, inputExamples: [JSONValue] = [], contextSchema: JSONValue? = nil, needsApproval: AIToolNeedsApproval? = nil, onInputStart: AIToolInputStartCallback? = nil, onInputDelta: AIToolInputDeltaCallback? = nil, onInputAvailable: AIToolInputAvailableCallback? = nil, refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? = nil, toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? = nil, executeWithContext: (@Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue)? = nil, execute: @escaping @Sendable (JSONValue) async throws -> JSONValue) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(object:result:error:) | init(object: Output?, result: AIOutputGenerationResult<Output>?, error: (any Error)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Initializer | SwiftAI.init(object:text:rawObject:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:textResult:) | init(object: Object, text: String, rawObject: JSONValue, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), textResult: TextGenerationResult) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(objectResult:) | init(objectResult: ObjectGenerationResult<Output>) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Initializer | SwiftAI.init(onStart:onStepStart:onStepFinish:onFinish:onError:) | init(onStart: (@Sendable (AIObjectGenerationStartEvent) async -> Void)? = nil, onStepStart: (@Sendable (AIObjectGenerationStepStartEvent) async -> Void)? = nil, onStepFinish: (@Sendable (AIObjectGenerationStepFinishEvent) async -> Void)? = nil, onFinish: (@Sendable (AIObjectGenerationFinishEvent<Output>) async -> Void)? = nil, onError: (@Sendable (AIObjectGenerationErrorEvent) async -> Void)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(opening:closing:) | init(opening: String, closing: String) | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Initializer | SwiftAI.init(operation:headers:abortSignal:) | init(operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(operation:warnings:providerMetadata:responseMetadata:) | init(operation: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(output:text:rawOutput:reasoning:finishReason:usage:warnings:providerMetadata:responseMetadata:textResult:) | init(output: Output, text: String, rawOutput: JSONValue, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), textResult: TextGenerationResult) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Initializer | SwiftAI.init(overrideProviderID:overrideModelID:transformRequest:wrapEmbed:) | init(overrideProviderID: (@Sendable (any EmbeddingModel) -> String)? = nil, overrideModelID: (@Sendable (any EmbeddingModel) -> String)? = nil, transformRequest: (@Sendable (AIEmbeddingModelTransformContext) async throws -> EmbeddingRequest)? = nil, wrapEmbed: (@Sendable (AIEmbeddingModelEmbedContext) async throws -> EmbeddingResult)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(overrideProviderID:overrideModelID:transformRequest:wrapGenerate:) | init(overrideProviderID: (@Sendable (any ImageModel) -> String)? = nil, overrideModelID: (@Sendable (any ImageModel) -> String)? = nil, transformRequest: (@Sendable (AIImageModelTransformContext) async throws -> ImageGenerationRequest)? = nil, wrapGenerate: (@Sendable (AIImageModelGenerateContext) async throws -> ImageGenerationResult)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(overrideProviderID:overrideModelID:transformRequest:wrapGenerate:wrapStream:) | init(overrideProviderID: (@Sendable (any LanguageModel) -> String)? = nil, overrideModelID: (@Sendable (any LanguageModel) -> String)? = nil, transformRequest: (@Sendable (AILanguageModelTransformContext) async throws -> LanguageModelRequest)? = nil, wrapGenerate: (@Sendable (AILanguageModelGenerateContext) async throws -> TextGenerationResult)? = nil, wrapStream: (@Sendable (AILanguageModelStreamContext) -> AsyncThrowingStream<LanguageStreamPart, any Error>)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(overrideSupportsFileInputs:overrideSupportsMaskInputs:overrideProviderID:overrideModelID:transformRequest:wrapGenerate:) | init(overrideSupportsFileInputs: (@Sendable (any ImageModel) async -> Bool?)?, overrideSupportsMaskInputs: (@Sendable (any ImageModel) async -> Bool?)? = nil, overrideProviderID: (@Sendable (any ImageModel) -> String)? = nil, overrideModelID: (@Sendable (any ImageModel) -> String)? = nil, transformRequest: (@Sendable (AIImageModelTransformContext) async throws -> ImageGenerationRequest)? = nil, wrapGenerate: (@Sendable (AIImageModelGenerateContext) async throws -> ImageGenerationResult)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(phase:durationNanoseconds:) | init(phase: AIStreamTimeoutPhase, durationNanoseconds: UInt64) | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Initializer | SwiftAI.init(provider:kind:structuredOutputKind:responses:calls:message:) | init(provider: String? = nil, kind: AINoOutputKind = .output, structuredOutputKind: AIOutputKind? = nil, responses: [AIResponseMetadata] = [], calls: [ImageGenerationCall] = [], message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Initializer | SwiftAI.init(provider:kind:structuredOutputKind:responses:message:) | init(provider: String? = nil, kind: AINoOutputKind = .output, structuredOutputKind: AIOutputKind? = nil, responses: [AIResponseMetadata] = [], message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Initializer | SwiftAI.init(provider:strategy:kind:message:path:text:repairAttempted:finishReason:usage:warnings:providerMetadata:responseMetadata:) | init(provider: String, strategy: AIObjectOutputStrategy, kind: AIObjectGenerationFailureKind, message: String, path: String? = nil, text: String, repairAttempted: Bool = false, finishReason: String? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:decisionModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], decisionModels: [String : AIDecisionModelReference], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Initializer | SwiftAI.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:decisionModels:evaluationModels:files:skills:fallbackProvider:resolveDecisionModelID:resolveEvaluationModelID:) | convenience init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], decisionModels: [String : AIDecisionModelReference], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil, resolveDecisionModelID: @escaping @Sendable (String) throws -> any AIDecisionModelV4, resolveEvaluationModelID: @escaping @Sendable (String) throws -> any AIEvaluationModelV4) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Initializer | SwiftAI.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | convenience init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Initializer | SwiftAI.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | convenience init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Initializer | SwiftAI.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | convenience init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Initializer | SwiftAI.init(providerOptions:headers:) | init(providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Initializer | SwiftAI.init(providers:separator:providerID:languageModelMiddleware:imageModelMiddleware:) | init(providers: [String : any AIProvider], separator: String = ":", providerID: String = "provider-registry", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Initializer | SwiftAI.init(rawTools:toolContexts:executableTools:maxSteps:stopWhen:prepareStep:approval:choice:) | init(rawTools: [String : JSONValue] = [:], toolContexts: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, approval: AIToolApproval? = nil, choice: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(rawValue:) | init(rawValue: String) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAI.init(request:model:) | init(request: ImageGenerationRequest, model: any ImageModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(request:model:) | init(request: EmbeddingRequest, model: any EmbeddingModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(request:webhookURL:) | init(request: VideoGenerationRequest, webhookURL: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(requestOptions:abortSignal:timeoutNanoseconds:streamTimeout:retryPolicy:telemetry:) | init(requestOptions: AIChatRequestOptions = AIChatRequestOptions(), abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, streamTimeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy? = nil, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Initializer | SwiftAI.init(runtimeContext:callID:operationID:providerID:modelID:state:questions:maxOutputTokens:reasoning:maxRetries:headers:providerOptions:) | init(runtimeContext: [String : JSONValue], callID: String, operationID: String = "ai.decide", providerID: String, modelID: String, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int, headers: [String : String], providerOptions: [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Initializer | SwiftAI.init(runtimeContext:callID:operationID:providerID:modelID:state:questions:maxOutputTokens:reasoning:maxRetries:headers:providerOptions:answers:usage:warnings:rounding:providerMetadata:response:) | init(runtimeContext: [String : JSONValue], callID: String, operationID: String = "ai.decide", providerID: String, modelID: String, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int, headers: [String : String], providerOptions: [String : JSONValue], answers: [String : AIDecisionAnswer], usage: AIDecisionUsage, warnings: [AIWarning], rounding: AIDecisionRounding?, providerMetadata: [String : JSONValue], response: AIDecisionResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Initializer | SwiftAI.init(runtimeContext:callID:operationID:providerID:modelID:state:questions:maxRetries:headers:providerOptions:) | init(runtimeContext: [String : JSONValue], callID: String, operationID: String = "ai.evaluate", providerID: String, modelID: String, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int, headers: [String : String], providerOptions: [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Initializer | SwiftAI.init(runtimeContext:callID:operationID:providerID:modelID:state:questions:maxRetries:headers:providerOptions:answers:usage:warnings:rounding:providerMetadata:response:) | init(runtimeContext: [String : JSONValue], callID: String, operationID: String = "ai.evaluate", providerID: String, modelID: String, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int, headers: [String : String], providerOptions: [String : JSONValue], answers: [String : AIEvaluationAnswer], usage: AIEvaluationUsage, warnings: [AIWarning], rounding: AIEvaluationRounding?, providerMetadata: [String : JSONValue], response: AIEvaluationResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Initializer | SwiftAI.init(scope:tools:) | init(scope: AIPruneToolCalls.Scope, tools: Set<String>? = nil) | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Initializer | SwiftAI.init(steps:) | init(steps: [AIToolStep]) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:jsonInstruction:repairText:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Initializer | SwiftAI.init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Initializer | SwiftAI.init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:toolChoice:providerOptions:extraBody:headers:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String]? = nil, responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Initializer | SwiftAI.init(temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:toolContexts:toolChoice:includeRawChunks:providerOptions:extraBody:headers:) | init(temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], toolContexts: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Initializer | SwiftAI.init(text:errorMessage:) | init(text: String, errorMessage: String) | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Initializer | SwiftAI.init(textResult:) | init(textResult: TextGenerationResult) | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Initializer | SwiftAI.init(toolCall:arguments:tool:request:toolContext:) | init(toolCall: AIToolCall, arguments: JSONValue, tool: AITool, request: LanguageModelRequest, toolContext: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCall:toolsByName:request:error:) | init(toolCall: AIToolCall, toolsByName: [String : AITool], request: LanguageModelRequest? = nil, error: any Error) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCallID:input:messages:abortSignal:toolContext:) | init(toolCallID: String, input: JSONValue, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, toolContext: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCallID:input:output:) | init(toolCallID: String, input: JSONValue, output: JSONValue) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCallID:inputTextDelta:messages:abortSignal:toolContext:) | init(toolCallID: String, inputTextDelta: String, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, toolContext: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCallID:messages:abortSignal:metadata:toolContext:) | init(toolCallID: String? = nil, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, metadata: [String : JSONValue] = [:], toolContext: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCallID:messages:abortSignal:toolContext:) | init(toolCallID: String, messages: [AIMessage] = [], abortSignal: AIAbortSignal? = nil, toolContext: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolCallID:messages:context:) | init(toolCallID: String, messages: [AIMessage], context: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Initializer | SwiftAI.init(toolChoice:finishReason:providerID:modelID:content:) | init(toolChoice: JSONValue, finishReason: String?, providerID: String, modelID: String, content: [AIResultContentPart]) | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Initializer | SwiftAI.init(totalNanoseconds:stepNanoseconds:firstChunkNanoseconds:chunkNanoseconds:) | init(totalNanoseconds: UInt64? = nil, stepNanoseconds: UInt64? = nil, firstChunkNanoseconds: UInt64? = nil, chunkNanoseconds: UInt64? = nil) | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Initializer | SwiftAI.init(type:request:model:) | init(type: AILanguageModelCallType, request: LanguageModelRequest, model: any LanguageModel) | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Initializer | SwiftAI.init(url:receive:) | init(url: String, receive: @escaping @Sendable (AIAbortSignal?) async throws -> VideoGenerationOperationWebhook) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(value:state:) | init(value: JSONValue?, state: AIParsePartialJSONState) | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Initializer | SwiftAIAnthropic.init() | init() | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init() | init() | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(apiKey:authToken:baseURL:headers:queryParams:environment:transport:transformRequestBody:batchResultDownloads:name:) | init(apiKey: String? = nil, authToken: String? = nil, baseURL: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, batchResultDownloads: AIBatchResultDownloadSettings? = nil, name: String? = nil) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init(baseURL:http:transformRequestBody:batchResultMaxLineBytes:) | init(baseURL: String, http: AIProviderHTTPClient, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, batchResultMaxLineBytes: Int? = nil) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init(citationDocuments:) | init(citationDocuments: [AnthropicCitationDocument]) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(configuration:) | init(configuration settings: AnthropicProviderSettings) throws | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Initializer | SwiftAIAnthropic.init(modelID:config:) | init(modelID: String, config: AnthropicModelConfiguration) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Initializer | SwiftAIAnthropic.init(modelID:config:supportedURLs:transformRequestHeaders:) | init(modelID: String, config: AnthropicModelConfiguration, supportedURLs: [String : [AISupportedURLPattern]] = [ "image/*": [AISupportedURLPattern(anthropicSupportedHTTPURL)], "application/pdf": [AISupportedURLPattern(anthropicSupportedHTTPURL)] ], transformRequestHeaders: (@Sendable ([String : String], [String : JSONValue]) async throws -> [String : String])? = nil) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Initializer | SwiftAIAnthropic.init(providerID:baseURL:headers:transport:queryParams:transformRequestBody:batchResultMaxLineBytes:) | init(providerID: String, baseURL: String, headers: [String : String], transport: any AITransport, queryParams: [String : String], transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])?, batchResultMaxLineBytes: Int?) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Initializer | SwiftAIAnthropic.init(providerID:config:) | init(providerID: String = "anthropic.messages", config: AnthropicModelConfiguration) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Initializer | SwiftAIAnthropic.init(providerID:ignoresTextBlocks:) | init(providerID: String, ignoresTextBlocks: Bool = false) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(providerID:providerReferenceKey:config:) | init(providerID: String, providerReferenceKey: String, config: AnthropicModelConfiguration) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Initializer | SwiftAIAnthropic.init(providerID:toolNameMapping:) | init(providerID: String, toolNameMapping: AIToolNameMapping = AIToolNameMapping()) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIAnthropic.init(providerID:toolNameMapping:markCodeExecutionDynamic:) | init(providerID: String, toolNameMapping: AIToolNameMapping = AIToolNameMapping(), markCodeExecutionDynamic: Bool = false) | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Initializer | SwiftAIOpenAI.init(apiKey:baseURL:organization:project:headers:queryParams:environment:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:strictResponseInput:transformRequestBody:transformRequestBodyWithWarnings:batchResultDownloads:name:) | init(apiKey: String? = nil, baseURL: String? = nil, organization: String? = nil, project: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, strictResponseInput: Bool = false, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? = nil, batchResultDownloads: AIBatchResultDownloadSettings? = nil, name: String? = nil) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Initializer | SwiftAIOpenAI.init(body:warnings:) | init(body: [String : JSONValue], warnings: [AIWarning]) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Initializer | SwiftAIOpenAI.init(config:) | init(config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Initializer | SwiftAIOpenAI.init(configuration:) | init(configuration settings: OpenAIProviderSettings = .init()) throws | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Initializer | SwiftAIOpenAI.init(http:baseURL:openAIBackedProviderRoot:) | init(http: AIProviderHTTPClient, baseURL: String, openAIBackedProviderRoot: String? = "openai") | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:config:) | init(modelID: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Initializer | SwiftAIOpenAI.init(modelID:configuration:) | init(modelID: String = "gpt-live-1", configuration settings: OpenAIProviderSettings) throws | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Initializer | SwiftAIOpenAI.init(providerID:providerReferenceKey:config:) | init(providerID: String, providerReferenceKey: String, config: OpenAIModelConfiguration) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Initializer | SwiftAIOpenAI.init(providerID:providerReferenceKey:config:betaHeader:includePurpose:defaultFilename:providerOptionsName:) | init(providerID: String, providerReferenceKey: String, config: OpenAIModelConfiguration, betaHeader: (String, String)? = nil, includePurpose: Bool = false, defaultFilename: String = "file", providerOptionsName: String? = nil) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Initializer | SwiftAIOpenAI.init(statusCode:isRetryable:) | init(statusCode: Int? = nil, isRetryable: Bool? = nil) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Initializer | SwiftAIOpenAI.init(statusCode:responseBody:isRetryable:) | init(statusCode: Int? = nil, responseBody: String, isRetryable: Bool? = nil) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Initializer | SwiftAIOpenAICompatible.init() | init() | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Initializer | SwiftAIOpenAICompatible.init(configuration:) | init(configuration settings: OpenAICompatibleProviderSettings) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Initializer | SwiftAIOpenAICompatible.init(http:baseURL:) | init(http: AIProviderHTTPClient, baseURL: String) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Initializer | SwiftAIOpenAICompatible.init(id:name:arguments:inputStarted:codeInterpreterContainerID:applyPatchHasDiff:applyPatchEndEmitted:rawValue:) | init(id: String? = nil, name: String? = nil, arguments: String = "", inputStarted: Bool = false, codeInterpreterContainerID: String? = nil, applyPatchHasDiff: Bool = false, applyPatchEndEmitted: Bool = false, rawValue: JSONValue? = nil) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Initializer | SwiftAIOpenAICompatible.init(modelID:config:) | init(modelID: String, config: OpenAICompatibleModelConfiguration) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Initializer | SwiftAIOpenAICompatible.init(modelID:config:) | init(modelID: String, config: OpenAICompatibleModelConfiguration) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Initializer | SwiftAIOpenAICompatible.init(modelID:config:) | init(modelID: String, config: OpenAICompatibleModelConfiguration) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Initializer | SwiftAIOpenAICompatible.init(modelID:config:) | init(modelID: String, config: OpenAICompatibleModelConfiguration) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Initializer | SwiftAIOpenAICompatible.init(name:baseURL:apiKey:headers:queryParams:transport:includeUsage:supportsStructuredOutputs:supportsMultiPartToolContent:maxEmbeddingsPerCall:transformRequestBody:transformRequestBodyWithWarnings:) | init(name: String, baseURL: String, apiKey: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, supportsMultiPartToolContent: Bool = false, maxEmbeddingsPerCall: Int? = nil, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? = nil) | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ model: any AIDecisionModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ model: any AIEvaluationModelV4) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ matcher: @escaping @Sendable (String) -> Bool) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Initializer | SwiftAIProvider.init(_:) | init(_ format: AIStreamingAudioFormat) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(_:onConsumerCancel:) | init(_ stream: AsyncThrowingStream<SpeechTextPart, any Error>, onConsumerCancel: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(_:onConsumerCancel:) | init(_ deltas: AsyncThrowingStream<String, any Error>, onConsumerCancel: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(_:onConsumerCancel:) | init(_ stream: AsyncThrowingStream<Data, any Error>, onConsumerCancel: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Initializer | SwiftAIProvider.init(answers:rounding:usage:warnings:providerMetadata:response:) | init(answers: [String : AIDecisionAnswer], rounding: AIDecisionRounding? = nil, usage: AIDecisionModelUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], response: AIResponseMetadata? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(answers:rounding:usage:warnings:providerMetadata:response:) | init(answers: [String : AIEvaluationAnswer], rounding: AIEvaluationRounding? = nil, usage: AIEvaluationModelUsage? = nil, warnings: [AIWarning], providerMetadata: [String : JSONValue] = [:], response: AIResponseMetadata? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(answers:usage:warnings:rounding:providerMetadata:response:) | init(answers: [String : AIDecisionAnswer], usage: AIDecisionUsage, warnings: [AIWarning] = [], rounding: AIDecisionRounding? = nil, providerMetadata: [String : JSONValue] = [:], response: AIDecisionResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(answers:usage:warnings:rounding:providerMetadata:response:) | init(answers: [String : AIEvaluationAnswer], usage: AIEvaluationUsage, warnings: [AIWarning], rounding: AIEvaluationRounding? = nil, providerMetadata: [String : JSONValue] = [:], response: AIEvaluationResponseMetadata) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(approvalID:) | init(approvalID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(approvalID:toolCallID:reason:) | init(approvalID: String, toolCallID: String, reason: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(arrayLiteral:) | init(arrayLiteral elements: JSONValue...) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(audio:contentType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(audio: Data, contentType: String? = nil, rawValue: JSONValue = .null, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:contentType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(audio: Data, contentType: String? = nil, rawValue: JSONValue = .null, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:contentType:responseMetadata:) | init(audio: Data, contentType: String? = nil, responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:contentType:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(audio: Data, contentType: String? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:contentType:warnings:providerMetadata:requestMetadata:responseMetadata:usage:) | init(audio: Data, contentType: String? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), usage: [String : JSONValue]?) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:) | init(audio: Data, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:) | init(audio: Data, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(audio:inputAudioFormat:providerOptions:headers:includeRawChunks:abortSignal:) | init(audio: AIStreamingAudioInput, inputAudioFormat: AIStreamingAudioFormat, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], includeRawChunks: Bool = false, abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init(batch:warnings:) | init(batch: TextBatch, warnings: [AIBatchWarning] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batch:warnings:providerMetadata:) | init(batch: TextBatch, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batch:warnings:providerMetadata:) | init(batch: AIBatch, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batches:nextCursor:providerMetadata:) | init(batches: [AIBatchListItem], nextCursor: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:providerOptions:abortSignal:headers:) | init(batchID: String, providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:status:) | init(batchID: String, status: AIBatchStatus) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:status:warnings:) | init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(batchID:status:warnings:providerMetadata:) | init(batchID: String, status: AIBatchStatus, warnings: [AIBatchWarning] = [], providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(body:headers:) | init(body: JSONValue? = nil, headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(booleanLiteral:) | init(booleanLiteral value: Bool) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(code:reason:) | init(code: Int, reason: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Initializer | SwiftAIProvider.init(content:mediaType:providerMetadata:warnings:requestMetadata:responseMetadata:) | init(content: AsyncThrowingStream<Data, any Error>, mediaType: String? = nil, providerMetadata: [String : JSONValue] = [:], warnings: [AIWarning] = [], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(conversation:transports:connections:startup:finalization:) | init(conversation: AIRealtimeConversationMode, transports: [AIRealtimeTransportKind], connections: [AIRealtimeConnectionKind]? = nil, startup: AIRealtimeStartupMode? = nil, finalization: AIRealtimeFinalizationMode? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(data:mediaType:fileName:) | init(data: Data, mediaType: String, fileName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(data:mediaType:filename:purpose:displayName:pollIntervalNanoseconds:pollTimeoutNanoseconds:providerOptions:extraBody:headers:abortSignal:) | init(data: Data, mediaType: String, filename: String? = nil, purpose: String? = nil, displayName: String? = nil, pollIntervalNanoseconds: UInt64 = 2_000_000_000, pollTimeoutNanoseconds: UInt64 = 300_000_000_000, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(dictionaryLiteral:) | init(dictionaryLiteral elements: (String, JSONValue)...) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(dubbingID:expectedDurationSeconds:rawValue:requestMetadata:responseMetadata:) | init(dubbingID: String, expectedDurationSeconds: Double? = nil, rawValue: JSONValue, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(dubbingID:name:status:sourceLanguage:targetLanguages:error:rawValue:responseMetadata:) | init(dubbingID: String, name: String? = nil, status: String, sourceLanguage: String? = nil, targetLanguages: [String] = [], error: String? = nil, rawValue: JSONValue, responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(embeddings:usage:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(embeddings: [[Double]], usage: TokenUsage? = nil, rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(expiresAfterSeconds:sessionConfig:abortSignal:) | init(expiresAfterSeconds: Int? = nil, sessionConfig: AIRealtimeSessionConfiguration? = nil, abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(field:entityName:) | init(field: String, entityName: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(file:fileName:mimeType:sourceURL:name:sourceLanguage:targetLanguage:numSpeakers:watermark:startTime:endTime:providerOptions:extraBody:headers:abortSignal:) | init(file: Data? = nil, fileName: String = "media.mp3", mimeType: String = "audio/mpeg", sourceURL: String? = nil, name: String? = nil, sourceLanguage: String? = nil, targetLanguage: String, numSpeakers: Int? = nil, watermark: Bool? = nil, startTime: Int? = nil, endTime: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(file:providerOptions:headers:abortSignal:) | init(file: [String : String], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(fileData:mediaType:filename:purpose:displayName:pollIntervalNanoseconds:pollTimeoutNanoseconds:providerOptions:extraBody:headers:abortSignal:) | init(fileData: FileUploadData, mediaType: String, filename: String? = nil, purpose: String? = nil, displayName: String? = nil, pollIntervalNanoseconds: UInt64 = 2_000_000_000, pollTimeoutNanoseconds: UInt64 = 300_000_000_000, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(files:displayTitle:providerOptions:headers:abortSignal:) | init(files: [SkillUploadFile], displayTitle: String? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(floatLiteral:) | init(floatLiteral value: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAIProvider.init(from:) | init(from decoder: any Decoder) throws | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(functionality:) | init(functionality: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(id:approved:reason:providerExecuted:providerMetadata:) | init(id: String, approved: Bool, reason: String? = nil, providerExecuted: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:mediaType:data:url:filename:providerReference:providerMetadata:rawValue:) | init(id: String? = nil, mediaType: String, data: Data? = nil, url: String? = nil, filename: String? = nil, providerReference: AIProviderReference? = nil, providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:modelID:request:) | init(id: String, modelID: String? = nil, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:modelID:request:) | init(id: String, modelID: String? = nil, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:modelID:request:) | init(id: String, modelID: String, request: ImageGenerationRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:name:arguments:providerExecuted:dynamic:title:providerMetadata:rawValue:) | init(id: String, name: String, arguments: String, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:request:) | init(id: String, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:request:) | init(id: String, request: LanguageModelRequest) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(id:sourceType:url:title:mediaType:filename:providerMetadata:rawValue:) | init(id: String, sourceType: String, url: String? = nil, title: String? = nil, mediaType: String? = nil, filename: String? = nil, providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:timestamp:modelID:headers:body:) | init(id: String? = nil, timestamp: Date, modelID: String, headers: [String : String] = [:], body: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(id:timestamp:modelID:headers:body:) | init(id: String? = nil, timestamp: Date? = nil, modelID: String? = nil, headers: [String : String] = [:], body: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:toolName:arguments:toolCallID:descriptor:reason:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, descriptor: JSONValue? = nil, reason: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:toolName:arguments:toolCallID:inputSchemaInput:descriptor:reason:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, inputSchemaInput: JSONValue? = nil, descriptor: JSONValue? = nil, reason: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:toolName:arguments:toolCallID:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(id:toolName:arguments:toolCallID:reason:isAutomatic:providerMetadata:) | init(id: String, toolName: String, arguments: String, toolCallID: String? = nil, reason: String? = nil, isAutomatic: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(image:frameType:) | init(image: ImageInputFile, frameType: VideoFrameType) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(index:content:text:reasoning:finishReason:usage:files:toolCalls:toolResults:toolApprovalRequests:toolApprovalResponses:sources:warnings:providerMetadata:responseMetadata:) | init(index: Int, content: [AIResultContentPart] = [], text: String, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, files: [AIStreamFile] = [], toolCalls: [AIToolCall] = [], toolResults: [AIToolResult] = [], toolApprovalRequests: [AIToolApprovalRequest] = [], toolApprovalResponses: [AIToolApprovalResponse] = [], sources: [AISource] = [], warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(index:providerID:modelID:content:text:reasoning:finishReason:usage:files:toolCalls:toolResults:toolApprovalRequests:toolApprovalResponses:sources:warnings:providerMetadata:responseMetadata:) | init(index: Int, providerID: String? = nil, modelID: String? = nil, content: [AIResultContentPart] = [], text: String, reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, files: [AIStreamFile] = [], toolCalls: [AIToolCall] = [], toolResults: [AIToolResult] = [], toolApprovalRequests: [AIToolApprovalRequest] = [], toolApprovalResponses: [AIToolApprovalResponse] = [], sources: [AISource] = [], warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(index:score:document:) | init(index: Int, score: Double, document: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(inputTokens:outputTokens:) | init(inputTokens: Int? = nil, outputTokens: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(inputTokens:outputTokens:totalTokens:) | init(inputTokens: Int? = nil, outputTokens: Int? = nil, totalTokens: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(inputTokens:outputTokens:totalTokens:inputTokensNoCache:inputTokensCacheRead:inputTokensCacheWrite:outputTextTokens:outputReasoningTokens:rawValue:) | init(inputTokens: Int? = nil, outputTokens: Int? = nil, totalTokens: Int? = nil, inputTokensNoCache: Int? = nil, inputTokensCacheRead: Int? = nil, inputTokensCacheWrite: Int? = nil, outputTextTokens: Int? = nil, outputReasoningTokens: Int? = nil, rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(instructions:voice:outputModalities:inputAudioFormat:inputAudioTranscription:outputAudioTranscription:outputAudioFormat:turnDetection:tools:providerOptions:) | init(instructions: String? = nil, voice: String? = nil, outputModalities: [AIRealtimeOutputModality]? = nil, inputAudioFormat: AIRealtimeAudioFormat? = nil, inputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? = nil, outputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? = nil, outputAudioFormat: AIRealtimeAudioFormat? = nil, turnDetection: AIRealtimeTurnDetectionConfiguration? = nil, tools: [AIRealtimeToolDefinition]? = nil, providerOptions: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(integerLiteral:) | init(integerLiteral value: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(isEnabled:schemaPrefix:schemaSuffix:) | init(isEnabled: Bool = true, schemaPrefix: String? = nil, schemaSuffix: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Initializer | SwiftAIProvider.init(maxLineBytes:) | init(maxLineBytes: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/BatchResultDownloadSettings.swift |
| Initializer | SwiftAIProvider.init(maxRetries:initialDelayNanoseconds:backoffFactor:maxDelayNanoseconds:timeoutNanoseconds:) | init(maxRetries: Int = 2, initialDelayNanoseconds: UInt64 = 2_000_000_000, backoffFactor: Double = 2, maxDelayNanoseconds: UInt64 = 60_000_000_000, timeoutNanoseconds: UInt64? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Initializer | SwiftAIProvider.init(mediaType:sampleRate:) | init(mediaType: String, sampleRate: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init(message:type:code:statusCode:) | init(message: String, type: String? = nil, code: String? = nil, statusCode: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(messages:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:toolContexts:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:) | init(messages: [AIMessage], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], toolContexts: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Initializer | SwiftAIProvider.init(modalities:instructions:metadata:) | init(modalities: [String]? = nil, instructions: String? = nil, metadata: [String : JSONValue]? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(model:language:prompt:) | init(model: String? = nil, language: String? = nil, prompt: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(nilLiteral:) | init(nilLiteral: ()) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(path:data:mediaType:) | init(path: String, data: Data, mediaType: String = "application/octet-stream") | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(probabilityDecimals:scoreDecimals:) | init(probabilityDecimals: Int? = nil, scoreDecimals: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(prompt:aspectRatio:durationSeconds:image:frameImages:inputReferences:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:) | init(prompt: String, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, frameImages: [VideoFrameImage] = [], inputReferences: [ImageInputFile] = [], resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(prompt:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:) | init(prompt: String, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:) | init(prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(provider:code:message:rawValue:closeMetadata:) | init(provider: String, code: String? = nil, message: String, rawValue: JSONValue? = nil, closeMetadata: AIDuplexWebSocketCloseMetadata? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init(provider:message:rawValue:) | init(provider: String, message: String, rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(provider:modelID:maxEmbeddingsPerCall:values:) | init(provider: String, modelID: String, maxEmbeddingsPerCall: Int, values: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(provider:reference:) | init(provider: String, reference: AIProviderReference) | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Initializer | SwiftAIProvider.init(provider:url:requestBody:statusCode:responseHeaders:responseBody:isRetryable:) | init(provider: String, url: String? = nil, requestBody: JSONValue? = nil, statusCode: Int, responseHeaders: [String : String] = [:], responseBody: String, isRetryable: Bool? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(providerMetadata:) | init(providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(providerOptions:limit:cursor:abortSignal:headers:) | init(providerOptions: [String : JSONValue] = [:], limit: Int? = nil, cursor: String? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(providerOptions:values:startIndex:endIndex:) | init(providerOptions: [String : JSONValue], values: [String], startIndex: Int, endIndex: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:deleted:providerMetadata:warnings:rawValue:requestMetadata:responseMetadata:) | init(providerReference: [String : String], deleted: Bool, providerMetadata: [String : JSONValue] = [:], warnings: [AIWarning] = [], rawValue: JSONValue = .null, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:displayTitle:name:description:latestVersion:providerMetadata:requestMetadata:responseMetadata:warnings:rawValue:) | init(providerReference: [String : String], displayTitle: String? = nil, name: String? = nil, description: String? = nil, latestVersion: String? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), warnings: [AIWarning] = [], rawValue: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:filename:mediaType:byteSize:createdAt:expiresAt:metadata:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(providerReference: [String : String], filename: String? = nil, mediaType: String? = nil, byteSize: Int? = nil, createdAt: Date? = nil, expiresAt: Date? = nil, metadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:filename:mediaType:byteSize:createdAt:expiresAt:providerMetadata:warnings:rawValue:requestMetadata:responseMetadata:) | init(providerReference: [String : String], filename: String? = nil, mediaType: String? = nil, byteSize: Int? = nil, createdAt: Date? = nil, expiresAt: Date? = nil, providerMetadata: [String : JSONValue] = [:], warnings: [AIWarning] = [], rawValue: JSONValue = .null, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(providerReference:filename:mediaType:metadata:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(providerReference: [String : String], filename: String? = nil, mediaType: String? = nil, metadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(query:documents:topK:providerOptions:extraBody:headers:abortSignal:) | init(query: String, documents: [String], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(query:documents:topK:providerOptions:extraBody:headers:abortSignal:) | init(query: String, documents: [[String : JSONValue]], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(questionID:questionType:providerID:modelID:message:) | init(questionID: String, questionType: AIEvaluationQuestionType, providerID: String, modelID: String, message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(questionIDs:providerID:modelID:message:) | init(questionIDs: [String], providerID: String, modelID: String, message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAIProvider.init(reason:attempts:errors:) | init(reason: AIRetryErrorReason, attempts: Int, errors: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Initializer | SwiftAIProvider.init(reason:reasonName:) | init(reason: String? = nil, reasonName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Initializer | SwiftAIProvider.init(reference:status:) | init(reference: TextBatchReference, status: AIBatchStatus) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(reference:status:) | init(reference: AIBatchReference, status: AIBatchStatus) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(requestID:warning:) | init(requestID: String? = nil, warning: AIWarning) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(requests:providerOptions:abortSignal:headers:idempotencyKey:) | init(requests: [Request], providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], idempotencyKey: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(requests:providerOptions:abortSignal:headers:idempotencyKey:webhookURL:) | init(requests: [Request], providerOptions: [String : JSONValue] = [:], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(responses:cause:) | init(responses: [AIResponseMetadata] = [], cause: (any Error)? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(results:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(results: [RerankedDocument], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(role:content:reasoning:providerMetadata:) | init(role: MessageRole, content: [AIContentPart], reasoning: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Initializer | SwiftAIProvider.init(seconds:) | init(seconds: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(source:startIndex:endIndex:citedText:) | init(source: AISource, startIndex: Int? = nil, endIndex: Int? = nil, citedText: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Initializer | SwiftAIProvider.init(state:questions:abortSignal:headers:providerOptions:) | init(state: JSONValue, questions: [String : AIEvaluationQuestion], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(state:questions:maxOutputTokens:reasoning:abortSignal:headers:providerOptions:) | init(state: [AIDecisionStatePart], questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(stateParts:questions:abortSignal:headers:providerOptions:) | init(stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(status:rawStatus:requestCounts:error:createdAt:expiresAt:providerMetadata:) | init(status: AIBatchLifecycleStatus, rawStatus: String? = nil, requestCounts: AIBatchRequestCounts? = nil, error: AIBatchError? = nil, createdAt: String? = nil, expiresAt: String? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(stream:mediaType:filename:purpose:displayName:pollIntervalNanoseconds:pollTimeoutNanoseconds:providerOptions:extraBody:headers:abortSignal:) | init(stream: AsyncThrowingStream<Data, any Error>, mediaType: String, filename: String? = nil, purpose: String? = nil, displayName: String? = nil, pollIntervalNanoseconds: UInt64 = 2_000_000_000, pollTimeoutNanoseconds: UInt64 = 300_000_000_000, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(stream:requestMetadata:responseMetadata:cancel:) | init(stream: AsyncThrowingStream<StreamingSpeechPart, any Error>, requestMetadata: AIRequestMetadata = .init(), responseMetadata: AIResponseMetadata = .init(), cancel: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(stream:requestMetadata:responseMetadata:cancel:) | init(stream: AsyncThrowingStream<StreamingTranscriptionPart, any Error>, requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), cancel: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Initializer | SwiftAIProvider.init(stringLiteral:) | init(stringLiteral value: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Initializer | SwiftAIProvider.init(text:content:finishReason:rawFinishReason:usage:response:providerMetadata:) | init(text: String, content: [AIResultContentPart] = [], finishReason: String? = nil, rawFinishReason: String? = nil, usage: TokenUsage = TokenUsage(), response: AIResponseMetadata? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(text:finishReason:rawFinishReason:usage:response:providerMetadata:) | init(text: String, finishReason: String? = nil, rawFinishReason: String? = nil, usage: TokenUsage = TokenUsage(), response: AIResponseMetadata? = nil, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(text:message:) | init(text: String, message: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Initializer | SwiftAIProvider.init(text:rawValue:segments:language:durationInSeconds:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(text: String, rawValue: JSONValue, segments: [TranscriptionSegment] = [], language: String? = nil, durationInSeconds: Double? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(text:rawValue:segments:language:durationInSeconds:warnings:providerMetadata:requestMetadata:responseMetadata:usage:) | init(text: String, rawValue: JSONValue, segments: [TranscriptionSegment] = [], language: String? = nil, durationInSeconds: Double? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), usage: [String : JSONValue]?) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(text:segments:language:durationInSeconds:providerMetadata:closeMetadata:) | init(text: String, segments: [TranscriptionSegment] = [], language: String? = nil, durationInSeconds: Double? = nil, providerMetadata: [String : JSONValue] = [:], closeMetadata: AIDuplexWebSocketCloseMetadata? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init(text:segments:language:durationInSeconds:providerMetadata:closeMetadata:usage:) | init(text: String, segments: [TranscriptionSegment] = [], language: String? = nil, durationInSeconds: Double? = nil, providerMetadata: [String : JSONValue] = [:], closeMetadata: AIDuplexWebSocketCloseMetadata? = nil, usage: [String : JSONValue]?) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Initializer | SwiftAIProvider.init(text:startSecond:endSecond:) | init(text: String, startSecond: Double, endSecond: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(text:structuredOutputText:content:reasoning:finishReason:usage:files:toolCalls:toolResults:toolApprovalRequests:toolApprovalResponses:steps:sources:responseMessages:providerMetadata:rawValue:warnings:requestMetadata:responseMetadata:) | init(text: String, structuredOutputText: String? = nil, content: [AIResultContentPart] = [], reasoning: String = "", finishReason: String? = nil, usage: TokenUsage? = nil, files: [AIStreamFile] = [], toolCalls: [AIToolCall] = [], toolResults: [AIToolResult] = [], toolApprovalRequests: [AIToolApprovalRequest] = [], toolApprovalResponses: [AIToolApprovalResponse] = [], steps: [AIToolStep] = [], sources: [AISource] = [], responseMessages: [AIMessage] = [], providerMetadata: [String : JSONValue] = [:], rawValue: JSONValue, warnings: [AIWarning] = [], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Initializer | SwiftAIProvider.init(text:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:) | init(text: String, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Initializer | SwiftAIProvider.init(text:voice:outputFormat:instructions:speed:language:providerOptions:headers:includeRawChunks:abortSignal:) | init(text: AIStreamingTextInput, voice: String? = nil, outputFormat: AIStreamingAudioFormat? = nil, instructions: String? = nil, speed: Double? = nil, language: String? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], includeRawChunks: Bool = false, abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(text:voice:outputFormat:instructions:speed:language:providerOptions:headers:includeRawChunks:abortSignal:) | init(text: String, voice: String? = nil, outputFormat: AIStreamingAudioFormat? = nil, instructions: String? = nil, speed: Double? = nil, language: String? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], includeRawChunks: Bool = false, abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(text:voice:providerOptions:) | init(text: String, voice: String? = nil, providerOptions: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Initializer | SwiftAIProvider.init(token:url:expiresAt:) | init(token: String, url: String, expiresAt: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(toolCallID:approvalID:) | init(toolCallID: String, approvalID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolCallID:toolName:result:modelOutput:isError:preliminary:dynamic:providerExecuted:providerMetadata:) | init(toolCallID: String, toolName: String, result: JSONValue, modelOutput: JSONValue? = nil, isError: Bool = false, preliminary: Bool = false, dynamic: Bool = false, providerExecuted: Bool = false, providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Initializer | SwiftAIProvider.init(toolCallIDs:) | init(toolCallIDs: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolName:availableToolNames:) | init(toolName: String, availableToolNames: [String] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolName:toolCallID:input:message:validationError:) | init(toolName: String, toolCallID: String? = nil, input: JSONValue? = nil, message: String, validationError: AITypeValidationError? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolName:toolCallID:originalError:repairedInput:) | init(toolName: String, toolCallID: String? = nil, originalError: String, repairedInput: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(top:bottom:left:right:) | init(top: Double, bottom: Double, left: Double, right: Double) | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Initializer | SwiftAIProvider.init(total:pending:completed:failed:) | init(total: Int, pending: Int, completed: Int, failed: Int) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(type:feature:setting:message:) | init(type: String, feature: String? = nil, setting: String? = nil, message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Initializer | SwiftAIProvider.init(type:message:statusCode:generationID:modelID:response:headers:isRetryable:cause:) | init(type: GatewayErrorType, message: String, statusCode: Int = 500, generationID: String? = nil, modelID: String? = nil, response: JSONValue? = nil, headers: [String : String] = [:], isRetryable: Bool? = nil, cause: AIAPICallError? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Initializer | SwiftAIProvider.init(type:name:description:parameters:) | init(type: String = "function", name: String, description: String? = nil, parameters: JSONValue) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(type:rate:) | init(type: String, rate: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(type:threshold:silenceDurationMilliseconds:prefixPaddingMilliseconds:) | init(type: AIRealtimeTurnDetectionType, threshold: Double? = nil, silenceDurationMilliseconds: Int? = nil, prefixPaddingMilliseconds: Int? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(url:mediaType:fileName:) | init(url: String, mediaType: String? = nil, fileName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(url:protocols:headers:) | init(url: String, protocols: [String] = [], headers: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Initializer | SwiftAIProvider.init(urls:base64Images:rawValue:warnings:usage:providerMetadata:requestMetadata:responseMetadata:) | init(urls: [String], base64Images: [String] = [], rawValue: JSONValue, warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(urls:base64Images:rawValue:warnings:usage:providerMetadata:requestMetadata:responseMetadata:calls:) | init(urls: [String], base64Images: [String] = [], rawValue: JSONValue, warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), calls: [ImageGenerationCall] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(urls:base64Images:rawValue:warnings:usage:providerMetadata:requestMetadata:responseMetadata:isRetryable:calls:) | init(urls: [String], base64Images: [String] = [], rawValue: JSONValue, warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata(), isRetryable: Bool?, calls: [ImageGenerationCall] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(urls:base64Images:warnings:usage:providerMetadata:responseMetadata:) | init(urls: [String], base64Images: [String] = [], warnings: [AIWarning] = [], usage: TokenUsage? = nil, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(urls:base64Images:warnings:usage:response:providerMetadata:) | init(urls: [String], base64Images: [String] = [], warnings: [AIWarning] = [], usage: TokenUsage? = nil, response: AIResponseMetadata = AIResponseMetadata(), providerMetadata: [String : JSONValue] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(urls:base64Videos:operationID:mediaType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(urls: [String], base64Videos: [String] = [], operationID: String? = nil, mediaType: String? = nil, rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(value:schema:path:message:context:) | init(value: JSONValue? = nil, schema: JSONValue? = nil, path: String, message: String, context: AITypeValidationContext? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(values:dimensions:providerOptions:extraBody:headers:abortSignal:) | init(values: [String], dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Initializer | SwiftAIProvider.init(version:id:providerID:) | init(version: Int = 2, id: String, providerID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProvider.init(version:type:id:providerID:modelID:) | init(version: Int = 1, type: AIBatchReferenceType = .text, id: String, providerID: String, modelID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Initializer | SwiftAIProviderUtilities.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Initializer | SwiftAIProviderUtilities.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Initializer | SwiftAIProviderUtilities.init() | init() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Initializer | SwiftAIProviderUtilities.init(customToolNameToProviderToolName:) | init(customToolNameToProviderToolName: [String : String] = [:]) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Initializer | SwiftAIProviderUtilities.init(generateID:typeValidation:extractMetadata:buildToolCallProviderMetadata:) | init(generateID: @escaping @Sendable () -> String = { UUID().uuidString }, typeValidation: AIStreamingToolCallTypeValidation = .none, extractMetadata: (@Sendable (AIStreamingToolCallDelta) -> [String : JSONValue]?)? = nil, buildToolCallProviderMetadata: (@Sendable ([String : JSONValue]?) -> [String : JSONValue]?)? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Initializer | SwiftAIProviderUtilities.init(index:id:type:functionName:arguments:rawValue:) | init(index: Int? = nil, id: String? = nil, type: String? = nil, functionName: String? = nil, arguments: String? = nil, rawValue: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Initializer | SwiftAIProviderUtilities.init(message:type:code:statusCode:isRetryable:data:) | init(message: String, type: String? = nil, code: JSONValue? = nil, statusCode: Int? = nil, isRetryable: Bool? = nil, data: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Initializer | SwiftAIProviderUtilities.init(model:providerID:) | init(model: any LanguageModel, providerID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Initializer | SwiftAIProviderUtilities.init(model:providerID:) | init(model: any LanguageModel, providerID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Initializer | SwiftAIProviderUtilities.init(providerID:) | init(providerID: String) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Initializer | SwiftAIProviderUtilities.init(purpose:expiresAfter:) | init(purpose: String? = nil, expiresAfter: Double? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Initializer | SwiftAIProviderUtilities.init(thoughtSignatureNamespace:) | init(thoughtSignatureNamespace: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/OpenAIStyleStreamingToolCalls.swift |
| Initializer | SwiftAIProviderUtilities.init(warnings:providerID:modelID:) | init(warnings: [AIWarning], providerID: String? = nil, modelID: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Initializer | SwiftAISDK.init(_:) | init(_ fields: [String : JSONValue]) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Initializer | SwiftAISDK.init(_:outputSchema:) | init(_ tool: AITool, outputSchema: JSONValue? = nil) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(abortSignal:timeoutMilliseconds:maxTotalTimeoutMilliseconds:) | init(abortSignal: AIAbortSignal? = nil, timeoutMilliseconds: Int? = nil, maxTotalTimeoutMilliseconds: Int? = nil) | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | SwiftAISDK.init(accessKeyID:secretAccessKey:sessionToken:) | init(accessKeyID: String, secretAccessKey: String, sessionToken: String? = nil) | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | SwiftAISDK.init(accessKeyID:secretAccessKey:sessionToken:) | init(accessKeyID: String, secretAccessKey: String, sessionToken: String? = nil) | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Initializer | SwiftAISDK.init(accessToken:idToken:tokenType:expiresIn:scope:refreshToken:issuer:authorizationServerURL:tokenEndpoint:rawValue:) | init(accessToken: String, idToken: String? = nil, tokenType: String, expiresIn: Int? = nil, scope: String? = nil, refreshToken: String? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(action:content:metadata:resultType:rawValue:) | init(action: MCPElicitAction, content: [String : JSONValue]? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(allowRedirects:allowInsecureSSL:proxies:format:schema:) | init(allowRedirects: Bool? = nil, allowInsecureSSL: Bool? = nil, proxies: Bool? = nil, format: String? = nil, schema: JSONValue? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | SwiftAISDK.init(apiKey:accessKey:secretKey:baseURL:headers:environment:transport:) | init(apiKey: String? = nil, accessKey: String? = nil, secretKey: String? = nil, baseURL: String? = nil, headers: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared) | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Initializer | SwiftAISDK.init(apiKey:authToken:baseURL:modelURL:organization:project:headers:queryParams:environment:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:strictResponseInput:transformRequestBody:name:) | init(apiKey: String? = nil, authToken: String? = nil, baseURL: String? = nil, modelURL: String? = nil, organization: String? = nil, project: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, strictResponseInput: Bool = false, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, name: String? = nil) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Initializer | SwiftAISDK.init(apiKey:authToken:baseURL:modelURL:organization:project:headers:queryParams:environment:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:transformRequestBody:name:) | init(apiKey: String? = nil, authToken: String? = nil, baseURL: String? = nil, modelURL: String? = nil, organization: String? = nil, project: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, name: String? = nil) | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Initializer | SwiftAISDK.init(apiKey:baseURL:videoBaseURL:headers:environment:transport:) | init(apiKey: String? = nil, baseURL: String? = nil, videoBaseURL: String? = nil, headers: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared) | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | SwiftAISDK.init(apiKey:version:baseURL:headers:environment:transport:webSocketTransport:) | init(apiKey: String? = nil, version: String = CartesiaProvider.defaultAPIVersion, baseURL: String? = nil, headers: [String : String] = [:], environment: [String : String]? = nil, transport: any AITransport = URLSessionTransport.shared, webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared) | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Initializer | SwiftAISDK.init(authorizationServerURL:tokenEndpoint:issuer:) | init(authorizationServerURL: URL, tokenEndpoint: URL, issuer: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(authorizationURL:codeVerifier:) | init(authorizationURL: URL, codeVerifier: String) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(balance:totalUsed:) | init(balance: String, totalUsed: String) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(cacheControl:) | init(cacheControl: MiniMaxCacheControlOptions.CacheControl? = nil) | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | SwiftAISDK.init(chatID:abortSignal:headers:body:metadata:) | init(chatID: String, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], body: [String : JSONValue] = [:], metadata: JSONValue? = nil) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | SwiftAISDK.init(chatID:transport:messages:generateMessageID:onError:onFinish:sendAutomaticallyWhen:) | @MainActor init(chatID: String = UUID().uuidString, transport: any AIChatTransport, messages: [AIUIMessage] = [], generateMessageID: @escaping @Sendable () -> String = { UUID().uuidString }, onError: (@MainActor @Sendable (any Error) -> Void)? = nil, onFinish: (@MainActor @Sendable (AIChatSessionFinishEvent) -> Void)? = nil, sendAutomaticallyWhen: (@MainActor @Sendable ([AIUIMessage]) -> Bool)? = nil) | Sources/SwiftAISDK/AIChatSession.swift |
| Initializer | SwiftAISDK.init(chatID:trigger:messageID:responseMessageID:messages:abortSignal:headers:body:metadata:) | init(chatID: String, trigger: AIChatTransportTrigger = .submitMessage, messageID: String? = nil, responseMessageID: String? = nil, messages: [AIUIMessage], abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], body: [String : JSONValue] = [:], metadata: JSONValue? = nil) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | SwiftAISDK.init(clientEmail:privateKey:privateKeyID:) | init(clientEmail: String, privateKey: String, privateKeyID: String? = nil) | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | SwiftAISDK.init(clientID:clientSecret:clientIDIssuedAt:clientSecretExpiresAt:issuer:authorizationServerURL:tokenEndpoint:rawValue:) | init(clientID: String, clientSecret: String? = nil, clientIDIssuedAt: Int? = nil, clientSecretExpiresAt: Int? = nil, issuer: String? = nil, authorizationServerURL: URL? = nil, tokenEndpoint: URL? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(clientInformation:clientMetadata:rawValue:) | init(clientInformation: MCPOAuthClientInformation, clientMetadata: MCPOAuthClientMetadata, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(command:args:env:cwd:shell:) | init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil, shell: MCPStdioShell = .disabled) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | SwiftAISDK.init(command:args:env:cwd:shell:) | convenience init(command: String, args: [String] = [], env: [String : String] = [:], cwd: String? = nil, shell: MCPStdioShell = .disabled) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | SwiftAISDK.init(config:) | init(config: MCPStdioConfig) | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Initializer | SwiftAISDK.init(content:structuredContent:toolResult:isError:metadata:resultType:rawValue:) | init(content: [JSONValue] = [], structuredContent: JSONValue? = nil, toolResult: JSONValue? = nil, isError: Bool = false, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(contents:metadata:resultType:rawValue:) | init(contents: [MCPResourceContent], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(count:includeContents:category:includeDomains:excludeDomains:snippetMaxCharacters:highlights:articleContentMaxCharacters:publishedAfter:publishedBefore:) | init(count: Int? = nil, includeContents: Bool? = nil, category: String? = nil, includeDomains: [String] = [], excludeDomains: [String] = [], snippetMaxCharacters: Int? = nil, highlights: Bool? = nil, articleContentMaxCharacters: Int? = nil, publishedAfter: String? = nil, publishedBefore: String? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | SwiftAISDK.init(count:includeContents:mode:contentFormat:maxRows:nodeIDs:strict:) | init(count: Int? = nil, includeContents: Bool? = nil, mode: String? = nil, contentFormat: String? = nil, maxRows: Int? = nil, nodeIDs: [String] = [], strict: Bool? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | SwiftAISDK.init(description:messages:metadata:resultType:rawValue:) | init(description: String? = nil, messages: [MCPPromptMessage], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(detail:) | init(detail: MiniMaxImagePartOptions.Detail? = nil) | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | SwiftAISDK.init(effort:dataSource:webSource:latitude:longitude:countryCode:locale:timezone:imageDarkMode:forceRefresh:includeRelated:) | init(effort: String? = nil, dataSource: GatewayTakoDataSourceConfig? = nil, webSource: GatewayTakoWebSourceConfig? = nil, latitude: Double? = nil, longitude: Double? = nil, countryCode: String? = nil, locale: String? = nil, timezone: String? = nil, imageDarkMode: Bool? = nil, forceRefresh: Bool? = nil, includeRelated: Int? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | SwiftAISDK.init(effort:thinking:) | init(effort: MiniMaxLanguageModelOptions.Effort? = nil, thinking: MiniMaxLanguageModelOptions.Thinking? = nil) | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | SwiftAISDK.init(fps:) | init(fps: Double? = nil) | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(from:) | init(from decoder: any Decoder) throws | |
| Initializer | SwiftAISDK.init(headers:body:metadata:) | init(headers: [String : String] = [:], body: [String : JSONValue] = [:], metadata: JSONValue? = nil) | Sources/SwiftAISDK/AIChatSession.swift |
| Initializer | SwiftAISDK.init(headers:parameters:tokenURL:authorizationServerURL:metadata:) | init(headers: [String : String], parameters: [URLQueryItem], tokenURL: URL, authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(id:name:arguments:status:expiresAt:cleanupStatus:) | init(id: String, name: String, arguments: [String : JSONValue] = [:], status: MCPManagedSubscription.Status, expiresAt: String?, cleanupStatus: MCPManagedSubscription.CleanupStatus? = nil) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Initializer | SwiftAISDK.init(id:name:modelType:provider:modelID:) | init(id: String, name: String? = nil, modelType: String? = nil, provider: String? = nil, modelID: String? = nil) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(id:role:parts:metadata:) | init(id: String = UUID().uuidString, role: MessageRole, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:role:parts:metadata:unavailableStaticToolCallIDs:) | init(id: String = UUID().uuidString, role: MessageRole, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:], unavailableStaticToolCallIDs: Set<String>) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:text:state:providerMetadata:) | init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:text:state:providerMetadata:citations:) | init(id: String? = nil, text: String, state: AIUIStreamingPartState? = nil, providerMetadata: [String : JSONValue] = [:], citations: [AICitation] = []) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(id:value:providerMetadata:) | init(id: String? = nil, value: JSONValue, providerMetadata: [String : JSONValue] = [:]) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(inputSchema:outputSchema:) | init(inputSchema: JSONValue, outputSchema: JSONValue? = nil) | Sources/SwiftAISDK/CoreUIMessages.swift |
| Initializer | SwiftAISDK.init(issuer:authorizationEndpoint:tokenEndpoint:registrationEndpoint:authorizationResponseIssuerParameterSupported:clientIDMetadataDocumentSupported:responseTypesSupported:codeChallengeMethodsSupported:grantTypesSupported:tokenEndpointAuthMethodsSupported:rawValue:) | init(issuer: String, authorizationEndpoint: URL, tokenEndpoint: URL, registrationEndpoint: URL? = nil, authorizationResponseIssuerParameterSupported: Bool? = nil, clientIDMetadataDocumentSupported: Bool? = nil, responseTypesSupported: [String], codeChallengeMethodsSupported: [String], grantTypesSupported: [String] = [], tokenEndpointAuthMethodsSupported: [String] = [], rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(key:id:name:arguments:definition:delivery:refreshBefore:cursor:truncated:lifetime:maxAgeMilliseconds:status:) | init(key: String, id: String? = nil, name: String, arguments: [String : JSONValue] = [:], definition: MCPEventDefinition, delivery: MCPEventDelivery, refreshBefore: String? = nil, cursor: String? = nil, truncated: Bool = false, lifetime: MCPEventLifetime? = nil, maxAgeMilliseconds: Int? = nil, status: MCPEventSubscription.Status = .pending) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Initializer | SwiftAISDK.init(longContext:) | init(longContext: Bool? = nil) | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Initializer | SwiftAISDK.init(maxBytes:) | init(maxBytes: Int? = nil) | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | SwiftAISDK.init(message:) | init(message: AIUIMessage = .assistant()) | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Initializer | SwiftAISDK.init(message:) | init(message: String) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(message:chunkType:chunkID:rawValue:validationIssues:) | init(message: String, chunkType: String? = nil, chunkID: String? = nil, rawValue: JSONValue? = nil, validationIssues: [AIUIMessageValidationIssue] = []) | Sources/SwiftAISDK/Errors.swift |
| Initializer | SwiftAISDK.init(message:code:data:statusCode:url:responseBody:) | init(message: String, code: Int? = nil, data: JSONValue? = nil, statusCode: Int? = nil, url: String? = nil, responseBody: String? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(message:isAborted:isCancelled:outcome:errorDescription:) | init(message: AIUIMessage, isAborted: Bool, isCancelled: Bool, outcome: AIUIMessageStreamOutcome, errorDescription: String? = nil) | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Initializer | SwiftAISDK.init(message:messages:isAbort:isDisconnect:isError:finishReason:) | init(message: AIUIMessage?, messages: [AIUIMessage], isAbort: Bool, isDisconnect: Bool, isError: Bool, finishReason: String? = nil) | Sources/SwiftAISDK/AIChatSession.swift |
| Initializer | SwiftAISDK.init(message:requestedSchema:metadata:rawValue:) | init(message: String, requestedSchema: JSONValue, metadata: JSONValue? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(messages:issues:) | init(messages: [AIUIMessage], issues: [AIUIMessageValidationIssue]) | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Initializer | SwiftAISDK.init(mode:resolution:promptEnhancement:image:referenceImages:referenceVideos:referenceAudio:) | init(mode: HeyGenVideoModelOptions.Mode? = nil, resolution: HeyGenVideoModelOptions.Resolution? = nil, promptEnhancement: HeyGenVideoModelOptions.PromptEnhancement? = nil, image: HeyGenVideoAsset? = nil, referenceImages: [HeyGenVideoAsset]? = nil, referenceVideos: [HeyGenVideoAsset]? = nil, referenceAudio: [HeyGenVideoAsset]? = nil) | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Initializer | SwiftAISDK.init(model:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:retryPolicy:telemetry:sendReasoning:sendSources:sendFinish:generateMessageID:) | init(model: any LanguageModel, executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, sendReasoning: Bool = true, sendSources: Bool = false, sendFinish: Bool = true, generateMessageID: @escaping @Sendable () -> String = { UUID().uuidString }) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | SwiftAISDK.init(model:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:requestOptions:timeoutNanoseconds:retryPolicy:telemetry:sendReasoning:sendSources:sendFinish:generateMessageID:) | init(model: any LanguageModel, executableTools: [AITool] = [], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, requestOptions: AIChatRequestOptions = AIChatRequestOptions(), timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, sendReasoning: Bool = true, sendSources: Bool = false, sendFinish: Bool = true, generateMessageID: @escaping @Sendable () -> String = { UUID().uuidString }) | Sources/SwiftAISDK/AIChatTransport.swift |
| Initializer | SwiftAISDK.init(model:expiresAfterSeconds:) | init(model: String, expiresAfterSeconds: Int? = nil) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(modelFamily:) | init(modelFamily: AmazonBedrockEmbeddingModelFamily? = nil) | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Initializer | SwiftAISDK.init(modelFamily:) | init(modelFamily: AmazonBedrockChatModelFamily? = nil) | Sources/SwiftAISDK/Models/AmazonBedrockModels.swift |
| Initializer | SwiftAISDK.init(modelID:) | init(modelID: String? = nil) | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Initializer | SwiftAISDK.init(modelID:settings:) | convenience init(modelID: String = "gpt-live-1", settings: ProviderSettings = .init()) throws | Sources/SwiftAISDK/Providers/OpenAICompatibility.swift |
| Initializer | SwiftAISDK.init(modelVisible:appVisible:) | init(modelVisible: MCPListToolsResult, appVisible: MCPListToolsResult) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | SwiftAISDK.init(name:arguments:callbackURL:allowInsecureLocalhost:secret:cursor:lifetime:maxAgeMilliseconds:options:) | init(name: String, arguments: [String : JSONValue] = [:], callbackURL: URL, allowInsecureLocalhost: Bool = false, secret: String? = nil, cursor: String? = nil, lifetime: MCPEventLifetime? = nil, maxAgeMilliseconds: Int? = nil, options: MCPRequestOptions? = nil) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Initializer | SwiftAISDK.init(name:arguments:context:idempotencyKey:lifetime:options:) | init(name: String, arguments: [String : JSONValue] = [:], context: [String : JSONValue]? = nil, idempotencyKey: String, lifetime: MCPManagedSubscribeInput.Lifetime, options: MCPRequestOptions? = nil) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Initializer | SwiftAISDK.init(name:arguments:context:idempotencyKey:ttlMs:options:) | init(name: String, arguments: [String : JSONValue] = [:], context: [String : JSONValue]? = nil, idempotencyKey: String, ttlMs: Int?, options: MCPRequestOptions? = nil) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Initializer | SwiftAISDK.init(name:description:delivery:inputSchema:payloadSchema:rawValue:) | init(name: String, description: String? = nil, delivery: [MCPEventDeliveryMode], inputSchema: JSONValue, payloadSchema: JSONValue, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Initializer | SwiftAISDK.init(name:description:required:rawValue:) | init(name: String, description: String? = nil, required: Bool? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(name:title:description:arguments:rawValue:) | init(name: String, title: String? = nil, description: String? = nil, arguments: [MCPPromptArgument] = [], rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(name:title:description:inputSchema:outputSchema:annotations:metadata:) | init(name: String, title: String? = nil, description: String? = nil, inputSchema: JSONValue, outputSchema: JSONValue? = nil, annotations: JSONValue? = nil, metadata: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(name:value:rawValue:) | init(name: String, value: String, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(name:version:title:) | init(name: String, version: String, title: String? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(numResults:) | init(numResults: Int? = nil) | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Initializer | SwiftAISDK.init(path:message:) | init(path: String, message: String) | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Initializer | SwiftAISDK.init(project:location:apiKey:accessToken:serviceAccount:baseURL:headers:transport:date:) | init(project: String? = nil, location: String? = nil, apiKey: String? = nil, accessToken: String? = nil, serviceAccount: GoogleServiceAccountCredentials? = nil, baseURL: String? = nil, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | SwiftAISDK.init(project:location:apiKey:accessToken:serviceAccount:baseURL:toolResultDownloads:headers:transport:date:) | init(project: String? = nil, location: String? = nil, apiKey: String? = nil, accessToken: String? = nil, serviceAccount: GoogleServiceAccountCredentials? = nil, baseURL: String? = nil, toolResultDownloads: GoogleVertexToolResultDownloadSettings?, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | SwiftAISDK.init(prompts:nextCursor:metadata:resultType:rawValue:) | init(prompts: [MCPPrompt], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(providerID:defaultBaseURL:authorization:supportedCapabilities:settings:routesLikeOpenAI:userAgentSuffix:usesOpenAICompatibleSurfaceIDs:) | convenience init(providerID: String, defaultBaseURL: String, authorization: AuthorizationStyle, supportedCapabilities: Set<ModelCapability> = [.language], settings: ProviderSettings = ProviderSettings(), routesLikeOpenAI: Bool = false, userAgentSuffix: String? = nil, usesOpenAICompatibleSurfaceIDs: Bool = false) throws | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Initializer | SwiftAISDK.init(providerID:defaultBaseURL:authorization:supportedCapabilities:settings:routesLikeOpenAI:userAgentSuffix:usesOpenAICompatibleSurfaceIDs:supportsProviderOwnedBatch:) | init(providerID: String, defaultBaseURL: String, authorization: AuthorizationStyle, supportedCapabilities: Set<ModelCapability> = [.language], settings: ProviderSettings = ProviderSettings(), routesLikeOpenAI: Bool = false, userAgentSuffix: String? = nil, usesOpenAICompatibleSurfaceIDs: Bool = false, supportsProviderOwnedBatch: Bool) throws | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:decisionModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], decisionModels: [String : AIDecisionModelReference], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | init(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) | Sources/SwiftAISDK/Compatibility.swift |
| Initializer | SwiftAISDK.init(providerID:upstreamPackage:factoryNames:supportedCapabilities:supportsFileUpload:supportsSkillUpload:notes:) | init(providerID: String, upstreamPackage: String, factoryNames: [String], supportedCapabilities: Set<ModelCapability>, supportsFileUpload: Bool = false, supportsSkillUpload: Bool = false, notes: String? = nil) | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(rawValue:) | init?(rawValue: String) | |
| Initializer | SwiftAISDK.init(redirectURIs:applicationType:tokenEndpointAuthMethod:grantTypes:responseTypes:clientName:clientURI:logoURI:scope:contacts:tosURI:policyURI:jwksURI:jwks:softwareID:softwareVersion:softwareStatement:) | init(redirectURIs: [URL], applicationType: MCPOAuthApplicationType? = nil, tokenEndpointAuthMethod: String? = nil, grantTypes: [String] = [], responseTypes: [String] = [], clientName: String? = nil, clientURI: URL? = nil, logoURI: URL? = nil, scope: String? = nil, contacts: [String] = [], tosURI: URL? = nil, policyURI: URL? = nil, jwksURI: URL? = nil, jwks: JSONValue? = nil, softwareID: String? = nil, softwareVersion: String? = nil, softwareStatement: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(reference:insertReference:) | init(reference: String? = nil, insertReference: Bool? = nil) | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Initializer | SwiftAISDK.init(region:apiKey:accessKeyID:secretAccessKey:sessionToken:credentialProvider:baseURL:headers:transport:date:) | init(region: String? = nil, apiKey: String? = nil, accessKeyID: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, credentialProvider: (@Sendable () async throws -> AmazonBedrockCredentials)? = nil, baseURL: String? = nil, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | SwiftAISDK.init(region:workspaceID:apiKey:accessKeyID:secretAccessKey:sessionToken:credentialProvider:baseURL:headers:transport:date:) | init(region: String? = nil, workspaceID: String? = nil, apiKey: String? = nil, accessKeyID: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, credentialProvider: (@Sendable () async throws -> AnthropicAWSCredentials)? = nil, baseURL: String? = nil, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, date: @escaping @Sendable () -> Date = Date.init) | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Initializer | SwiftAISDK.init(resource:authorizationServers:scopesSupported:rawValue:) | init(resource: URL, authorizationServers: [URL] = [], scopesSupported: [String] = [], rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(resourceName:apiVersion:useDeploymentBasedURLs:tokenProvider:settings:) | convenience init(resourceName: String? = nil, apiVersion: String = "v1", useDeploymentBasedURLs: Bool = false, tokenProvider: AzureOpenAITokenProvider? = nil, settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Initializer | SwiftAISDK.init(resourceName:apiVersion:useDeploymentBasedURLs:tokenProvider:settings:audioSettings:) | init(resourceName: String? = nil, apiVersion: String = "v1", useDeploymentBasedURLs: Bool = false, tokenProvider: AzureOpenAITokenProvider? = nil, settings: ProviderSettings = ProviderSettings(), audioSettings: AzureOpenAIAudioSettings) throws | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Initializer | SwiftAISDK.init(resources:nextCursor:metadata:resultType:rawValue:) | init(resources: [MCPResource], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(resourceTemplates:metadata:resultType:rawValue:) | init(resourceTemplates: [MCPResourceTemplate], metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(resourceURI:visibility:rawValue:) | init(resourceURI: String? = nil, visibility: [String]? = nil, rawValue: JSONValue = .object([:])) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | SwiftAISDK.init(role:content:rawValue:) | init(role: String, content: JSONValue, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: AnthropicAWSProviderSettings = AnthropicAWSProviderSettings()) throws | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: CartesiaProviderSettings = CartesiaProviderSettings()) throws | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: GoogleVertexProviderSettings = GoogleVertexProviderSettings()) throws | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: MiniMaxProviderSettings = MiniMaxProviderSettings()) throws | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ProviderSettings = ProviderSettings()) | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | init(settings: ZAIProviderSettings = ZAIProviderSettings()) | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Initializer | SwiftAISDK.init(settings:) | convenience init(settings: ProviderSettings = ProviderSettings()) throws | Sources/SwiftAISDK/Providers/AnthropicProvider.swift |
| Initializer | SwiftAISDK.init(settings:teamIDOrSlug:) | convenience init(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil) throws | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(settings:teamIDOrSlug:webSocketTransport:) | init(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil, webSocketTransport: any AIDuplexWebSocketTransport) throws | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(speechBaseURL:maiBaseURL:webSocketTransport:) | init(speechBaseURL: String? = nil, maiBaseURL: String? = nil, webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared) | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Initializer | SwiftAISDK.init(startDate:endDate:groupBy:datePart:userID:model:provider:credentialType:tags:) | init(startDate: String, endDate: String, groupBy: String? = nil, datePart: String? = nil, userID: String? = nil, model: String? = nil, provider: String? = nil, credentialType: String? = nil, tags: [String] = []) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(statusCode:code:message:uri:) | init(statusCode: Int? = nil, code: String? = nil, message: String, uri: String? = nil) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(store:validatePayload:onEvent:onGap:onTerminated:onError:now:) | init(store: any MCPEventStore, validatePayload: MCPEventArgumentValidator? = nil, onEvent: @escaping @Sendable (MCPEventSubscriptionInfo, MCPEvent) async throws -> Void, onGap: (@Sendable (MCPEventSubscriptionInfo, String, MCPEventGap) async throws -> Void)? = nil, onTerminated: (@Sendable (MCPEventSubscriptionInfo, String, MCPEventTermination) async throws -> Void)? = nil, onError: (@Sendable (any Error) -> Void)? = nil, now: @escaping @Sendable () -> Date = { Date() }) | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Initializer | SwiftAISDK.init(subscriptions:nextCursor:) | init(subscriptions: [MCPManagedSubscription], nextCursor: String? = nil) | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Initializer | SwiftAISDK.init(title:readOnlyHint:destructiveHint:idempotentHint:openWorldHint:) | init(title: String? = nil, readOnlyHint: Bool? = nil, destructiveHint: Bool? = nil, idempotentHint: Bool? = nil, openWorldHint: Bool? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(token:url:expiresAt:) | init(token: String, url: String, expiresAt: Int? = nil) | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Initializer | SwiftAISDK.init(tokens:) | init(tokens: MCPOAuthTokens) | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Initializer | SwiftAISDK.init(tools:nextCursor:metadata:resultType:rawValue:) | init(tools: [MCPToolDefinition], nextCursor: String? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(uri:mimeType:html:metadata:) | init(uri: String, mimeType: String = MCPApps.appMIMEType, html: String, metadata: JSONValue? = nil) | Sources/SwiftAISDK/MCPApps.swift |
| Initializer | SwiftAISDK.init(uri:name:title:description:mimeType:size:rawValue:) | init(uri: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, size: Int? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(uri:name:title:mimeType:text:blob:rawValue:) | init(uri: String, name: String? = nil, title: String? = nil, mimeType: String? = nil, text: String? = nil, blob: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(uriTemplate:name:title:description:mimeType:rawValue:) | init(uriTemplate: String, name: String, title: String? = nil, description: String? = nil, mimeType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAISDK.init(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:) | init(url: URL, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | SwiftAISDK.init(url:headers:transport:authProvider:initialSessionID:initialProtocolVersion:terminateSessionOnClose:onSessionIDChange:onSessionExpired:maxInboundReconnectAttempts:inboundReconnectDelayNanoseconds:) | convenience init(url: String, headers: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, authProvider: (any MCPOAuthProvider)? = nil, initialSessionID: String? = nil, initialProtocolVersion: String? = nil, terminateSessionOnClose: Bool = true, onSessionIDChange: (@Sendable (String?) -> Void)? = nil, onSessionExpired: (@Sendable (String) -> Void)? = nil, maxInboundReconnectAttempts: Int = 2, inboundReconnectDelayNanoseconds: UInt64 = 1_000_000_000) throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Initializer | SwiftAISDK.init(url:secret:) | init(url: URL, secret: String) | Sources/SwiftAISDK/MCPEventTypes.swift |
| Initializer | SwiftAISDK.init(values:total:hasMore:metadata:resultType:rawValue:) | init(values: [String], total: Int? = nil, hasMore: Bool? = nil, metadata: JSONValue? = nil, resultType: String? = nil, rawValue: JSONValue? = nil) | Sources/SwiftAISDK/MCPTypes.swift |
| Initializer | SwiftAITransport.init() | init() | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Initializer | SwiftAITransport.init(boundary:) | init(boundary: String = "SwiftAISDK-\(UUID().uuidString)") | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Initializer | SwiftAITransport.init(configuration:) | init(configuration: URLSessionConfiguration = .default) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Initializer | SwiftAITransport.init(event:id:data:) | init(event: String? = nil, id: String? = nil, data: String) | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Initializer | SwiftAITransport.init(method:url:headers:body:abortSignal:maxResponseBytes:followRedirects:) | init(method: String = "POST", url: URL, headers: [String : String] = [:], body: Data? = nil, abortSignal: AIAbortSignal? = nil, maxResponseBytes: Int? = nil, followRedirects: Bool = true) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(method:url:headers:body:bodyStream:cancelBodyStream:abortSignal:maxResponseBytes:followRedirects:) | init(method: String = "POST", url: URL, headers: [String : String] = [:], body: Data? = nil, bodyStream: AsyncThrowingStream<Data, any Error>? = nil, cancelBodyStream: @escaping @Sendable () async -> Void = {}, abortSignal: AIAbortSignal? = nil, maxResponseBytes: Int? = nil, followRedirects: Bool = true) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(providerID:headers:transport:dynamicHeaders:userAgentSuffix:requestModelID:url:) | init(providerID: String, headers: [String : String] = [:], transport: any AITransport, dynamicHeaders: (@Sendable () -> [String : String])? = nil, userAgentSuffix: String? = nil, requestModelID: String? = nil, url: @escaping @Sendable (String, String) throws -> URL) | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Initializer | SwiftAITransport.init(session:) | init(session: URLSession = .shared) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(statusCode:headers:body:bodyAvailable:cancelBody:) | init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, bodyAvailable: Bool = true, cancelBody: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(statusCode:headers:body:cancelBody:) | init(statusCode: Int, headers: [String : String] = [:], body: AsyncThrowingStream<Data, any Error>, cancelBody: @escaping @Sendable () -> Void = {}) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(statusCode:headers:body:url:) | init(statusCode: Int, headers: [String : String] = [:], body: Data = Data(), url: URL? = nil) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Initializer | SwiftAITransport.init(url:headers:protocols:abortSignal:) | init(url: URL, headers: [String : String] = [:], protocols: [String] = [], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Initializer | SwiftAITransport.init(url:message:) | init(url: String, message: String) | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAI.appendAudio(_:) | func appendAudio(_ audio: Data) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.appendAudio(base64:) | func appendAudio(base64: String) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.appendContext(_:delegationID:eventID:providerOptions:) | func appendContext(_ content: String, delegationID: String?, eventID: String? = nil, providerOptions: [String : JSONValue]? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.cancel() | func cancel() | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Method | SwiftAI.cancel(reason:) | func cancel(reason: String? = nil) async | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.cancelResponse() | func cancelResponse() async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.clear() | @MainActor func clear() | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.clearAudio() | func clearAudio() async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.clearError() | @MainActor func clearError() | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.close(code:reason:) | func close(code: Int = AIDuplexWebSocketCloseMetadata.normalClosure.code, reason: String? = nil) async | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.close(code:reason:eventID:) | func close(code: Int = AIDuplexWebSocketCloseMetadata.normalClosure.code, reason: String? = nil, eventID: String) async | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.commitAudio() | func commitAudio() async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.createResponse(options:) | func createResponse(options: AIRealtimeResponseOptions? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.embed(_:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func embed(_ value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.embeddingModel(_:) | func embeddingModel(_ modelID: ModelID) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.embedMany(_:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func embedMany(_ values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.executeLanguageModelCall(_:) | func executeLanguageModelCall<Output>(_ context: Telemetry.LanguageModelCallContext<Output>) async throws -> Output where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Method | SwiftAI.executeLanguageModelCall(_:) | func executeLanguageModelCall<Output>(_ context: Telemetry.LanguageModelCallContext<Output>) async throws -> Output where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Method | SwiftAI.executeTool(_:) | func executeTool<Output>(_ context: Telemetry.ToolExecutionContext<Output>) async throws -> Output where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Method | SwiftAI.executeTool(_:) | func executeTool<Output>(_ context: Telemetry.ToolExecutionContext<Output>) async throws -> Output where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Method | SwiftAI.files(_:) | func files(_ providerID: String) throws -> any AIFileClient | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.files() | func files() throws -> any AIFileClient | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.generate(messages:) | func generate(messages: [AIMessage]) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(messages:options:) | func generate(messages: [AIMessage], options: AIAgentCallOptions) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(messages:options:) | func generate(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(prompt:) | func generate(prompt: String) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(prompt:options:) | func generate(prompt: String, options: AIAgentCallOptions) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generate(prompt:options:) | func generate(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.generateAudio(_:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateAudio(_ prompt: String, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateImage(_:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateImage(_ prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateObject(_:as:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | func generateObject<Object>(_ prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateObject(_:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | func generateObject<Schema>(_ prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateSpeech(_:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateSpeech(_ text: String, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateText(_:options:tools:) | func generateText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateText(_:output:options:jsonInstruction:repairText:) | func generateText<FinalOutput, PartialOutput>(_ prompt: String, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateText(messages:options:tools:) | func generateText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.generateVideo(_:aspectRatio:durationSeconds:image:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func generateVideo(_ prompt: String, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.imageModel(_:) | func imageModel(_ modelID: ModelID) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.inputSchema(for:) | func inputSchema(for toolName: String) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Method | SwiftAI.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.languageModel(_:) | func languageModel(_ modelID: ModelID) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.languageModelRequest(messages:abortSignal:) | func languageModelRequest(messages: [AIMessage], abortSignal: AIAbortSignal? = nil) -> LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.languageModelRequest(messages:abortSignal:headers:) | func languageModelRequest(messages: [AIMessage], abortSignal: AIAbortSignal? = nil, headers additionalHeaders: [String : String] = [:]) -> LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Method | SwiftAI.makeAsyncIterator() | func makeAsyncIterator() -> AIRealtimeSession.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.makeAsyncIterator() | func makeAsyncIterator() -> StreamingSpeechPartStream.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Method | SwiftAI.makeAsyncIterator() | func makeAsyncIterator() -> StreamingSpeechAudioStream.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Method | SwiftAI.muteInput(eventID:) | func muteInput(eventID: String? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.next() | mutating func next() async throws -> StreamingSpeechPart? | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Method | SwiftAI.next() | mutating func next() async throws -> Data? | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Method | SwiftAI.receive(abortSignal:) | func receive(abortSignal: AIAbortSignal? = nil) async throws -> VideoGenerationOperationWebhook | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.record(_:) | func record(_ event: Telemetry.Event) async | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Method | SwiftAI.request(messages:tools:) | func request(messages: [AIMessage], tools: LanguageToolOptions = .none) -> LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.rerank(query:documents:topK:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func rerank(query: String, documents: [String], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.rerankingModel(_:) | func rerankingModel(_ modelID: ModelID) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.send(_:) | func send(_ event: AIRealtimeClientEvent) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.sendAudioMessage(_:) | func sendAudioMessage(_ audio: Data) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.sendFunctionCallOutput(callID:name:output:) | func sendFunctionCallOutput(callID: String, name: String? = nil, output: String) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.sendText(_:) | func sendText(_ text: String) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.skills(_:) | func skills(_ providerID: String) throws -> any AISkillsClient | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.skills() | func skills() throws -> any AISkillsClient | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.speechModel(_:) | func speechModel(_ modelID: ModelID) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.startVideoGeneration(_:) | func startVideoGeneration(_ request: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.stop(reason:) | @MainActor func stop(reason: String? = "stopped") | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.stream(messages:) | func stream(messages: [AIMessage]) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(messages:options:) | func stream(messages: [AIMessage], options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(messages:options:) | func stream(messages: [AIMessage], options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(prompt:) | func stream(prompt: String) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(prompt:options:) | func stream(prompt: String, options: AIAgentCallOptions) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.stream(prompt:options:) | func stream(prompt: String, options: AIAgentCallOptions = AIAgentCallOptions()) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Method | SwiftAI.streamText(_:options:tools:timeoutNanoseconds:) | func streamText(_ prompt: String, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.streamText(_:output:options:timeoutNanoseconds:jsonInstruction:repairText:) | func streamText<FinalOutput, PartialOutput>(_ prompt: String, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, timeoutNanoseconds: UInt64? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.streamText(messages:options:tools:timeoutNanoseconds:) | func streamText(messages: [AIMessage], options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.submit(_:options:) | @discardableResult @MainActor func submit(_ prompt: String, options: AIObjectGenerationSessionRequestOptions = AIObjectGenerationSessionRequestOptions()) -> Task<Void, Never> | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.submit(messages:options:) | @discardableResult @MainActor func submit(messages: [AIMessage], options: AIObjectGenerationSessionRequestOptions = AIObjectGenerationSessionRequestOptions()) -> Task<Void, Never> | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.submit(request:timeoutNanoseconds:retryPolicy:telemetry:jsonInstruction:repairText:) | @discardableResult @MainActor func submit(request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> Task<Void, Never> | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Method | SwiftAI.transcribe(audio:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func transcribe(audio: Data, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.transcriptionModel(_:) | func transcriptionModel(_ modelID: ModelID) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.transformAudio(audio:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | func transformAudio(audio: Data, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAI.unmuteInput(eventID:) | func unmuteInput(eventID: String? = nil) async throws | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Method | SwiftAI.userApproval(reason:) | func userApproval(reason: String? = nil) -> AIToolApprovalStatus | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Method | SwiftAI.videoGenerationStatus(_:) | func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Method | SwiftAI.videoModel(_:) | func videoModel(_ modelID: ModelID) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [AISource] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:) | mutating func apply(event raw: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(event:citationDocuments:) | mutating func apply(event raw: JSONValue, citationDocuments: [AnthropicCitationDocument] = []) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.apply(messageStartContent:) | mutating func apply(messageStartContent value: JSONValue?) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) -> any BatchLanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.environmentValue(_:) | func environmentValue(_ names: [String]) -> String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.experimentalBatch() | func experimentalBatch() -> any AIBatchProvider | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.experimentalDecisionModel(_:) | func experimentalDecisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.files() | func files() -> any AIFileClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.finishParts() | mutating func finishParts() -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.finishParts(citationDocuments:) | mutating func finishParts(citationDocuments: [AnthropicCitationDocument] = []) -> [LanguageStreamPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.finishSources() | mutating func finishSources() -> [AISource] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Method | SwiftAIAnthropic.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Method | SwiftAIAnthropic.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.messages(_:) | func messages(_ modelID: String) throws -> any BatchLanguageModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.rawRequest(path:modelID:body:contentType:headers:abortSignal:) | func rawRequest(path: String, modelID: String, body: Data, contentType: String?, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.request(path:modelID:body:headers:abortSignal:) | func request(path: String, modelID: String, body: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.skills() | func skills() -> any AISkillsClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Method | SwiftAIAnthropic.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Method | SwiftAIAnthropic.streamRequest(_:) | func streamRequest(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIAnthropic.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Method | SwiftAIAnthropic.uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Instance Method | SwiftAIAnthropic.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Method | SwiftAIAnthropic.withProviderID(_:) | func withProviderID(_ providerID: String) -> AnthropicModelConfiguration | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Method | SwiftAIOpenAI.batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) -> any BatchLanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.buildValidatedSessionConfig(_:) | func buildValidatedSessionConfig(_ config: AIRealtimeSessionConfiguration) throws -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.chat(_:) | func chat(_ modelID: String) -> any LanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.compatibleConfiguration() | func compatibleConfiguration() -> OpenAICompatibleModelConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.completion(_:) | func completion(_ modelID: String) -> any LanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.completionModel(_:) | func completionModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.createServerEventParser() | func createServerEventParser() -> AIRealtimeServerEventParser | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Method | SwiftAIOpenAI.doEvaluate(_:) | func doEvaluate(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Method | SwiftAIOpenAI.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Method | SwiftAIOpenAI.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.experimentalBatch() | func experimentalBatch() -> any AIBatchProvider | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.experimentalDecisionModel(_:) | func experimentalDecisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.experimentalRealtime(_:) | func experimentalRealtime(_ modelID: String) throws -> any AIRealtimeModelV4 | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.files() | func files() -> any AIFileClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.getServerWebSocketConfig() | func getServerWebSocketConfig() throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.getValidatedWebSocketConfig(token:url:) | func getValidatedWebSocketConfig(token: String, url: String) throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.httpStatusError(_:) | func httpStatusError(_ response: AIHTTPResponse) -> AIError | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.preparedBatchRequest(for:) | func preparedBatchRequest(for request: LanguageModelRequest) throws -> OpenAICompatibleResponsesPreparedRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Method | SwiftAIOpenAI.rawRequest(path:modelID:body:contentType:headers:abortSignal:) | func rawRequest(path: String, modelID: String, body: Data, contentType: String?, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.request(path:modelID:body:headers:abortSignal:) | func request(path: String, modelID: String, body: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.responses(_:) | func responses(_ modelID: String) -> any BatchLanguageModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.sendJSONResponse(path:modelID:body:headers:abortSignal:) | func sendJSONResponse(path: String, modelID: String, body: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> (json: JSONValue, response: AIHTTPResponse) | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Method | SwiftAIOpenAI.skills() | func skills() -> any AISkillsClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Instance Method | SwiftAIOpenAI.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAIOpenAI.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Method | SwiftAIOpenAI.streamRequest(_:) | func streamRequest(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAI.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Instance Method | SwiftAIOpenAI.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Method | SwiftAIOpenAI.uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Instance Method | SwiftAIOpenAI.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Method | SwiftAIOpenAI.withProviderID(_:) | func withProviderID(_ providerID: String) -> OpenAIModelConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Method | SwiftAIOpenAICompatible.chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.completionModel(_:) | func completionModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Method | SwiftAIOpenAICompatible.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Method | SwiftAIOpenAICompatible.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Method | SwiftAIOpenAICompatible.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Method | SwiftAIOpenAICompatible.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Method | SwiftAIOpenAICompatible.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Method | SwiftAIOpenAICompatible.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIOpenAICompatible.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAIProvider.abort(reason:reasonName:) | func abort(reason: String? = nil, reasonName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.addAbortHandler(_:) | @discardableResult func addAbortHandler(_ handler: @escaping @Sendable (String?) -> Void) -> AIAbortHandlerRegistration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.buildValidatedSessionConfig(_:) | func buildValidatedSessionConfig(_ config: AIRealtimeSessionConfiguration) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.buildValidatedSessionConfig(_:) | func buildValidatedSessionConfig(_ config: AIRealtimeSessionConfiguration) throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.cancel() | func cancel() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.cancel() | func cancel() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Method | SwiftAIProvider.cancel() | func cancel() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.cancel(reason:reasonName:) | func cancel(reason: String? = nil, reasonName: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.cancelFromConsumer() | func cancelFromConsumer() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Method | SwiftAIProvider.cancelFromConsumer() | func cancelFromConsumer() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.createClientSecret(_:) | func createClientSecret(_ options: AIRealtimeClientSecretOptions = .init()) async throws -> AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.createServerEventParser() | func createServerEventParser() -> AIRealtimeServerEventParser | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.createServerEventParser() | func createServerEventParser() -> AIRealtimeServerEventParser | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Method | SwiftAIProvider.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions) async throws -> AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions) async throws -> AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Method | SwiftAIProvider.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Method | SwiftAIProvider.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.embedding(_:) | func embedding(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.encode(to:) | func encode(to encoder: any Encoder) throws | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Method | SwiftAIProvider.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Method | SwiftAIProvider.files() | func files() throws -> any AIFileClient | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.finish() | func finish() | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.getHealthCheckResponse(_:) | func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getHealthCheckResponse(_:) | func getHealthCheckResponse(_ raw: JSONValue) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getServerWebSocketConfig() | func getServerWebSocketConfig() throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getServerWebSocketConfig() | func getServerWebSocketConfig() throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getValidatedWebSocketConfig(token:url:) | func getValidatedWebSocketConfig(token: String, url: String) throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getValidatedWebSocketConfig(token:url:) | func getValidatedWebSocketConfig(token: String, url: String) throws -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.image(_:) | func image(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.makeAsyncIterator() | func makeAsyncIterator() -> AIStreamingTextInput.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Method | SwiftAIProvider.makeAsyncIterator() | func makeAsyncIterator() -> AIStreamingAudioInput.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.providerID(for:) | func providerID(for provider: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Instance Method | SwiftAIProvider.providerID(for:) | func providerID(for provider: String) throws -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Instance Method | SwiftAIProvider.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.reranking(_:) | func reranking(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.send(_:) | @discardableResult func send(_ audio: Data) -> AIStreamingAudioSendResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Method | SwiftAIProvider.skills() | func skills() throws -> any AISkillsClient | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.speech(_:) | func speech(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Method | SwiftAIProvider.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.stream(_:) | func stream(_ request: StreamingSpeechRequest) async throws -> StreamingSpeechModelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Method | SwiftAIProvider.stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Method | SwiftAIProvider.test(_:) | func test(_ url: String) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.textEmbedding(_:) | func textEmbedding(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.textEmbeddingModel(_:) | func textEmbeddingModel(_ modelID: String) throws -> any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.throwIfAborted() | func throwIfAborted() throws | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProvider.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.transcription(_:) | func transcription(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.uploadSkill(_:) | func uploadSkill(_ request: SkillUploadRequest) async throws -> SkillUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.video(_:) | func video(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Method | SwiftAIProvider.waitUntilAborted() | func waitUntilAborted() async -> String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Method | SwiftAIProviderUtilities.addStream(_:) | func addStream(_ innerStream: AsyncThrowingStream<Element, any Error>) throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.apply(delta:) | mutating func apply(delta: JSONValue) -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/OpenAIStyleStreamingToolCalls.swift |
| Instance Method | SwiftAIProviderUtilities.close() | func close() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Method | SwiftAIProviderUtilities.doEvaluate(_:) | func doEvaluate(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Method | SwiftAIProviderUtilities.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Method | SwiftAIProviderUtilities.finish() | mutating func finish() -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Instance Method | SwiftAIProviderUtilities.finishedParts() | mutating func finishedParts() -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/OpenAIStyleStreamingToolCalls.swift |
| Instance Method | SwiftAIProviderUtilities.flush() | mutating func flush() -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Method | SwiftAIProviderUtilities.hasMatchingBuffer(for:) | func hasMatchingBuffer(for delta: JSONValue) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/OpenAIStyleStreamingToolCalls.swift |
| Instance Method | SwiftAIProviderUtilities.logWarnings(_:) | func logWarnings(_ event: AIWarningLogEvent) async | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Method | SwiftAIProviderUtilities.logWarnings(_:) | func logWarnings(_ event: AIWarningLogEvent) async | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Method | SwiftAIProviderUtilities.normalize(_:) | mutating func normalize(_ part: LanguageStreamPart) throws -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Instance Method | SwiftAIProviderUtilities.processDelta(_:) | mutating func processDelta(_ delta: AIStreamingToolCallDelta) throws -> [LanguageStreamPart] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Method | SwiftAIProviderUtilities.reject(_:) | func reject(_ error: any Error) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Method | SwiftAIProviderUtilities.resolve(_:) | func resolve(_ value: Value) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Method | SwiftAIProviderUtilities.run(_:) | func run(_ job: @escaping @Sendable () async throws -> Void) -> Task<Void, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Instance Method | SwiftAIProviderUtilities.terminate() | func terminate() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.toCustomToolName(_:) | func toCustomToolName(_ providerToolName: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.toProviderToolName(_:) | func toProviderToolName(_ customToolName: String) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Method | SwiftAIProviderUtilities.value() | func value() async throws -> Value | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Method | SwiftAIProviderUtilities.waitForIdle() | func waitForIdle() async | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreSerialJobExecutor.swift |
| Instance Method | SwiftAISDK.accessToken() | func accessToken() async throws -> String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.addToolApprovalResponse(_:id:metadata:options:) | @MainActor func addToolApprovalResponse(_ response: AIToolApprovalResponse, id: String? = nil, metadata: [String : JSONValue] = [:], options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.addToolOutput(_:id:metadata:options:) | @MainActor func addToolOutput(_ result: AIToolResult, id: String? = nil, metadata: [String : JSONValue] = [:], options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.addToolResult(_:id:metadata:options:) | @MainActor func addToolResult(_ result: AIToolResult, id: String? = nil, metadata: [String : JSONValue] = [:], options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.applying(to:) | func applying(to original: MCPEventSubscription) throws -> MCPEventSubscription | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Method | SwiftAISDK.audio(dubbingID:languageCode:headers:abortSignal:) | func audio(dubbingID: String, languageCode: String, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> DubbingAudioResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.authenticateTokenRequest(_:) | func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.authenticateTokenRequest(_:) | func authenticateTokenRequest(_ request: MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.authorizationServerInformation() | func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.authorizationServerInformation() | func authorizationServerInformation() async throws -> MCPOAuthAuthorizationServerInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.authorize(resourceMetadataURL:) | func authorize(resourceMetadataURL: URL?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.authorize(resourceMetadataURL:scope:) | func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.authorize(resourceMetadataURL:scope:) | func authorize(resourceMetadataURL: URL?, scope: String?) async throws -> Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.availableModels() | func availableModels() async throws -> [GatewayModelEntry] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) -> any BatchLanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.batchLanguageModel(_:) | func batchLanguageModel(_ modelID: String) throws -> any BatchLanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.buildSessionConfig(_:) | func buildSessionConfig(_ config: AIRealtimeSessionConfiguration) -> JSONValue | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:) | func callAsFunction(_ modelID: String) -> GatewaySpeechModel | Sources/SwiftAISDK/Models/GatewayStreamingSpeechModel.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:) | func callAsFunction(_ modelID: String) -> GatewayTranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:) | func callAsFunction(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:) | func callAsFunction(_ modelID: ZAIChatModelID) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.callAsFunction(_:settings:) | func callAsFunction(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.callAsFunction() | func callAsFunction() throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.callTool(name:arguments:options:) | func callTool(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPCallToolResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.cancelBatch(_:) | func cancelBatch(_ options: AIBatchOperationOptions) async throws -> AIBatchCancelResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.chat(_:) | func chat(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.chat(_:) | func chat(_ modelID: ZAIChatModelID) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.chat(_:settings:) | func chat(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.chatModel(_:) | func chatModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.chatModel(_:) | func chatModel(_ modelID: ZAIChatModelID) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.chatModel(_:settings:) | func chatModel(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.chatModel() | func chatModel() throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.clearError() | @MainActor func clearError() | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.clientInformation() | func clientInformation() async throws -> MCPOAuthClientInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.clientInformation() | func clientInformation() async throws -> MCPOAuthClientInformation? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.close() | func close() async | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.close() | func close() async | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.close() | func close() async throws | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.close() | func close() async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.close() | func close() async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | SwiftAISDK.close() | func close() async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.codeVerifier() | func codeVerifier() async throws -> String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.complete(ref:argument:contextArguments:metadata:options:) | func complete(ref: JSONValue, argument: MCPCompleteArgument, contextArguments: [String : String]? = nil, metadata: JSONValue? = nil, options: MCPRequestOptions? = nil) async throws -> MCPCompleteResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.completion(_:) | func completion(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.completion(_:) | func completion(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.completion(_:settings:) | func completion(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.completionModel(_:) | func completionModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.completionModel(_:) | func completionModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.completionModel(_:settings:) | func completionModel(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.consume(_:) | @discardableResult mutating func consume(_ part: LanguageStreamPart) throws -> AIUIMessage | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Method | SwiftAISDK.consume(contentsOf:) | @discardableResult mutating func consume<S>(contentsOf parts: S) throws -> AIUIMessage where S : Sequence, S.Element == LanguageStreamPart | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Method | SwiftAISDK.conversation(_:) | func conversation(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.create(_:) | func create(_ request: DubbingCreateRequest) async throws -> DubbingCreateResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.createAdapter(transport:) | func createAdapter(transport: MCPEventTransportMetadata) throws -> any MCPEventOperations | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Method | SwiftAISDK.credits() | func credits() async throws -> GatewayCredits | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.decision(_:) | func decision(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.decision(_:) | func decision(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.decisionModel(_:) | func decisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.deepseek(_:) | func deepseek(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.delete(key:) | func delete(key: String) async throws | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Method | SwiftAISDK.deleteFile(_:) | func deleteFile(_ request: FileDeleteRequest) async throws -> FileDeleteResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | SwiftAISDK.dispose() | @MainActor func dispose() async | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.doCreateClientSecret(_:) | func doCreateClientSecret(_ options: AIRealtimeClientSecretOptions = .init()) async throws -> AIRealtimeClientSecretResult | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | SwiftAISDK.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Instance Method | SwiftAISDK.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Sources/SwiftAISDK/Models/PerplexityDecisionModel.swift |
| Instance Method | SwiftAISDK.doDecide(_:) | func doDecide(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Instance Method | SwiftAISDK.doEvaluate(_:) | func doEvaluate(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Instance Method | SwiftAISDK.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Sources/SwiftAISDK/Models/GatewayEvaluationModel.swift |
| Instance Method | SwiftAISDK.doEvaluate(_:) | func doEvaluate(_ options: AIDecisionModelV4CallOptions) async throws -> AIDecisionModelV4Result | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Instance Method | SwiftAISDK.doEvaluate(_:) | func doEvaluate(_ options: AIEvaluationModelV4CallOptions) async throws -> AIEvaluationModelV4Result | Sources/SwiftAISDK/Models/TypesafeAIEvaluationModel.swift |
| Instance Method | SwiftAISDK.downloadFile(_:) | func downloadFile(_ request: FileDownloadRequest) async throws -> FileDownloadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | SwiftAISDK.dubbing() | func dubbing() throws -> ElevenLabsDubbingClient | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Method | SwiftAISDK.embed(_:) | func embed(_ request: EmbeddingRequest) async throws -> EmbeddingResult | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:) | func embeddingModel(_ modelID: String) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel(_:settings:) | func embeddingModel(_ modelID: String, settings: AmazonBedrockEmbeddingModelSettings) throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.embeddingModel() | func embeddingModel() throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.evaluation(_:) | func evaluation(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.evaluationModel(_:) | func evaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.experimentalBatch() | func experimentalBatch() -> any AIBatchProvider | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.experimentalBatch() | func experimentalBatch() -> any AIBatchProvider | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.experimentalBatch() | func experimentalBatch() throws -> any AIBatchProvider | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.experimentalDecisionModel(_:) | func experimentalDecisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.experimentalDecisionModel(_:) | func experimentalDecisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.experimentalGetPrompt(name:arguments:options:) | func experimentalGetPrompt(name: String, arguments: JSONValue = .object([:]), options: MCPRequestOptions? = nil) async throws -> MCPGetPromptResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.experimentalListPrompts(cursor:options:) | func experimentalListPrompts(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListPromptsResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.experimentalRealtime(_:) | func experimentalRealtime(_ modelID: String) throws -> any AIRealtimeModelV4 | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.files() | func files() throws -> any AIFileClient | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.files() | func files() -> any AIFileClient | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/MistralConversationLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.generate(_:) | func generate(_ request: LanguageModelRequest) async throws -> TextGenerationResult | Sources/SwiftAISDK/Models/ZAILanguageModel.swift |
| Instance Method | SwiftAISDK.generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.generateAudio(_:) | func generateAudio(_ request: AudioGenerationRequest) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Instance Method | SwiftAISDK.generateImage(_:) | func generateImage(_ request: ImageGenerationRequest) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Method | SwiftAISDK.generateVideo(_:) | func generateVideo(_ request: VideoGenerationRequest) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | SwiftAISDK.get(_:headers:abortSignal:) | func get(_ dubbingID: String, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) async throws -> DubbingStatusResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.get(key:) | func get(key: String) async throws -> MCPEventSubscription? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Method | SwiftAISDK.getAvailableModels() | func getAvailableModels() async throws -> [GatewayModelEntry] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchItemResult<TextGenerationResult>, any Error> | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchResults(_:) | func getBatchResults(_ options: AIBatchOperationOptions) async throws -> AsyncThrowingStream<AIBatchV4ItemResult, any Error> | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getBatchStatus(_:) | func getBatchStatus(_ options: AIBatchOperationOptions) async throws -> AIBatchStatus | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.getById(_:) | func getById(_ id: String) async throws -> MCPEventSubscription? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Method | SwiftAISDK.getCredits() | func getCredits() async throws -> GatewayCredits | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.getFileMetadata(_:) | func getFileMetadata(_ request: FileMetadataRequest) async throws -> FileMetadataResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | SwiftAISDK.getGenerationInfo(id:) | func getGenerationInfo(id: String) async throws -> GatewayGenerationInfo | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.getSpendReport(_:) | func getSpendReport(_ params: GatewaySpendReportParams) async throws -> GatewaySpendReportResponse | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.getSubscription(id:options:) | func getSubscription(id: String, options: MCPRequestOptions?) async throws -> MCPManagedSubscription | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Method | SwiftAISDK.getSubscription(id:options:) | func getSubscription(id: String, options: MCPRequestOptions? = nil) async throws -> MCPManagedSubscription | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.getToken(_:) | func getToken(_ options: GatewaySpeechFactoryGetTokenOptions) async throws -> GatewaySpeechFactoryGetTokenResult | Sources/SwiftAISDK/Models/GatewayStreamingSpeechModel.swift |
| Instance Method | SwiftAISDK.getToken(_:) | func getToken(_ options: GatewayTranscriptionFactoryGetTokenOptions) async throws -> GatewayTranscriptionFactoryGetTokenResult | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.getWebSocketConfig(token:url:) | func getWebSocketConfig(token: String, url: String) -> AIRealtimeWebSocketConfiguration | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | SwiftAISDK.handle(_:) | func handle(_ request: AIHTTPRequest) async -> AIHTTPResponse | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Instance Method | SwiftAISDK.handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | SwiftAISDK.handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.imageModel(_:) | func imageModel(_ modelID: String) throws -> any ImageModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.interactionsAgent(_:) | func interactionsAgent(_ agentName: String) -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.interactionsAgent(_:) | func interactionsAgent(_ agentName: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.interactionsModel(_:) | func interactionsModel(_ modelID: String) -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.interactionsModel(_:) | func interactionsModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.invalidateCredentials(_:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.invalidateCredentials(_:context:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope, context: MCPOAuthCredentialInvalidationContext?) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.invalidateCredentials(_:context:) | func invalidateCredentials(_ scope: MCPOAuthCredentialScope, context: MCPOAuthCredentialInvalidationContext?) async | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.isClientInformationDynamicallyRegistered() | func isClientInformationDynamicallyRegistered() async -> Bool | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.isClientInformationDynamicallyRegistered() | func isClientInformationDynamicallyRegistered() async -> Bool | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:) | func languageModel(_ modelID: ZAIChatModelID) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:settings:) | func languageModel(_ modelID: String, settings: AmazonBedrockChatModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.languageModel(_:settings:) | func languageModel(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.languageModel() | func languageModel() throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.list(cursor:options:) | func list(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListEventsResult | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.listBatches(_:) | func listBatches(_ options: AIBatchListOptions) async throws -> AIBatchListResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.listResources(cursor:options:) | func listResources(cursor: String? = nil, options: MCPRequestOptions? = nil) async throws -> MCPListResourcesResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.listResourceTemplates(options:) | func listResourceTemplates(options: MCPRequestOptions? = nil) async throws -> MCPListResourceTemplatesResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.listSubscriptions(cursor:limit:status:options:) | func listSubscriptions(cursor: String?, limit: Int?, status: MCPManagedSubscription.Status?, options: MCPRequestOptions?) async throws -> MCPManagedSubscriptionPage | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Method | SwiftAISDK.listSubscriptions(cursor:limit:status:options:) | func listSubscriptions(cursor: String? = nil, limit: Int? = nil, status: MCPManagedSubscription.Status? = nil, options: MCPRequestOptions? = nil) async throws -> MCPManagedSubscriptionPage | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.listTools(cursor:) | func listTools(cursor: String? = nil) async throws -> MCPListToolsResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.messages(_:) | func messages(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.messages(_:) | func messages(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.music(_:) | func music(_ modelID: String = "music_v1") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.musicModel(_:) | func musicModel(_ modelID: String = "music_v1") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | SwiftAISDK.notify(_:) | func notify(_ message: JSONValue) async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.onElicitationRequest(_:) | func onElicitationRequest(_ handler: MCPElicitationHandler?) | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.parseServerEvent(_:) | func parseServerEvent(_ raw: JSONValue) -> [AIRealtimeServerEvent] | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | SwiftAISDK.readResource(uri:options:) | func readResource(uri: String, options: MCPRequestOptions? = nil) async throws -> MCPReadResourceResult | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.realtime(_:) | func realtime(_ modelID: String) throws -> XAIRealtimeModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.realtimeModel(_:) | func realtimeModel(_ modelID: String) throws -> XAIRealtimeModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.reconnectToStream(_:) | func reconnectToStream(_ request: AIChatReconnectRequest) async throws -> AsyncThrowingStream<AIUIMessage, any Error>? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.reconnectToStream(_:) | func reconnectToStream(_ request: AIChatReconnectRequest) async throws -> AsyncThrowingStream<AIUIMessage, any Error>? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.reconnectToStream(_:) | func reconnectToStream(_ request: AIChatReconnectRequest) async throws -> AsyncThrowingStream<AIUIMessage, any Error>? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.redirectToAuthorization(_:) | func redirectToAuthorization(_ authorizationURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.refresh(_:options:) | func refresh(_ reference: MCPEventSubscriptionReference, options: MCPRequestOptions? = nil) async throws -> MCPSubscribeEventResult | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.regenerate(messageID:options:) | @discardableResult @MainActor func regenerate(messageID: String? = nil, options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | SwiftAISDK.request(_:) | func request(_ message: JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.request(_:options:) | func request(_ message: JSONValue, options: MCPRequestOptions?) async throws -> JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Instance Method | SwiftAISDK.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Method | SwiftAISDK.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | SwiftAISDK.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Method | SwiftAISDK.rerank(_:) | func rerank(_ request: RerankingRequest) async throws -> RerankingResult | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.rerankingModel(_:) | func rerankingModel(_ modelID: String) throws -> any RerankingModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.responses(_:) | func responses(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.responses(_:settings:) | func responses(_ deploymentID: String, settings: AzureOpenAILanguageModelSettings) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.responsesModel(_:) | func responsesModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.responsesModel(_:) | func responsesModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.resumeStream(options:) | @discardableResult @MainActor func resumeStream(options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.saveAuthorizationServerInformation(_:) | func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveAuthorizationServerInformation(_:) | func saveAuthorizationServerInformation(_ information: MCPOAuthAuthorizationServerInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveClientInformation(_:) | func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveClientInformation(_:) | func saveClientInformation(_ clientInformation: MCPOAuthClientInformation) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveCodeVerifier(_:) | func saveCodeVerifier(_ codeVerifier: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveState(_:) | func saveState(_ state: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveState(_:) | func saveState(_ state: String) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.saveTokens(_:) | func saveTokens(_ tokens: MCPOAuthTokens) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.sendMessage(_:id:metadata:replacingMessageID:options:) | @discardableResult @MainActor func sendMessage(_ text: String, id: String? = nil, metadata: [String : JSONValue] = [:], replacingMessageID: String? = nil, options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.sendMessage(_:replacingMessageID:options:) | @discardableResult @MainActor func sendMessage(_ message: AIUIMessage, replacingMessageID: String? = nil, options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.sendMessage(options:) | @discardableResult @MainActor func sendMessage(options: AIChatSessionRequestOptions = AIChatSessionRequestOptions()) -> Task<Void, Never> | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.sendMessages(_:) | func sendMessages(_ request: AIChatTransportRequest) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.sendMessages(_:) | func sendMessages(_ request: AIChatTransportRequest) throws -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Method | SwiftAISDK.serializeClientEvent(_:) | func serializeClientEvent(_ event: AIRealtimeClientEvent) async throws -> AIRealtimeWireMessage? | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Method | SwiftAISDK.set(_:) | func set(_ subscription: MCPEventSubscription) async throws | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Method | SwiftAISDK.setMessages(_:) | @MainActor func setMessages(_ messages: [AIUIMessage]) | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.setProtocolVersion(_:) | func setProtocolVersion(_ protocolVersion: String?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | SwiftAISDK.setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.setRequestHandler(_:) | func setRequestHandler(_ handler: (@Sendable (JSONValue) async -> JSONValue)?) async | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.skills() | func skills() throws -> any AISkillsClient | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.skills() | func skills() -> any AISkillsClient | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.skills() | func skills() throws -> any AISkillsClient | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.sonarModel(_:) | func sonarModel(_ modelID: String) throws -> any LanguageModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.soundEffects(_:) | func soundEffects(_ modelID: String = "eleven_text_to_sound_v2") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.soundEffectsModel(_:) | func soundEffectsModel(_ modelID: String = "eleven_text_to_sound_v2") throws -> any AudioGenerationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Instance Method | SwiftAISDK.speak(_:) | func speak(_ request: SpeechRequest) async throws -> SpeechResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | SwiftAISDK.speech(_:) | func speech(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.speech() | func speech() throws -> any SpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.speechModel(_:) | func speechModel(_ modelID: String) throws -> any SpeechModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.speechModel() | func speechModel() throws -> any SpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.start() | func start() async throws | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Method | SwiftAISDK.start() | func start() async throws | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Method | SwiftAISDK.start() | func start() async throws | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Method | SwiftAISDK.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AILanguageModelBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.startBatch(_:) | func startBatch(_ options: AIBatchStartOptions<AIBatchRequest>) async throws -> AIBatchStartResult | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Method | SwiftAISDK.startVideoGeneration(_:) | func startVideoGeneration(_ operationRequest: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Instance Method | SwiftAISDK.state() | func state() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.state() | func state() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.stop(reason:) | @MainActor func stop(reason: String? = "stopped") | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.stopAndWait(reason:) | @MainActor func stopAndWait(reason: String? = "stopped") async | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Method | SwiftAISDK.storedState() | func storedState() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.storedState() | func storedState() async throws -> String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Models/AzureMaiStreamingTranscription.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: StreamingSpeechRequest) async throws -> StreamingSpeechModelResult | Sources/SwiftAISDK/Models/ElevenLabsStreamingSpeechModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: StreamingSpeechRequest) async throws -> StreamingSpeechModelResult | Sources/SwiftAISDK/Models/GatewayStreamingSpeechModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Models/GatewayStreamingTranscriptionModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/MistralConversationLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: StreamingTranscriptionRequest) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Method | SwiftAISDK.stream(_:) | func stream(_ request: LanguageModelRequest) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Models/ZAILanguageModel.swift |
| Instance Method | SwiftAISDK.streamingSpeechModel(_:) | func streamingSpeechModel(_ modelID: String) throws -> any StreamingSpeechModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.streamingSpeechModel(_:webSocketTransport:) | func streamingSpeechModel(_ modelID: String, webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared) throws -> any StreamingSpeechModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.streamingTranscription(_:) | func streamingTranscription(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.streamingTranscription(_:) | func streamingTranscription(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.streamingTranscriptionModel(_:) | func streamingTranscriptionModel(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.streamingTranscriptionModel(_:) | func streamingTranscriptionModel(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.streamingTranscriptionModel(_:) | func streamingTranscriptionModel(_ modelID: String) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.streamingTranscriptionModel(_:webSocketTransport:) | func streamingTranscriptionModel(_ modelID: String = "", webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared) throws -> any StreamingTranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.subscribe(_:) | func subscribe(_ input: MCPManagedSubscribeInput) async throws -> MCPManagedSubscription | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Method | SwiftAISDK.subscribe(_:) | func subscribe(_ input: MCPSubscribeEventOptions) async throws -> MCPSubscribeEventResult | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.subscribe(_:) | func subscribe(_ input: MCPManagedSubscribeInput) async throws -> MCPManagedSubscription | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.supports(_:) | func supports(_ capability: ModelCapability) -> Bool | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Method | SwiftAISDK.textEmbeddingModel() | func textEmbeddingModel() throws -> any EmbeddingModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.tokens() | func tokens() async throws -> MCPOAuthTokens? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.tools() | func tools() async throws -> [String : AITool] | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.toolsFromDefinitions(_:) | func toolsFromDefinitions(_ definitions: MCPListToolsResult) -> [String : AITool] | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Instance Method | SwiftAISDK.transcribe(_:) | func transcribe(_ request: AudioTranscriptionRequest) async throws -> TranscriptionResult | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Method | SwiftAISDK.transcription(_:) | func transcription(_ modelID: String = "transcribe-1") throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.transcription() | func transcription() throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String = "transcribe-1") throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel(_:) | func transcriptionModel(_ modelID: String) throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.transcriptionModel() | func transcriptionModel() throws -> any TranscriptionModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.transformAudio(_:) | func transformAudio(_ request: AudioTransformationRequest) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Method | SwiftAISDK.unsubscribe(_:options:) | func unsubscribe(_ reference: MCPEventSubscriptionReference, options: MCPRequestOptions? = nil) async throws | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.unsubscribe(id:options:) | func unsubscribe(id: String, options: MCPRequestOptions?) async throws -> MCPManagedSubscription | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Method | SwiftAISDK.unsubscribe(id:options:) | func unsubscribe(id: String, options: MCPRequestOptions? = nil) async throws -> MCPManagedSubscription | Sources/SwiftAISDK/MCPEvents.swift |
| Instance Method | SwiftAISDK.update(key:patch:) | func update(key: String, patch: MCPEventSubscriptionPatch) async throws | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Method | SwiftAISDK.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | SwiftAISDK.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | SwiftAISDK.uploadFile(_:) | func uploadFile(_ request: FileUploadRequest) async throws -> FileUploadResult | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Method | SwiftAISDK.validateAuthorizationServerURL(serverURL:authorizationServerURL:) | func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.validateAuthorizationServerURL(serverURL:authorizationServerURL:) | func validateAuthorizationServerURL(serverURL: URL, authorizationServerURL: URL) async throws | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.validateResourceURL(serverURL:resource:) | func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.validateResourceURL(serverURL:resource:) | func validateResourceURL(serverURL: URL, resource: URL?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ statusRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ operationRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ statusRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ operationRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ operationRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ operationRequest: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Method | SwiftAISDK.videoGenerationStatus(_:) | func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Compatibility.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Method | SwiftAISDK.videoModel(_:) | func videoModel(_ modelID: String) throws -> any VideoModel | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Method | SwiftAISDK.voiceChanger(_:) | func voiceChanger(_ modelID: String = "eleven_multilingual_sts_v2") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.voiceChangerModel(_:) | func voiceChangerModel(_ modelID: String = "eleven_multilingual_sts_v2") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.voiceIsolator(_:) | func voiceIsolator(_ modelID: String = "audio-isolation") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAISDK.voiceIsolatorModel(_:) | func voiceIsolatorModel(_ modelID: String = "audio-isolation") throws -> any AudioTransformationModel | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Method | SwiftAITransport.append(_:) | mutating func append(_ data: Data) throws -> [ServerSentEvent] | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Method | SwiftAITransport.appendField(name:value:) | mutating func appendField(name: String, value: String) | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.appendFile(name:fileName:mimeType:content:) | mutating func appendFile(name: String, fileName: String = "blob", mimeType: String = "application/octet-stream", content: FileUploadData) | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.appendFile(name:fileName:mimeType:data:) | mutating func appendFile(name: String, fileName: String, mimeType: String, data: Data) | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.cancel() | func cancel() async | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.cancelBody() | func cancelBody() | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.cancelRequestBody() | func cancelRequestBody() async | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.cancelStream() | func cancelStream() async | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.close() | func close() async | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.close(code:) | func close(code: Int) async | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.close(code:reason:) | func close(code: Int, reason: Data?) async | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.connect(_:) | func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnection | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.connect(_:) | func connect(_ request: AIDuplexWebSocketRequest) async throws -> any AIDuplexWebSocketConnection | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.finalize() | mutating func finalize() -> Data | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.finish() | mutating func finish() throws -> [ServerSentEvent] | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Method | SwiftAITransport.headerValue(_:) | func headerValue(_ name: String) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.headerValue(_:) | func headerValue(_ name: String) -> String? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.jsonValue() | func jsonValue() throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.makeAsyncIterator() | func makeAsyncIterator() -> IncrementalServerSentEventSequence.AsyncIterator | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Instance Method | SwiftAITransport.mergingHeaders(_:) | func mergingHeaders(_ other: [String : String]) -> [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.next() | mutating func next() async throws -> ServerSentEvent? | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Instance Method | SwiftAITransport.rawRequest(path:modelID:body:contentType:headers:abortSignal:) | func rawRequest(path: String, modelID: String, body: Data, contentType: String?, headers requestHeaders: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Method | SwiftAITransport.request(path:modelID:body:headers:abortSignal:) | func request(path: String, modelID: String, body: JSONValue, headers requestHeaders: [String : String] = [:], abortSignal: AIAbortSignal? = nil) throws -> AIHTTPRequest | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Method | SwiftAITransport.send(_:) | func send(_ message: AIDuplexWebSocketMessage) async throws | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.send(_:) | func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.send(_:) | func send(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.send(binary:) | func send(binary: Data) async throws | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.send(text:) | func send(text: String) async throws | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Method | SwiftAITransport.sendValidatedDownload(_:) | func sendValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.sendValidatedDownload(_:) | func sendValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.sendValidatedDownload(_:) | func sendValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.stream(_:) | func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.stream(_:) | func stream(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.streamingBody() | func streamingBody() -> MultipartStreamingBody | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Method | SwiftAITransport.streamRequest(_:) | func streamRequest(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Method | SwiftAITransport.streamValidatedDownload(_:) | func streamValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.streamValidatedDownload(_:) | func streamValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Method | SwiftAITransport.streamValidatedDownload(_:) | func streamValidatedDownload(_ request: AIHTTPRequest) async throws -> AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.allowSystemInMessages | var allowSystemInMessages: Bool | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.answers | var answers: [String : AIDecisionAnswer] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.answers | var answers: [String : AIDecisionAnswer] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.answers | var answers: [String : AIEvaluationAnswer] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.answers | var answers: [String : AIEvaluationAnswer] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.approval | var approval: AIToolApproval? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.arguments | var arguments: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.attempt | var attempt: Int? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.audioStream | var audioStream: StreamingSpeechAudioStream { get throws } | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.body | var body: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.callID | var callID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.calls | var calls: [ImageGenerationCall] | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.choice | var choice: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.chunkNanoseconds | var chunkNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.clientSecretExpiresAt | let clientSecretExpiresAt: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.closing | var closing: String | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Instance Property | SwiftAI.content | var content: [AIResultContentPart] | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Instance Property | SwiftAI.context | var context: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.contextSchema | var contextSchema: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.deferLoading | var deferLoading: Bool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.delay | var delay: VideoGenerationDelay | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.delayNanoseconds | var delayNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.description | var description: String? { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.description | var description: String? { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.doEmbed | var doEmbed: @Sendable () async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.doGenerate | var doGenerate: @Sendable () async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.doGenerate | var doGenerate: @Sendable () async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.doGenerate | var doGenerate: @Sendable () async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.doStream | var doStream: @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.doStream | var doStream: @Sendable () -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.durationNanoseconds | var durationNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.durationNanoseconds | var durationNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.dynamic | var dynamic: Bool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.error | var error: (any Error)? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.error | @Published @MainActor var error: (any Error)? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.error | var error: any Error | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.errorDescription | var errorDescription: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.errorDescription | var errorDescription: String? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.errorMessage | var errorMessage: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.evaluate | var evaluate: @Sendable (AIStopConditionContext) async throws -> Bool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.events | let events: AsyncThrowingStream<AIRealtimeSessionEvent, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.example | var example: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/ToolInputExamplesMiddleware.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool] { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool] | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool]? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.executableTools | var executableTools: [AITool] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.execute | var execute: @Sendable (JSONValue) async throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.execute | var execute: @Sendable () async throws -> Output | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.execute | var execute: @Sendable () async throws -> Output | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.executeWithContext | var executeWithContext: @Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.finishReason | @Published @MainActor var finishReason: String? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Instance Property | SwiftAI.firstChunkNanoseconds | var firstChunkNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.fullStream | var fullStream: StreamingSpeechPartStream { get throws } | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.functionID | var functionID: String? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.functionID | var functionID: String? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.id | var id: String? { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.includeResponseBody | var includeResponseBody: Bool | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.includeRuntimeContext | var includeRuntimeContext: [String : Bool]? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.includesInput | var includesInput: Bool | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.includesInput | var includesInput: Bool | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.includesOutput | var includesOutput: Bool | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.includesOutput | var includesOutput: Bool | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.index | var index: Int | Packages/swift-ai-core/Sources/SwiftAI/ToolInputExamplesMiddleware.swift |
| Instance Property | SwiftAI.initialRequest | var initialRequest: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.input | var input: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.input | var input: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.input | var input: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.inputExamples | var inputExamples: [JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.inputTextDelta | var inputTextDelta: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.integrations | var integrations: [any Telemetry.Integration]? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.intervalMilliseconds | var intervalMilliseconds: Int | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.isEnabled | var isEnabled: Bool | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.isLoading | @MainActor var isLoading: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.jsonInstruction | var jsonInstruction: AIJSONInstruction? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.jsonSchema | var jsonSchema: JSONValue { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.jsonSchema | var jsonSchema: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.kind | var kind: AIObjectGenerationFailureKind | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.kind | var kind: AINoOutputKind | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.kind | var kind: AIOutputKind | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.kind | var kind: Telemetry.Event.Kind | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.maxRetries | var maxRetries: Int? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.maxSteps | var maxSteps: Int | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.maxSteps | var maxSteps: Int | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.maxVideosPerCall | var maxVideosPerCall: Int { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.maxVideosPerCall | var maxVideosPerCall: Int { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.message | var message: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.message | var message: String | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.metadata | @Published @MainActor var metadata: [String : JSONValue] { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.metadata | var metadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.metadata | var metadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.metadata | var metadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.model | var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.model | @MainActor var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.model | var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.model | var model: (any LanguageModel)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.model | var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.model | var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.model | var model: any LanguageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.model | var model: any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.model | var model: any ImageModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.model | var model: any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.model | var model: any EmbeddingModel | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.modelID | let modelID: String | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Instance Property | SwiftAI.name | var name: String? { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.name | var name: String? { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.name | var name: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Instance Property | SwiftAI.name | var name: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.name | var name: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.name | var name: String? | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.needsApproval | var needsApproval: AIToolNeedsApproval? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.object | var object: Output? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.object | @Published @MainActor var object: Output? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.object | var object: Object | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.object | var object: Output | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.onError | @MainActor var onError: (@MainActor @Sendable (any Error) -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.onError | var onError: (@Sendable (AIObjectGenerationErrorEvent) async -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.onFinish | @MainActor var onFinish: (@MainActor @Sendable (AIObjectGenerationSessionFinishEvent<Output>) -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.onFinish | var onFinish: (@Sendable (AIObjectGenerationFinishEvent<Output>) async -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.onInputAvailable | var onInputAvailable: AIToolInputAvailableCallback? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.onInputDelta | var onInputDelta: AIToolInputDeltaCallback? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.onInputStart | var onInputStart: AIToolInputStartCallback? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.onStart | var onStart: (@Sendable (AIObjectGenerationStartEvent) async -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.onStepFinish | var onStepFinish: (@Sendable (AIObjectGenerationStepFinishEvent) async -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.onStepStart | var onStepStart: (@Sendable (AIObjectGenerationStepStartEvent) async -> Void)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.opening | var opening: String | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Instance Property | SwiftAI.operation | var operation: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.operation | var operation: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.operationID | var operationID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.output | @MainActor var output: AIOutput<Output, Partial> | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.output | var output: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.output | var output: Output | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.output | var output: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.outputKind | var outputKind: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.overrideModelID | var overrideModelID: (@Sendable (any LanguageModel) -> String)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideModelID | var overrideModelID: (@Sendable (any ImageModel) -> String)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideModelID | var overrideModelID: (@Sendable (any EmbeddingModel) -> String)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideProviderID | var overrideProviderID: (@Sendable (any LanguageModel) -> String)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideProviderID | var overrideProviderID: (@Sendable (any ImageModel) -> String)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideProviderID | var overrideProviderID: (@Sendable (any EmbeddingModel) -> String)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideSupportsFileInputs | var overrideSupportsFileInputs: (@Sendable (any ImageModel) async -> Bool?)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.overrideSupportsMaskInputs | var overrideSupportsMaskInputs: (@Sendable (any ImageModel) async -> Bool?)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.parameters | var parameters: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.partialObject | @Published @MainActor var partialObject: Partial? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.path | var path: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.phase | var phase: AIStreamTimeoutPhase | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.prepareStep | var prepareStep: AIPrepareStep? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.prepareStep | var prepareStep: AIPrepareStep? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.provider | var provider: String? | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerID | let providerID: String | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerID | let providerID: String | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Property | SwiftAI.providerID | let providerID: String | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] { get async throws } | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.providerUsage | var providerUsage: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIDecisionQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIDecisionQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIDecisionQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIDecisionQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIEvaluationQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIEvaluationQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIEvaluationQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.questions | var questions: [String : AIEvaluationQuestion] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.rawObject | var rawObject: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.rawObject | var rawObject: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.rawOutput | var rawOutput: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.rawTools | var rawTools: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.rawValue | var rawValue: String | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.refineArguments | var refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.repairAttempted | var repairAttempted: Bool | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.repairText | var repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: ImageGenerationRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: ImageGenerationRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: EmbeddingRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: EmbeddingRequest | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.request | var request: VideoGenerationRequest | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.requestOptions | var requestOptions: AIChatRequestOptions | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.requestOptions | var requestOptions: AIChatRequestOptions | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.response | var response: AIDecisionResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.response | var response: AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.responseFormat | var responseFormat: AIResponseFormat? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.responseFormat | var responseFormat: AIResponseFormat? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.responseFormat | var responseFormat: AIResponseFormat? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.responseMessages | var responseMessages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.responseMetadata | @Published @MainActor var responseMetadata: AIResponseMetadata? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.responses | var responses: [AIResponseMetadata] | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.responses | var responses: [AIResponseMetadata] { get async throws } | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.responses | var responses: [AIResponseMetadata] | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.result | var result: AIOutputGenerationResult<Output>? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.result | @Published @MainActor var result: AIOutputGenerationResult<Output>? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.retryPolicy | var retryPolicy: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.rounding | var rounding: AIDecisionRounding? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.rounding | var rounding: AIDecisionRounding? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.rounding | var rounding: AIEvaluationRounding? | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.rounding | var rounding: AIEvaluationRounding? | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.runtimeContext | var runtimeContext: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.runtimeContext | var runtimeContext: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.runtimeContext | var runtimeContext: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.runtimeContext | var runtimeContext: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.runtimeContext | var runtimeContext: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.schema | var schema: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.schema | var schema: JSONValue { get } | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.schema | var schema: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.schemaDescription | var schemaDescription: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.schemaName | var schemaName: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.scope | var scope: AIPruneToolCalls.Scope | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Instance Property | SwiftAI.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.sources | @Published @MainActor var sources: [AISource] { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.state | var state: AIDecisionState | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.state | var state: AIDecisionState | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.state | var state: [AIDecisionStatePart] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.state | var state: [AIDecisionStatePart] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.state | var state: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.state | var state: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.state | var state: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.state | var state: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.state | var state: AIParsePartialJSONState | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Instance Property | SwiftAI.status | @Published @MainActor var status: AIObjectGenerationSessionStatus { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.stepNanoseconds | var stepNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.stepNumber | var stepNumber: Int | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.stepNumber | var stepNumber: Int | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.stepNumber | var stepNumber: Int | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.steps | var steps: [AIToolStep] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.steps | var steps: [AIToolStep] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.stopSequences | var stopSequences: [String] | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.stopSequences | var stopSequences: [String] | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.stopSequences | var stopSequences: [String]? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.stopSequences | var stopSequences: [String] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.stopWhen | var stopWhen: [AIStopCondition] | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.stopWhen | var stopWhen: [AIStopCondition] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.strategy | var strategy: AIObjectOutputStrategy | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.streamTimeout | var streamTimeout: AIStreamTimeoutConfiguration? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.streamTimeout | var streamTimeout: AIStreamTimeoutConfiguration? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.strict | var strict: Bool? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.structuredOutputKind | var structuredOutputKind: AIOutputKind? | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Property | SwiftAI.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Instance Property | SwiftAI.supportsVideoGenerationWebhooks | var supportsVideoGenerationWebhooks: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.supportsVideoGenerationWebhooks | var supportsVideoGenerationWebhooks: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.telemetry | var telemetry: Telemetry.Options? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.text | @Published @MainActor var text: String { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.text | var text: String | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.textResult | var textResult: TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.textResult | var textResult: TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.timeoutMilliseconds | var timeoutMilliseconds: Int | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.toModelOutput | var toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.tool | var tool: AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolApproval | var toolApproval: AIToolApproval? | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.toolCall | var toolCall: AIToolCall | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCall | var toolCall: AIToolCall | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallConcurrency | var toolCallConcurrency: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.toolCaller | var toolCaller: AIToolCallerDefinition? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallers | var toolCallers: AIToolCallerRouting | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.toolChoice | var toolChoice: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.toolChoice | var toolChoice: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.toolChoice | var toolChoice: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Instance Property | SwiftAI.toolContext | var toolContext: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolContext | var toolContext: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolContext | var toolContext: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolContext | var toolContext: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolContext | var toolContext: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.toolContexts | var toolContexts: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.toolContexts | var toolContexts: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.tools | var tools: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.tools | var tools: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.tools | var tools: Set<String>? | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Instance Property | SwiftAI.toolsByName | var toolsByName: [String : AITool] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Instance Property | SwiftAI.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Instance Property | SwiftAI.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Instance Property | SwiftAI.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.totalNanoseconds | var totalNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Instance Property | SwiftAI.transformRequest | var transformRequest: (@Sendable (AILanguageModelTransformContext) async throws -> LanguageModelRequest)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.transformRequest | var transformRequest: (@Sendable (AIImageModelTransformContext) async throws -> ImageGenerationRequest)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.transformRequest | var transformRequest: (@Sendable (AIEmbeddingModelTransformContext) async throws -> EmbeddingRequest)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.type | var type: AILanguageModelCallType | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.url | var url: String | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.usage | var usage: AIDecisionUsage | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.usage | var usage: AIDecisionModelUsage? | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.usage | var usage: AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.usage | var usage: AIEvaluationModelUsage? | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.usage | @Published @MainActor var usage: TokenUsage? { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.usage | var usage: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.usage | var usage: [String : JSONValue] { get async throws } | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.usesToolLoop | var usesToolLoop: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Instance Property | SwiftAI.value | var value: JSONValue? | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Instance Property | SwiftAI.version | var version: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.version | var version: String { get } | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Instance Property | SwiftAI.warnings | @Published @MainActor var warnings: [AIWarning] { get set } | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] { get async throws } | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.webhookURL | var webhookURL: String? | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.wrapEmbed | var wrapEmbed: (@Sendable (AIEmbeddingModelEmbedContext) async throws -> EmbeddingResult)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.wrapGenerate | var wrapGenerate: (@Sendable (AILanguageModelGenerateContext) async throws -> TextGenerationResult)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.wrapGenerate | var wrapGenerate: (@Sendable (AIImageModelGenerateContext) async throws -> ImageGenerationResult)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAI.wrapStream | var wrapStream: (@Sendable (AILanguageModelStreamContext) -> AsyncThrowingStream<LanguageStreamPart, any Error>)? | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Instance Property | SwiftAIAnthropic.apiKey | var apiKey: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.authToken | var authToken: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.baseURL | var baseURL: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.baseURL | var baseURL: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.batchResultDownloads | var batchResultDownloads: AIBatchResultDownloadSettings? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.batchResultMaxLineBytes | var batchResultMaxLineBytes: Int? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.betas | var betas: [String] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.body | var body: [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.citationDocuments | var citationDocuments: [AnthropicCitationDocument] { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Instance Property | SwiftAIAnthropic.content | var content: [AIResultContentPart] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.environment | var environment: [String : String]? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.filename | var filename: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.headers | var headers: [String : String] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.headers | var headers: [String : String] { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.http | var http: AIProviderHTTPClient | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.isKnownModel | var isKnownModel: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.markCodeExecutionDynamic | var markCodeExecutionDynamic: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.maximumTemperature | var maximumTemperature: Double | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.maxOutputTokens | var maxOutputTokens: Int | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.mediaType | var mediaType: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.metadataNamespace | var metadataNamespace: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.modelID | let modelID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.modelID | let modelID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.name | var name: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.prepareRequest | var prepareRequest: (@Sendable (LanguageModelRequest, String, inout [AIWarning]) throws -> LanguageModelRequest)? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.providerID | var providerID: String { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicFiles.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Property | SwiftAIAnthropic.providerID | let providerID: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicSkills.swift |
| Instance Property | SwiftAIAnthropic.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.queryParams | var queryParams: [String : String] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.reasoning | var reasoning: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.rejectsBudgetThinking | var rejectsBudgetThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsForcedToolUse | var rejectsForcedToolUse: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsSamplingParameters | var rejectsSamplingParameters: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsThinkingDisabled | var rejectsThinkingDisabled: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.rejectsThinkingDisabledAboveHighEffort | var rejectsThinkingDisabledAboveHighEffort: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.requestPolicy | var requestPolicy: (@Sendable (String) -> AnthropicRequestPolicy)? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.sources | var sources: [AISource] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicProvider.swift |
| Instance Property | SwiftAIAnthropic.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicBatchLanguageModel.swift |
| Instance Property | SwiftAIAnthropic.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.supportsAdaptiveThinking | var supportsAdaptiveThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.supportsBetweenToolsThinking | var supportsBetweenToolsThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.supportsSamplingWithThinking | var supportsSamplingWithThinking: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.supportsStructuredOutput | var supportsStructuredOutput: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.supportsXhighEffort | var supportsXhighEffort: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Instance Property | SwiftAIAnthropic.text | var text: String? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.title | var title: String | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.toolCalls | var toolCalls: [AIToolCall] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.toolNameMapping | var toolNameMapping: AIToolNameMapping | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.toolResults | var toolResults: [AIToolResult] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Instance Property | SwiftAIAnthropic.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.transport | var transport: any AITransport | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.transport | var transport: any AITransport { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.url | var url: @Sendable (String, String) throws -> URL { get } | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.userMediaContent | var userMediaContent: (@Sendable (AIContentPart) throws -> JSONValue?)? | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Instance Property | SwiftAIAnthropic.usesJSONToolResponseFormat | var usesJSONToolResponseFormat: Bool | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIAnthropic.warnings | var warnings: [AIWarning] | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Instance Property | SwiftAIOpenAI.apiKey | var apiKey: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.baseURL | var baseURL: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.baseURL | var baseURL: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.batchResultDownloads | var batchResultDownloads: AIBatchResultDownloadSettings? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.batchResultMaxLineBytes | var batchResultMaxLineBytes: Int? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.body | var body: [String : JSONValue] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Instance Property | SwiftAIOpenAI.capabilities | let capabilities: AIRealtimeModelCapabilities? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Property | SwiftAIOpenAI.environment | var environment: [String : String]? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.errorHandler | var errorHandler: (@Sendable (AIHTTPResponse) -> AIError)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.explicitMessageItemType | var explicitMessageItemType: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.getResponseErrorMetadata | var getResponseErrorMetadata: (@Sendable (JSONValue) -> OpenResponsesErrorMetadata)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.headers | var headers: [String : String] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.headers | var headers: [String : String] { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.http | var http: AIProviderHTTPClient | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.includeUsage | var includeUsage: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.isReasoningModel | var isReasoningModel: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.isRetryable | var isRetryable: Bool? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Instance Property | SwiftAIOpenAI.isRetryable | var isRetryable: Bool? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Instance Property | SwiftAIOpenAI.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.modelID | let modelID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Property | SwiftAIOpenAI.name | var name: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.openAIBackedProviderRoot | var openAIBackedProviderRoot: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.openResponsesCustomToolID | var openResponsesCustomToolID: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.organization | var organization: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.prepareResponses | var prepareResponses: (@Sendable (String, LanguageModelRequest, Bool) throws -> OpenAICompatibleResponsesPreparedRequest)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.project | var project: String? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIAudioModels.swift |
| Instance Property | SwiftAIOpenAI.providerID | var providerID: String { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAILiveModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesModel.swift |
| Instance Property | SwiftAIOpenAI.providerID | let providerID: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAISkills.swift |
| Instance Property | SwiftAIOpenAI.queryParams | var queryParams: [String : String] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.requestModelID | var requestModelID: String? { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.responseBody | var responseBody: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Instance Property | SwiftAIOpenAI.responsesRequestMode | var responsesRequestMode: ResponsesRequestMode | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.specificationVersion | let specificationVersion: String | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.statusCode | var statusCode: Int? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Instance Property | SwiftAIOpenAI.statusCode | var statusCode: Int? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Instance Property | SwiftAIOpenAI.streamErrorParser | var streamErrorParser: (@Sendable (JSONValue) -> AIStreamProviderError?)? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.strictResponseInput | var strictResponseInput: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.strictResponseInput | var strictResponseInput: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Instance Property | SwiftAIOpenAI.supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIFiles.swift |
| Instance Property | SwiftAIOpenAI.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIDecisionModel.swift |
| Instance Property | SwiftAIOpenAI.supportedReasoningEfforts | var supportedReasoningEfforts: [String]? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAIOpenAI.supportsAsyncToolCalling | var supportsAsyncToolCalling: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportsConfigurationUpdate | var supportsConfigurationUpdate: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportsNonReasoningParameters | var supportsNonReasoningParameters: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Instance Property | SwiftAIOpenAI.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.supportsWebSearchSourcesInclude | var supportsWebSearchSourcesInclude: Bool | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transformRequestBodyWithWarnings | var transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transport | var transport: any AITransport | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.transport | var transport: any AITransport { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.url | var url: @Sendable (String, String) throws -> URL { get } | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Instance Property | SwiftAIOpenAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Instance Property | SwiftAIOpenAICompatible.additionalWarnings | var additionalWarnings: (@Sendable (LanguageModelRequest) -> [AIWarning])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.allowsEmptyTextResponse | var allowsEmptyTextResponse: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.apiKey | var apiKey: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.applyPatchEndEmitted | var applyPatchEndEmitted: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.applyPatchHasDiff | var applyPatchHasDiff: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.arguments | var arguments: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.baseURL | var baseURL: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.baseURL | var baseURL: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.chatErrorHandler | var chatErrorHandler: (@Sendable (AIHTTPResponse) -> AIError)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.codeInterpreterContainerID | var codeInterpreterContainerID: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.convertMessages | var convertMessages: (@Sendable ([AIMessage]) throws -> [JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.errorHandler | var errorHandler: (@Sendable (AIHTTPResponse) -> AIError)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.headers | var headers: [String : String] { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.headers | var headers: [String : String] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.http | var http: AIProviderHTTPClient | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.id | var id: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.imageHasDefaultResponseFormat | var imageHasDefaultResponseFormat: (@Sendable (String) -> Bool)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.imageMetadata | var imageMetadata: (@Sendable (JSONValue) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.imageSupportsFileInputs | var imageSupportsFileInputs: (@Sendable (String) -> Bool?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.imageSupportsMaskInputs | var imageSupportsMaskInputs: (@Sendable (String) -> Bool?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.includeUsage | var includeUsage: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.includeUsage | var includeUsage: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.inputStarted | var inputStarted: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.isReasoningModel | var isReasoningModel: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.languageCapabilities | var languageCapabilities: (@Sendable (String) -> OpenAICompatibleLanguageCapabilities)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.mapsReasoningEffort | var mapsReasoningEffort: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.maximumImages | var maximumImages: (@Sendable (String) -> Int)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.modelID | let modelID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Property | SwiftAIOpenAICompatible.modelID | let modelID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Property | SwiftAIOpenAICompatible.modelID | let modelID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.modelID | let modelID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.name | var name: String? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.name | var name: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.normalizeSchema | var normalizeSchema: (@Sendable (JSONValue) throws -> (schema: JSONValue, warnings: [AIWarning]))? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.prepareBody | var prepareBody: (@Sendable ([String : JSONValue], LanguageModelRequest, String, inout [AIWarning]) throws -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleCompletionModel.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | var providerID: String { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.providerID | let providerID: String | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.queryParams | var queryParams: [String : String] | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.rawValue | var rawValue: JSONValue? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Instance Property | SwiftAIOpenAICompatible.requestModelID | var requestModelID: String? { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.responseHeaderMetadata | var responseHeaderMetadata: (@Sendable ([String : String], String?) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.responseMetadata | var responseMetadata: (@Sendable (JSONValue, String?) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.streamErrorParser | var streamErrorParser: (@Sendable (JSONValue) -> AIStreamProviderError?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.supportedReasoningEfforts | var supportedReasoningEfforts: [String]? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsFileInputs | var supportsFileInputs: Bool? { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleMediaModels.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsMultiPartToolContent | var supportsMultiPartToolContent: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsMultiPartToolContent | var supportsMultiPartToolContent: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsNonReasoningParameters | var supportsNonReasoningParameters: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsStructuredOutputForModel | var supportsStructuredOutputForModel: (@Sendable (String) -> Bool)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.toolCallsBeforeText | var toolCallsBeforeText: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.transformRequestBodyWithWarnings | var transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transformRequestBodyWithWarnings | var transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.transport | var transport: any AITransport { get } | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.transport | var transport: any AITransport | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAIOpenAICompatible.usage | var usage: (@Sendable (JSONValue) -> TokenUsage?)? | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.usesGenericOpenAICompatibleProviderOptions | var usesGenericOpenAICompatibleProviderOptions: Bool | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIOpenAICompatible.wireProfile | var wireProfile: OpenAICompatibleWireProfile | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIDecisionAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIDecisionAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIEvaluationAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.answers | var answers: [String : AIEvaluationAnswer] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.apiCallError | var apiCallError: AIAPICallError? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approvalID | var approvalID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approvalID | var approvalID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approvalID | var approvalID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approved | var approved: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.arguments | var arguments: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.arguments | var arguments: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.arrayValue | var arrayValue: [JSONValue]? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.aspectRatio | var aspectRatio: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.aspectRatio | var aspectRatio: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.attempts | var attempts: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.audio | var audio: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.audio | var audio: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.audio | var audio: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.audio | var audio: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.audio | var audio: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.audio | var audio: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.audio | var audio: AIStreamingAudioInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.availableToolNames | var availableToolNames: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.backoffFactor | var backoffFactor: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.base64Images | var base64Images: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.base64Images | var base64Images: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.base64Images | var base64Images: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.base64Videos | var base64Videos: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.batch | var batch: TextBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batch | var batch: AIBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batches | var batches: [AIBatchListItem] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batchID | var batchID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batchID | var batchID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.batchID | var batchID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.body | var body: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.body | var body: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.body | var body: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.boolValue | var boolValue: Bool? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.bottom | var bottom: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.bufferedData | var bufferedData: Data? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.byteCount | var byteCount: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.byteSize | var byteSize: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.byteSize | var byteSize: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.calls | var calls: [ImageGenerationCall] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.capabilities | var capabilities: AIRealtimeModelCapabilities? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.capabilities | var capabilities: AIRealtimeModelCapabilities? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.cause | var cause: (any Error)? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.cause | var cause: AIAPICallError? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.citations | var citations: [AICitation] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.citations | var citations: [AICitation] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.citations | var citations: [AICitation] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.citedText | var citedText: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.closeMetadata | var closeMetadata: AIDuplexWebSocketCloseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.closeMetadata | var closeMetadata: AIDuplexWebSocketCloseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.code | var code: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.code | var code: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.code | var code: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAIProvider.combinedText | var combinedText: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.completed | var completed: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.connections | var connections: [AIRealtimeConnectionKind]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.content | var content: [AIResultContentPart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.content | var content: AsyncThrowingStream<Data, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.content | var content: [AIContentPart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.content | var content: [AIResultContentPart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.content | var content: [AIResultContentPart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.contentType | var contentType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.contentType | var contentType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.contentType | var contentType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.contentType | var contentType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.context | var context: AITypeValidationContext? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.conversation | var conversation: AIRealtimeConversationMode | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.count | var count: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.count | var count: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.createdAt | var createdAt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.createdAt | var createdAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.createdAt | var createdAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.cursor | var cursor: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.data | var data: Data { get set } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.data | var data: Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.data | var data: Data? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.data | var data: Data? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.decisionOptions | var decisionOptions: AIDecisionModelV4CallOptions { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.deleted | var deleted: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.description | var description: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Instance Property | SwiftAIProvider.descriptor | var descriptor: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.dimensions | var dimensions: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.displayName | var displayName: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.displayTitle | var displayTitle: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.displayTitle | var displayTitle: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.document | var document: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.documentObjects | var documentObjects: [[String : JSONValue]]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.documents | var documents: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.documentsJSON | var documentsJSON: [JSONValue] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.doubleValue | var doubleValue: Double? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.dubbingID | var dubbingID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.dubbingID | var dubbingID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.durationInSeconds | var durationInSeconds: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.durationInSeconds | var durationInSeconds: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.durationSeconds | var durationSeconds: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.durationSeconds | var durationSeconds: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.dynamic | var dynamic: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.dynamic | var dynamic: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.embeddings | var embeddings: [[Double]] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.endIndex | var endIndex: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.endIndex | var endIndex: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.endSecond | var endSecond: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.endTime | var endTime: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.entityName | var entityName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.error | var error: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.error | var error: AIBatchError? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.errors | var errors: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.expectedDurationSeconds | var expectedDurationSeconds: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.expiresAfterSeconds | var expiresAfterSeconds: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.expiresAt | var expiresAt: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.failed | var failed: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.feature | var feature: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.field | var field: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.file | var file: Data? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.file | var file: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.file | var file: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.file | var file: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.fileData | var fileData: FileUploadData | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.filename | var filename: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.fileName | var fileName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.fileName | var fileName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.fileName | var fileName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.fileName | var fileName: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.filePayload | var filePayload: (mimeType: String, data: Data, filename: String?)? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.files | var files: [SkillUploadFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.files | var files: [ImageInputFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.files | var files: [AIStreamFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.files | var files: [AIStreamFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.finalization | var finalization: AIRealtimeFinalizationMode? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.finalStep | var finalStep: AIToolStep? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.finishReason | var finishReason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.format | var format: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.format | var format: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.format | var format: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.fps | var fps: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.frameImages | var frameImages: [VideoFrameImage] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.frameType | var frameType: VideoFrameType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.frequencyPenalty | var frequencyPenalty: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.functionality | var functionality: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.generateAudio | var generateAudio: Bool? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.generationID | var generationID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.id | var id: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.idempotencyKey | var idempotencyKey: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.image | var image: ImageInputFile | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.image | var image: ImageInputFile? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.includeRawChunks | var includeRawChunks: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.index | var index: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.index | var index: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.initialDelayNanoseconds | var initialDelayNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.input | var input: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.inputAudioFormat | var inputAudioFormat: AIRealtimeAudioFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.inputAudioFormat | var inputAudioFormat: AIStreamingAudioFormat | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.inputAudioTranscription | var inputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.inputEncoding | var inputEncoding: AIToolInputEncoding? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.inputEncoding | var inputEncoding: AIToolInputEncoding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.inputReferences | var inputReferences: [ImageInputFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.inputSchemaInput | var inputSchemaInput: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.inputTokens | var inputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.inputTokens | var inputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.inputTokens | var inputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.inputTokensCacheRead | var inputTokensCacheRead: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.inputTokensCacheWrite | var inputTokensCacheWrite: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.inputTokensNoCache | var inputTokensNoCache: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: JSONValue { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.instructions | var instructions: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.intValue | var intValue: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.isAborted | var isAborted: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.isAutomatic | var isAutomatic: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.isEnabled | var isEnabled: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Instance Property | SwiftAIProvider.isError | var isError: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.isNotFound | var isNotFound: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.isRetryable | var isRetryable: Bool? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.isRetryable | var isRetryable: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.isRetryable | var isRetryable: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.isStream | var isStream: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.isValid | var isValid: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.jsonValue | var jsonValue: JSONValue { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.language | var language: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.latestVersion | var latestVersion: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.left | var left: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.limit | var limit: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.mask | var mask: ImageInputFile? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.maxDelayNanoseconds | var maxDelayNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxInputBytesPerCall | var maxInputBytesPerCall: Int? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.maxLineBytes | var maxLineBytes: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/BatchResultDownloadSettings.swift |
| Instance Property | SwiftAIProvider.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.maxOutputTokens | var maxOutputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.maxRetries | var maxRetries: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.message | var message: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.message | var message: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Instance Property | SwiftAIProvider.messages | var messages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.metadata | var metadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.metadata | var metadata: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.mimeType | var mimeType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.mimeType | var mimeType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.mimeType | var mimeType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.modalities | var modalities: [String]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.model | var model: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.modelOutput | var modelOutput: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.name | var name: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.name | var name: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.name | var name: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.name | var name: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.name | var name: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.name | var name: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.nextCursor | var nextCursor: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.numSpeakers | var numSpeakers: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.objectValue | var objectValue: [String : JSONValue]? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.operationID | var operationID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.originalError | var originalError: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.outputAudioFormat | var outputAudioFormat: AIRealtimeAudioFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.outputAudioTranscription | var outputAudioTranscription: AIRealtimeAudioTranscriptionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.outputFormat | var outputFormat: AIStreamingAudioFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.outputModalities | var outputModalities: [AIRealtimeOutputModality]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.outputReasoningTokens | var outputReasoningTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.outputTextTokens | var outputTextTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.outputTokens | var outputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.outputTokens | var outputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.outputTokens | var outputTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.parameters | var parameters: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.path | var path: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.path | var path: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.pending | var pending: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.pollIntervalNanoseconds | var pollIntervalNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.pollTimeoutNanoseconds | var pollTimeoutNanoseconds: UInt64 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.prefixPaddingMilliseconds | var prefixPaddingMilliseconds: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.preliminary | var preliminary: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.presencePenalty | var presencePenalty: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.probabilityDecimals | var probabilityDecimals: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.protocols | var protocols: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Instance Property | SwiftAIProvider.providerExecuted | var providerExecuted: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerExecuted | var providerExecuted: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerExecuted | var providerExecuted: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.providerID | var providerID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerOptionsTransformer | var providerOptionsTransformer: AIEmbeddingProviderOptionsTransformer? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerOptionsTransformer | var providerOptionsTransformer: AIEmbeddingProviderOptionsTransformer? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.providerReference | var providerReference: AIProviderReference? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.purpose | var purpose: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.query | var query: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.questionID | var questionID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.questionIDs | var questionIDs: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.questions | var questions: [String : AIDecisionQuestion] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.questions | var questions: [String : AIEvaluationQuestion] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.questionType | var questionType: AIDecisionQuestionType? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.questionType | var questionType: AIEvaluationQuestionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.rate | var rate: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.rawFinishReason | var rawFinishReason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.rawInputText | var rawInputText: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.rawStatus | var rawStatus: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.reason | var reason: AIRetryErrorReason | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.reasoning | var reasoning: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.reasoningText | var reasoningText: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.reasonName | var reasonName: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reasonName | var reasonName: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.reference | var reference: TextBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.reference | var reference: AIBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.reference | var reference: AIProviderReference | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Instance Property | SwiftAIProvider.repairedInput | var repairedInput: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.request | var request: LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.request | var request: ImageGenerationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.requestBody | var requestBody: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.requestCounts | var requestCounts: AIBatchRequestCounts? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.requestID | var requestID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.requests | var requests: [Request] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.resolution | var resolution: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.response | var response: AIDecisionResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.response | var response: AIResponseMetadata? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.response | var response: AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.response | var response: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.responseBody | var responseBody: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.responseFormat | var responseFormat: AIResponseFormat? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.responseHeaders | var responseHeaders: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.responseMessages | var responseMessages: [AIMessage] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.responses | var responses: [AIResponseMetadata] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.result | var result: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.results | var results: [RerankedDocument] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.right | var right: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.role | var role: MessageRole | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIDecisionRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIDecisionRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIEvaluationRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.rounding | var rounding: AIEvaluationRounding? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.sampleRate | var sampleRate: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.schema | var schema: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.schemaPrefix | var schemaPrefix: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Instance Property | SwiftAIProvider.schemaSuffix | var schemaSuffix: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Instance Property | SwiftAIProvider.score | var score: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.scoreDecimals | var scoreDecimals: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.seconds | var seconds: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.segments | var segments: [TranscriptionSegment] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.segments | var segments: [TranscriptionSegment] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.sessionConfig | var sessionConfig: AIRealtimeSessionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.setting | var setting: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.signal | let signal: AIAbortSignal | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Instance Property | SwiftAIProvider.silenceDurationMilliseconds | var silenceDurationMilliseconds: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.size | var size: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.source | var source: AISource | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.sourceLanguage | var sourceLanguage: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.sourceLanguage | var sourceLanguage: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.sources | var sources: [AISource] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.sources | var sources: [AISource] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.sourceType | var sourceType: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.sourceURL | var sourceURL: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.specificationVersion | var specificationVersion: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.speed | var speed: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.speed | var speed: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.startIndex | var startIndex: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.startIndex | var startIndex: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.startSecond | var startSecond: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.startTime | var startTime: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.startup | var startup: AIRealtimeStartupMode? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.state | var state: [AIDecisionStatePart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.state | var state: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.stateParts | var stateParts: [AIDecisionStatePart]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.status | var status: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchLifecycleStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.status | var status: AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.statusCode | var statusCode: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.steps | var steps: [AIToolStep] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.stopSequences | var stopSequences: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.stream | var stream: AsyncThrowingStream<StreamingSpeechPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.stream | var stream: AsyncThrowingStream<StreamingTranscriptionPart, any Error> | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.stringValue | var stringValue: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Property | SwiftAIProvider.structuredOutputText | var structuredOutputText: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.supportedCapabilities | var supportedCapabilities: Set<ModelCapability> { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedFileOperations | var supportedFileOperations: Set<AIFileOperation> { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedQuestionTypes | var supportedQuestionTypes: [AIDecisionQuestionType] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.supportedQuestionTypes | var supportedQuestionTypes: [AIEvaluationQuestionType] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportedURLs | var supportedURLs: [String : [AISupportedURLPattern]] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsFileInputs | var supportsFileInputs: Bool? { get async } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsFileInputs | var supportsFileInputs: Bool? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsMaskInputs | var supportsMaskInputs: Bool? { get async } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsUnaryVideoGeneration | var supportsUnaryVideoGeneration: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.supportsUnaryVideoGeneration | var supportsUnaryVideoGeneration: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Instance Property | SwiftAIProvider.targetLanguage | var targetLanguage: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.targetLanguages | var targetLanguages: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.temperature | var temperature: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.text | var text: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.text | var text: AIStreamingTextInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.text | var text: String | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Instance Property | SwiftAIProvider.textValue | var textValue: String? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Instance Property | SwiftAIProvider.threshold | var threshold: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Instance Property | SwiftAIProvider.timestamp | var timestamp: Date | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.timestamp | var timestamp: Date? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.title | var title: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.title | var title: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.token | var token: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.toolApprovalRequests | var toolApprovalRequests: [AIToolApprovalRequest] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.toolApprovalRequests | var toolApprovalRequests: [AIToolApprovalRequest] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolApprovalResponses | var toolApprovalResponses: [AIToolApprovalResponse] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.toolApprovalResponses | var toolApprovalResponses: [AIToolApprovalResponse] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolCallConcurrency | var toolCallConcurrency: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallIDs | var toolCallIDs: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCalls | var toolCalls: [AIToolCall] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.toolCalls | var toolCalls: [AIToolCall] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolChoice | var toolChoice: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.toolContexts | var toolContexts: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolResults | var toolResults: [AIToolResult] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.toolResults | var toolResults: [AIToolResult] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.tools | var tools: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.tools | var tools: [AIRealtimeToolDefinition]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.top | var top: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Instance Property | SwiftAIProvider.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.topP | var topP: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Instance Property | SwiftAIProvider.total | var total: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.totalTokens | var totalTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.totalTokens | var totalTokens: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.transports | var transports: [AIRealtimeTransportKind] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.turnDetection | var turnDetection: AIRealtimeTurnDetectionConfiguration? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.type | let type: AIBatchReferenceType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.type | var type: AIDecisionAnswerType { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.type | var type: AIEvaluationQuestionType { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.type | var type: AIEvaluationQuestionType { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.type | var type: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.type | var type: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: AIRealtimeTurnDetectionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.type | var type: GatewayErrorType | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.upstreamType | var upstreamType: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.url | var url: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.url | var url: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.url | var url: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.url | var url: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.url | var url: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.url | var url: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.urls | var urls: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.urls | var urls: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.urls | var urls: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.urls | var urls: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIDecisionModelUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIDecisionUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIEvaluationModelUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.usage | var usage: AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: [String : JSONValue]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.usage | var usage: TokenUsage? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.validationError | var validationError: AITypeValidationError? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.value | var value: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.values | var values: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.values | var values: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.values | var values: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.version | let version: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.version | let version: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.voice | var voice: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.voice | var voice: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.voice | var voice: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Instance Property | SwiftAIProvider.voice | var voice: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.voice | var voice: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Instance Property | SwiftAIProvider.warning | var warning: AIWarning | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIBatchWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIBatchWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIBatchWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.watermark | var watermark: Bool? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Instance Property | SwiftAIProvider.webhookURL | var webhookURL: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Instance Property | SwiftAIProviderUtilities.arguments | var arguments: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.buildToolCallProviderMetadata | var buildToolCallProviderMetadata: (@Sendable ([String : JSONValue]?) -> [String : JSONValue]?)? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.code | var code: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.data | var data: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.errorDescription | var errorDescription: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.expiresAfter | var expiresAfter: Double? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Instance Property | SwiftAIProviderUtilities.extractMetadata | var extractMetadata: (@Sendable (AIStreamingToolCallDelta) -> [String : JSONValue]?)? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.functionName | var functionName: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.generateID | var generateID: @Sendable () -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.index | var index: Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.isPending | var isPending: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Property | SwiftAIProviderUtilities.isRejected | var isRejected: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Property | SwiftAIProviderUtilities.isResolved | var isResolved: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreDelayedPromise.swift |
| Instance Property | SwiftAIProviderUtilities.isRetryable | var isRetryable: Bool | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.modelID | var modelID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Property | SwiftAIProviderUtilities.providerID | let providerID: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.providerID | var providerID: String { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.providerID | var providerID: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Property | SwiftAIProviderUtilities.purpose | var purpose: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Instance Property | SwiftAIProviderUtilities.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.rawValue | var rawValue: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.specificationVersion | let specificationVersion: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.specificationVersion | let specificationVersion: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.statusCode | var statusCode: Int? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.stream | let stream: AsyncThrowingStream<Element, any Error> | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Instance Property | SwiftAIProviderUtilities.streamProviderError | var streamProviderError: AIStreamProviderError? { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.success | var success: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/DecisionLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.supportedQuestionTypes | let supportedQuestionTypes: [AIEvaluationQuestionType] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/EvaluationLanguageModel.swift |
| Instance Property | SwiftAIProviderUtilities.type | var type: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Instance Property | SwiftAIProviderUtilities.type | var type: String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.typeValidation | var typeValidation: AIStreamingToolCallTypeValidation | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Instance Property | SwiftAIProviderUtilities.value | var value: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Instance Property | SwiftAIProviderUtilities.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Instance Property | SwiftAISDK.abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.abortSignal | var abortSignal: AIAbortSignal? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | SwiftAISDK.accessKey | var accessKey: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.accessKeyID | var accessKeyID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.accessKeyID | var accessKeyID: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.accessKeyID | var accessKeyID: String | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.accessKeyID | var accessKeyID: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.accessToken | var accessToken: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.accessToken | var accessToken: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.action | var action: MCPElicitAction | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.allowInsecureLocalhost | var allowInsecureLocalhost: Bool | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.allowInsecureSSL | var allowInsecureSSL: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.allowRedirects | var allowRedirects: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.annotations | var annotations: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.apiKey | var apiKey: String? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.applicationType | var applicationType: MCPOAuthApplicationType? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.appVisible | var appVisible: MCPListToolsResult | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.args | var args: [String] | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | SwiftAISDK.arguments | var arguments: [String : JSONValue] | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.arguments | var arguments: [String : JSONValue] | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.arguments | var arguments: [String : JSONValue] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.arguments | var arguments: [String : JSONValue] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.arguments | var arguments: [String : JSONValue] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.arguments | var arguments: [MCPPromptArgument] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.articleContentMaxCharacters | var articleContentMaxCharacters: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.authorizationEndpoint | var authorizationEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationResponseIssuerParameterSupported | var authorizationResponseIssuerParameterSupported: Bool? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationServers | var authorizationServers: [URL] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationServerURL | var authorizationServerURL: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationServerURL | var authorizationServerURL: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationServerURL | var authorizationServerURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationServerURL | var authorizationServerURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authorizationURL | var authorizationURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.authToken | var authToken: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.balance | var balance: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.baseURL | var baseURL: String? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.batchResultDownloads | var batchResultDownloads: AIBatchResultDownloadSettings? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.billableWebSearchCalls | var billableWebSearchCalls: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.blob | var blob: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.body | var body: [String : JSONValue] | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.body | var body: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.body | var body: [String : JSONValue] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.cacheControl | var cacheControl: MiniMaxCacheControlOptions.CacheControl? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.cacheCreationInputTokens | var cacheCreationInputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.cacheCreationTokens | var cacheCreationTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.cachedInputTokens | var cachedInputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.cachedTokens | var cachedTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.callbackURL | var callbackURL: URL | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.category | var category: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.chatID | @MainActor let chatID: String | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.chatID | var chatID: String | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.chatID | var chatID: String | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.chunkID | var chunkID: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.chunkType | var chunkType: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.citations | var citations: [AICitation] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.cleanupStatus | var cleanupStatus: MCPManagedSubscription.CleanupStatus? | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.clientEmail | var clientEmail: String | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.clientID | var clientID: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientIDIssuedAt | var clientIDIssuedAt: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientIDMetadataDocumentSupported | var clientIDMetadataDocumentSupported: Bool? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientInformation | var clientInformation: MCPOAuthClientInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientMetadata | var clientMetadata: MCPOAuthClientMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientMetadata | var clientMetadata: MCPOAuthClientMetadata { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientName | var clientName: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientSecret | var clientSecret: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientSecretExpiresAt | var clientSecretExpiresAt: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.clientURI | var clientURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.code | var code: Int | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.code | var code: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.code | let code: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.code | var code: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.codeChallengeMethodsSupported | var codeChallengeMethodsSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.codeVerifier | var codeVerifier: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.command | var command: String | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | SwiftAISDK.completionTokens | var completionTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.contacts | var contacts: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.content | var content: [JSONValue] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.content | var content: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.content | var content: [String : JSONValue]? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.contentFormat | var contentFormat: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.contents | var contents: [MCPResourceContent] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.context | var context: [String : JSONValue]? | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.count | var count: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.count | var count: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.countryCode | var countryCode: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.createdAt | var createdAt: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.credentialProvider | var credentialProvider: (@Sendable () async throws -> AmazonBedrockCredentials)? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.credentialProvider | var credentialProvider: (@Sendable () async throws -> AnthropicAWSCredentials)? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.credentialType | var credentialType: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.credentialType | var credentialType: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.cursor | var cursor: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.cursor | var cursor: JSONValue? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.cursor | var cursor: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.cursor | var cursor: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.cursor | var cursor: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.cwd | var cwd: String? | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | SwiftAISDK.data | var data: [String : JSONValue] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.data | var data: JSONValue? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.data | var data: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.dataSource | var dataSource: GatewayTakoDataSourceConfig? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.date | var date: @Sendable () -> Date | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.date | var date: @Sendable () -> Date | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.date | var date: @Sendable () -> Date | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.datePart | var datePart: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.day | var day: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.definition | var definition: MCPEventDefinition | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.delivery | var delivery: [MCPEventDeliveryMode] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.delivery | var delivery: MCPEventDelivery | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.deliveryURL | var deliveryURL: URL | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String { get } | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | SwiftAISDK.description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.description | var description: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.destructiveHint | var destructiveHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.detail | var detail: MiniMaxImagePartOptions.Detail? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.effort | var effort: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.effort | var effort: MiniMaxLanguageModelOptions.Effort? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.endDate | var endDate: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.env | var env: [String : String] | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | SwiftAISDK.environment | var environment: [String : String]? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.environment | var environment: [String : String]? | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.environment | var environment: [String : String]? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.environment | var environment: [String : String]? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.error | @Published @MainActor var error: (any Error)? { get set } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.errorDescription | var errorDescription: String? | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | SwiftAISDK.eventId | var eventId: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.events | var events: [MCPEventDefinition] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.excludeDomains | var excludeDomains: [String] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.executableTools | var executableTools: [AITool] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.experimentalEvents | var experimentalEvents: MCPEvents { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | SwiftAISDK.experimentalSpeech | var experimentalSpeech: GatewaySpeechFactory { get } | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.experimentalTranscription | var experimentalTranscription: GatewayTranscriptionFactory { get } | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.expiresAfterSeconds | var expiresAfterSeconds: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.expiresAt | var expiresAt: String? | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.expiresAt | var expiresAt: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.expiresIn | var expiresIn: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.factoryNames | var factoryNames: [String] | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.fields | let fields: [String : JSONValue] | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.finishReason | var finishReason: String? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.finishReason | var finishReason: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.forceRefresh | var forceRefresh: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.format | var format: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.fps | var fps: Double? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.generateMessageID | @MainActor var generateMessageID: @Sendable () -> String | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.generateMessageID | var generateMessageID: @Sendable () -> String | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.generationTime | var generationTime: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.grantTypes | var grantTypes: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.grantTypesSupported | var grantTypesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.groupBy | var groupBy: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.hasMore | var hasMore: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.headers | var headers: [String : String] | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.highlights | var highlights: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.hour | var hour: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.html | var html: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.id | var id: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.id | var id: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.idempotencyKey | var idempotencyKey: String | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.idempotentHint | var idempotentHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.idToken | var idToken: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.image | var image: HeyGenVideoAsset? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.imageDarkMode | var imageDarkMode: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.includeContents | var includeContents: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.includeContents | var includeContents: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.includeDomains | var includeDomains: [String] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.includeRelated | var includeRelated: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.includeUsage | var includeUsage: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.initializeResult | var initializeResult: JSONValue { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | SwiftAISDK.inputSchema | var inputSchema: JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.inputSchema | var inputSchema: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.inputSchema | var inputSchema: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.inputTokens | var inputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.insertReference | var insertReference: Bool? | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Instance Property | SwiftAISDK.instructions | var instructions: String? { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | SwiftAISDK.isAbort | var isAbort: Bool | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.isAborted | var isAborted: Bool | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | SwiftAISDK.isByok | var isByok: Bool | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.isCancelled | var isCancelled: Bool | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | SwiftAISDK.isDisconnect | var isDisconnect: Bool | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.isError | var isError: Bool | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.isError | var isError: Bool | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.isRunning | @MainActor var isRunning: Bool { get } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.issuer | var issuer: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.issuer | var issuer: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.issues | var issues: [AIUIMessageValidationIssue] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | SwiftAISDK.isValid | var isValid: Bool { get } | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | SwiftAISDK.jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.jsonValue | var jsonValue: JSONValue { get } | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Property | SwiftAISDK.jwks | var jwks: JSONValue? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.jwksURI | var jwksURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.key | var key: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.latency | var latency: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.latitude | var latitude: Double? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.lifetime | var lifetime: MCPManagedSubscribeInput.Lifetime | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.lifetime | var lifetime: MCPEventLifetime? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.lifetime | var lifetime: MCPEventLifetime? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.locale | var locale: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.location | var location: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.logoURI | var logoURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.longContext | var longContext: Bool? | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Instance Property | SwiftAISDK.longitude | var longitude: Double? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.maiBaseURL | var maiBaseURL: String? | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.marketCost | var marketCost: Double? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.maxAgeMilliseconds | var maxAgeMilliseconds: Int? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.maxAgeMilliseconds | var maxAgeMilliseconds: Int? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.maxBytes | var maxBytes: Int? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Property | SwiftAISDK.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int? { get } | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | SwiftAISDK.maxImagesPerCall | var maxImagesPerCall: Int { get } | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.maxImagesPerCall | let maxImagesPerCall: Int | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.maxImagesPerCall | let maxImagesPerCall: Int | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Instance Property | SwiftAISDK.maxRows | var maxRows: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.maxSteps | var maxSteps: Int | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.maxTotalTimeoutMilliseconds | var maxTotalTimeoutMilliseconds: Int? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Property | SwiftAISDK.maxVideosPerCall | let maxVideosPerCall: Int | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Instance Property | SwiftAISDK.message | var message: AIUIMessage? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.message | var message: AIUIMessage | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | SwiftAISDK.message | var message: AIUIMessage { get } | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.messageID | var messageID: String? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.messages | var messages: [AIUIMessage] | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.messages | @Published @MainActor var messages: [AIUIMessage] { get set } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.messages | var messages: [AIUIMessage] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.messages | var messages: [AIUIMessage] | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | SwiftAISDK.messages | var messages: [MCPPromptMessage] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.metadata | var metadata: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.mimeType | var mimeType: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.mimeType | var mimeType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.mode | var mode: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.mode | var mode: HeyGenVideoModelOptions.Mode? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.model | var model: any LanguageModel | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.model | var model: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.model | var model: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.model | var model: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.model | var model: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.modelFamily | var modelFamily: AmazonBedrockEmbeddingModelFamily? | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | SwiftAISDK.modelFamily | var modelFamily: AmazonBedrockChatModelFamily? | Sources/SwiftAISDK/Models/AmazonBedrockModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: FishAudioSpeechModelID | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: FishAudioTranscriptionModelID | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Instance Property | SwiftAISDK.modelID | var modelID: String { get } | Sources/SwiftAISDK/Models/GatewayEvaluationModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralConversationLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/PerplexityDecisionModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Instance Property | SwiftAISDK.modelID | var modelID: String { get } | Sources/SwiftAISDK/Models/TypesafeAIEvaluationModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | let modelID: String | Sources/SwiftAISDK/Models/ZAILanguageModel.swift |
| Instance Property | SwiftAISDK.modelID | var modelID: String? | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Property | SwiftAISDK.modelID | var modelID: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.modelType | var modelType: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.modelURL | var modelURL: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.modelVisible | var modelVisible: MCPListToolsResult | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.name | var name: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.name | var name: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.nextCursor | var nextCursor: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.nodeIDs | var nodeIDs: [String] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.notes | var notes: String? | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.numResults | var numResults: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.onError | @MainActor var onError: (@MainActor @Sendable (any Error) -> Void)? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.onFinish | @MainActor var onFinish: (@MainActor @Sendable (AIChatSessionFinishEvent) -> Void)? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.openWorldHint | var openWorldHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.options | var options: MCPRequestOptions? | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.options | var options: MCPRequestOptions? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.organization | var organization: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.outcome | var outcome: AIUIMessageStreamOutcome | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Instance Property | SwiftAISDK.outputSchema | var outputSchema: JSONValue? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.outputSchema | var outputSchema: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.outputTokens | var outputTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.parameters | var parameters: [URLQueryItem] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.parts | var parts: [AIUIMessagePart] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.path | var path: String | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Instance Property | SwiftAISDK.payloadSchema | var payloadSchema: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.policyURI | var policyURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.prepareStep | var prepareStep: AIPrepareStep? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.privateKey | var privateKey: String | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.privateKeyID | var privateKeyID: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.project | var project: String? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.project | var project: String? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.promptEnhancement | var promptEnhancement: HeyGenVideoModelOptions.PromptEnhancement? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.prompts | var prompts: [MCPPrompt] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.promptTokens | var promptTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.provider | var provider: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.provider | var provider: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.provider | var provider: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.providerID | var providerID: String { get } | Sources/SwiftAISDK/Compatibility.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AlibabaEmbeddingModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AlibabaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AlibabaVideoModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockImageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AmazonBedrockRerankingModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AssemblyAIAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/BasetenModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/BlackForestLabsMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/BlackForestLabsVideoModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ByteDanceMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CartesiaSpeechModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CartesiaStreamingTranscriptionModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CartesiaTranscriptionModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CerebrasModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CohereEmbeddingRerankingModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/CohereLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepInfraModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepSeekModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/DeepgramAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ElevenLabsExtendedAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FalAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FireworksModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Instance Property | SwiftAISDK.providerID | var providerID: String { get } | Sources/SwiftAISDK/Models/GatewayEvaluationModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GenericMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GladiaAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleInteractionsModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GoogleVertexModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GroqModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/GroqTranscriptionModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/HuggingFaceModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/HumeAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/KlingAIMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/LMNTAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/LumaMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/MiniMaxVideoModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralConversationLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralEmbeddingModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralSpeechModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/MistralTranscriptionModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/PerplexityDecisionModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/PerplexityEmbeddingModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/PerplexityModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ProdiaMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ReplicateMediaModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/RevAIAudioModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/TogetherAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Instance Property | SwiftAISDK.providerID | var providerID: String { get } | Sources/SwiftAISDK/Models/TypesafeAIEvaluationModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/VoyageModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIModels.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIRealtimeModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Models/ZAILanguageModel.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAISDK.providerID | var providerID: String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Property | SwiftAISDK.providerID | let providerID: String | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Property | SwiftAISDK.providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.providerMetadata | var providerMetadata: [String : JSONValue] | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.providerName | var providerName: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.providerOptions | var providerOptions: [String : JSONValue] { get } | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.providerOptionsTransformer | var providerOptionsTransformer: AIEmbeddingProviderOptionsTransformer? { get } | Sources/SwiftAISDK/Models/GoogleGenerativeMediaModels.swift |
| Instance Property | SwiftAISDK.proxies | var proxies: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.publishedAfter | var publishedAfter: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.publishedBefore | var publishedBefore: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.queryParams | var queryParams: [String : String] | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.readOnlyHint | var readOnlyHint: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.reasoning | var reasoning: String { get } | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.reasoningTokens | var reasoningTokens: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.reasoningTokens | var reasoningTokens: Int | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.redirectURIs | var redirectURIs: [URL] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.redirectURL | var redirectURL: URL { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.reference | var reference: String? | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Instance Property | SwiftAISDK.referenceAudio | var referenceAudio: [HeyGenVideoAsset]? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.referenceImages | var referenceImages: [HeyGenVideoAsset]? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.referenceVideos | var referenceVideos: [HeyGenVideoAsset]? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.refreshBefore | var refreshBefore: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.refreshBefore | var refreshBefore: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.refreshBefore | var refreshBefore: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.refreshToken | var refreshToken: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.region | var region: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.region | var region: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.registrationEndpoint | var registrationEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.requestCount | var requestCount: Int? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.requestedSchema | var requestedSchema: JSONValue | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.requestOptions | var requestOptions: AIChatRequestOptions | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.required | var required: Bool? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resolution | var resolution: HeyGenVideoModelOptions.Resolution? | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Instance Property | SwiftAISDK.resource | var resource: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.resources | var resources: [MCPResource] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resourceTemplates | var resourceTemplates: [MCPResourceTemplate] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resourceURI | var resourceURI: String? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.responseBody | var responseBody: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.responseMessageID | var responseMessageID: String? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.responseTypes | var responseTypes: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.responseTypesSupported | var responseTypesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.results | var results: [GatewaySpendReportRow] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.resultType | var resultType: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.retryPolicy | var retryPolicy: AIRetryPolicy | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.role | var role: MessageRole | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.role | var role: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.schema | var schema: JSONValue? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.scope | var scope: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.scope | var scope: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.scopesSupported | var scopesSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.secret | var secret: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.secret | var secret: String? | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.secretAccessKey | var secretAccessKey: String | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.secretAccessKey | var secretAccessKey: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.secretAccessKey | var secretAccessKey: String | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.secretAccessKey | var secretAccessKey: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.secretKey | var secretKey: String? | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.sendAutomaticallyWhen | @MainActor var sendAutomaticallyWhen: (@MainActor @Sendable ([AIUIMessage]) -> Bool)? | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.sendFinish | var sendFinish: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.sendReasoning | var sendReasoning: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.sendSources | var sendSources: Bool | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.serverCapabilities | var serverCapabilities: JSONValue { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | SwiftAISDK.serverInfo | var serverInfo: MCPImplementation { get } | Sources/SwiftAISDK/MCPClientActor.swift |
| Instance Property | SwiftAISDK.serviceAccount | var serviceAccount: GoogleServiceAccountCredentials? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.sessionToken | var sessionToken: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.shell | var shell: MCPStdioShell | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | SwiftAISDK.size | var size: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.snippetMaxCharacters | var snippetMaxCharacters: Int? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.softwareID | var softwareID: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.softwareStatement | var softwareStatement: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.softwareVersion | var softwareVersion: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.specificationVersion | let specificationVersion: String | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Instance Property | SwiftAISDK.specificationVersion | let specificationVersion: String | Sources/SwiftAISDK/Models/GatewayEvaluationModel.swift |
| Instance Property | SwiftAISDK.specificationVersion | let specificationVersion: String | Sources/SwiftAISDK/Models/PerplexityDecisionModel.swift |
| Instance Property | SwiftAISDK.specificationVersion | let specificationVersion: String | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Instance Property | SwiftAISDK.specificationVersion | let specificationVersion: String | Sources/SwiftAISDK/Models/TypesafeAIEvaluationModel.swift |
| Instance Property | SwiftAISDK.speechBaseURL | var speechBaseURL: String? | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.startDate | var startDate: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.state | var state: AIUIStreamingPartState? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.state | var state: AIUIStreamingPartState? | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.status | @Published @MainActor var status: AIChatSessionStatus { get set } | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.status | var status: MCPManagedSubscription.Status | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.status | var status: MCPEventSubscription.Status | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.statusCode | var statusCode: Int? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.statusCode | var statusCode: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.stopWhen | var stopWhen: [AIStopCondition] | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.streamed | var streamed: Bool | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.strict | var strict: Bool? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.strictResponseInput | var strictResponseInput: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.structuredContent | var structuredContent: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.subscriptions | var subscriptions: [MCPManagedSubscription] | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | var supportedCapabilities: Set<ModelCapability> { get } | Sources/SwiftAISDK/Compatibility.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/FishAudioProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GMICloudProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GoogleGenerativeAIProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/HuggingFaceProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/OpenAICompatibleProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | var supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/TypesafeAIProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/VercelProvider.swift |
| Instance Property | SwiftAISDK.supportedCapabilities | let supportedCapabilities: Set<ModelCapability> | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Instance Property | SwiftAISDK.supportedFileOperations | let supportedFileOperations: Set<AIFileOperation> | Sources/SwiftAISDK/Models/FileClients.swift |
| Instance Property | SwiftAISDK.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Sources/SwiftAISDK/Models/GatewayDecisionModel.swift |
| Instance Property | SwiftAISDK.supportedQuestionTypes | let supportedQuestionTypes: [AIEvaluationQuestionType] | Sources/SwiftAISDK/Models/GatewayEvaluationModel.swift |
| Instance Property | SwiftAISDK.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Sources/SwiftAISDK/Models/PerplexityDecisionModel.swift |
| Instance Property | SwiftAISDK.supportedQuestionTypes | let supportedQuestionTypes: [AIDecisionQuestionType] | Sources/SwiftAISDK/Models/TypesafeAIDecisionModel.swift |
| Instance Property | SwiftAISDK.supportedQuestionTypes | let supportedQuestionTypes: [AIEvaluationQuestionType] | Sources/SwiftAISDK/Models/TypesafeAIEvaluationModel.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/AmazonBedrockLanguageModel.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/GoogleBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/MistralConversationLanguageModel.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/XAIResponsesBatchLanguageModel.swift |
| Instance Property | SwiftAISDK.supportedURLs | let supportedURLs: [String : [AISupportedURLPattern]] | Sources/SwiftAISDK/Models/ZAILanguageModel.swift |
| Instance Property | SwiftAISDK.supportsDynamicClientRegistration | var supportsDynamicClientRegistration: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.supportsDynamicClientRegistration | var supportsDynamicClientRegistration: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | var supportsFileInputs: Bool? { get async } | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | let supportsFileInputs: Bool? | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.supportsFileInputs | let supportsFileInputs: Bool? | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Instance Property | SwiftAISDK.supportsFileUpload | var supportsFileUpload: Bool | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get } | Sources/SwiftAISDK/ImageInputCapabilities.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | var supportsMaskInputs: Bool? { get async } | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | let supportsMaskInputs: Bool? | Sources/SwiftAISDK/Models/AzureMAIImageModel.swift |
| Instance Property | SwiftAISDK.supportsMaskInputs | let supportsMaskInputs: Bool? | Sources/SwiftAISDK/Models/TopazImageModel.swift |
| Instance Property | SwiftAISDK.supportsMCPToolParameterHeaders | let supportsMCPToolParameterHeaders: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | SwiftAISDK.supportsMCPToolParameterHeaders | var supportsMCPToolParameterHeaders: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.supportsMCPToolParameterHeaders | var supportsMCPToolParameterHeaders: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.supportsMultiPartToolContent | var supportsMultiPartToolContent: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.supportsProtocolVersionDiscovery | let supportsProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | SwiftAISDK.supportsProtocolVersionDiscovery | let supportsProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Instance Property | SwiftAISDK.supportsProtocolVersionDiscovery | var supportsProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.supportsProtocolVersionDiscovery | var supportsProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.supportsSkillUpload | var supportsSkillUpload: Bool | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.supportsStructuredOutputs | var supportsStructuredOutputs: Bool | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.supportsUnaryVideoGeneration | let supportsUnaryVideoGeneration: Bool | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.supportsUnaryVideoGeneration | let supportsUnaryVideoGeneration: Bool | Sources/SwiftAISDK/Models/HeyGenVideoModel.swift |
| Instance Property | SwiftAISDK.supportsUnaryVideoGeneration | let supportsUnaryVideoGeneration: Bool | Sources/SwiftAISDK/Models/TopazVideoModel.swift |
| Instance Property | SwiftAISDK.supportsVideoGenerationWebhooks | let supportsVideoGenerationWebhooks: Bool | Sources/SwiftAISDK/Models/FalMediaModels.swift |
| Instance Property | SwiftAISDK.supportsVideoGenerationWebhooks | let supportsVideoGenerationWebhooks: Bool | Sources/SwiftAISDK/Models/GatewayMediaModels.swift |
| Instance Property | SwiftAISDK.tag | var tag: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.tags | var tags: [String] | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.telemetry | var telemetry: Telemetry.Options? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.text | var text: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.text | var text: String | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.text | var text: String { get } | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.text | var text: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.thinking | var thinking: MiniMaxLanguageModelOptions.Thinking? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.timeoutMilliseconds | var timeoutMilliseconds: Int? | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | SwiftAISDK.timeoutNanoseconds | var timeoutNanoseconds: UInt64? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.timestamp | var timestamp: String | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.timezone | var timezone: String? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.title | var title: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.token | var token: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.tokenEndpoint | var tokenEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenEndpoint | var tokenEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenEndpoint | var tokenEndpoint: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenEndpoint | var tokenEndpoint: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenEndpointAuthMethod | var tokenEndpointAuthMethod: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenEndpointAuthMethodsSupported | var tokenEndpointAuthMethodsSupported: [String] | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokens | var tokens: MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenType | var tokenType: String | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.tokenURL | var tokenURL: URL | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.toolAnnotations | var toolAnnotations: MCPToolAnnotations? { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.toolApproval | var toolApproval: AIToolApproval? | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.toolCallers | var toolCallers: AIToolCallerRouting | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.toolResult | var toolResult: JSONValue? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.toolResultDownloads | var toolResultDownloads: GoogleVertexToolResultDownloadSettings? | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.tools | var tools: [MCPToolDefinition] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.tosURI | var tosURI: URL? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.total | var total: Int? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.totalCost | var totalCost: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.totalCost | var totalCost: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.totalUsed | var totalUsed: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.transformRequestBody | var transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.transformRequestBodyWithWarnings | var transformRequestBodyWithWarnings: (@Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue])? | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.transport | @MainActor var transport: any AIChatTransport | Sources/SwiftAISDK/AIChatSession.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Instance Property | SwiftAISDK.transport | var transport: any AITransport | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.trigger | var trigger: AIChatTransportTrigger | Sources/SwiftAISDK/AIChatTransport.swift |
| Instance Property | SwiftAISDK.truncated | var truncated: Bool | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.truncated | let truncated: Bool | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.truncated | var truncated: Bool | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.unavailableStaticToolCallIDs | var unavailableStaticToolCallIDs: Set<String> | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.upstreamInferenceCost | var upstreamInferenceCost: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.upstreamPackage | var upstreamPackage: String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Instance Property | SwiftAISDK.uri | var uri: String | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.uri | var uri: String? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.uri | var uri: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.uri | var uri: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.uriTemplate | var uriTemplate: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.url | var url: URL | Sources/SwiftAISDK/MCPEventTypes.swift |
| Instance Property | SwiftAISDK.url | var url: String? | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.url | var url: String | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.usage | var usage: Double | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.user | var user: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.userID | var userID: String? | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Instance Property | SwiftAISDK.usesCustomClientAuthentication | var usesCustomClientAuthentication: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.usesCustomClientAuthentication | var usesCustomClientAuthentication: Bool { get } | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Instance Property | SwiftAISDK.validationIssues | var validationIssues: [AIUIMessageValidationIssue] | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.value | var value: JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Instance Property | SwiftAISDK.value | var value: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.values | var values: [String] | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.version | var version: String | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.version | var version: String | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.videoBaseURL | var videoBaseURL: String? | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Instance Property | SwiftAISDK.visibility | var visibility: [MCPAppToolMeta.Visibility]? | Sources/SwiftAISDK/MCPApps.swift |
| Instance Property | SwiftAISDK.waitsForProtocolVersionDiscovery | let waitsForProtocolVersionDiscovery: Bool | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Instance Property | SwiftAISDK.waitsForProtocolVersionDiscovery | var waitsForProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.waitsForProtocolVersionDiscovery | var waitsForProtocolVersionDiscovery: Bool { get } | Sources/SwiftAISDK/MCPTypes.swift |
| Instance Property | SwiftAISDK.webSocketTransport | var webSocketTransport: any AIDuplexWebSocketTransport | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Instance Property | SwiftAISDK.webSocketTransport | var webSocketTransport: any AIDuplexWebSocketTransport | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Instance Property | SwiftAISDK.webSource | var webSource: GatewayTakoWebSourceConfig? | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Instance Property | SwiftAISDK.workspaceID | var workspaceID: String? | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Instance Property | SwiftAITransport.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.body | var body: Data? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.body | var body: Data | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.body | var body: AsyncThrowingStream<Data, any Error> | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.bodyAvailable | var bodyAvailable: Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.bodyStream | var bodyStream: AsyncThrowingStream<Data, any Error>? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.bodyText | var bodyText: String { get } | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.boundary | var boundary: String | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Property | SwiftAITransport.containsStream | var containsStream: Bool { get } | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Property | SwiftAITransport.data | var data: String | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Property | SwiftAITransport.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.dynamicHeaders | var dynamicHeaders: (@Sendable () -> [String : String])? | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Property | SwiftAITransport.event | var event: String? | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Property | SwiftAITransport.events | var events: AsyncThrowingStream<AIDuplexWebSocketEvent, any Error> { get } | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.followRedirects | var followRedirects: Bool | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Property | SwiftAITransport.id | var id: String? | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Instance Property | SwiftAITransport.maxResponseBytes | var maxResponseBytes: Int? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.message | var message: String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.method | var method: String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.protocols | var protocols: [String] | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.providerID | var providerID: String | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Property | SwiftAITransport.requestModelID | var requestModelID: String? | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Property | SwiftAITransport.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.stream | let stream: AsyncThrowingStream<Data, any Error> | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Instance Property | SwiftAITransport.transport | var transport: any AITransport | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Property | SwiftAITransport.url | var url: URL | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Instance Property | SwiftAITransport.url | var url: URL | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.url | var url: String | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.url | var url: URL? | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Instance Property | SwiftAITransport.url | var url: @Sendable (String, String) throws -> URL | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Property | SwiftAITransport.userAgentSuffix | var userAgentSuffix: String? | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Instance Subscript | SwiftAIProvider.subscript(_:) | subscript(key: String) -> JSONValue? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Instance Subscript | SwiftAIProvider.subscript(_:) | subscript(index: Int) -> JSONValue? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Operator | SwiftAIProvider.==(_:_:) | static func == (lhs: AIRealtimeClientSecretOptions, rhs: AIRealtimeClientSecretOptions) -> Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Protocol | SwiftAI.AIAgent | protocol AIAgent : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Protocol | SwiftAI.AIObjectSchema | protocol AIObjectSchema : Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Protocol | SwiftAI.AsyncVideoModel | protocol AsyncVideoModel : VideoModel | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Protocol | SwiftAI.Telemetry.Integration | protocol Integration : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Protocol | SwiftAIProvider.AIBatchProvider | protocol AIBatchProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Protocol | SwiftAIProvider.AIDecisionModelV4 | protocol AIDecisionModelV4 : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Protocol | SwiftAIProvider.AIDecisionProvider | protocol AIDecisionProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Protocol | SwiftAIProvider.AIEvaluationModelV4 | protocol AIEvaluationModelV4 : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Protocol | SwiftAIProvider.AIEvaluationProvider | protocol AIEvaluationProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Protocol | SwiftAIProvider.AIFileClient | protocol AIFileClient : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AIFileProvider | protocol AIFileProvider : AIProvider | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AIProvider | protocol AIProvider : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AIRealtimeModelV4 | protocol AIRealtimeModelV4 : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Protocol | SwiftAIProvider.AIRealtimeModelV4ValidationHooks | protocol AIRealtimeModelV4ValidationHooks : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Protocol | SwiftAIProvider.AISkillsClient | protocol AISkillsClient : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AISkillsProvider | protocol AISkillsProvider : AIProvider | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AudioGenerationModel | protocol AudioGenerationModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.AudioTransformationModel | protocol AudioTransformationModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.BatchLanguageModel | protocol BatchLanguageModel : LanguageModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Protocol | SwiftAIProvider.EmbeddingModel | protocol EmbeddingModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.ImageModel | protocol ImageModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.LanguageModel | protocol LanguageModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.RawVideoGenerationInputModel | protocol RawVideoGenerationInputModel : VideoModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.RerankingModel | protocol RerankingModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.SpeechModel | protocol SpeechModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.StreamingSpeechModel | protocol StreamingSpeechModel : SpeechModel | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Protocol | SwiftAIProvider.StreamingTranscriptionModel | protocol StreamingTranscriptionModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Protocol | SwiftAIProvider.TranscriptionModel | protocol TranscriptionModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProvider.VideoModel | protocol VideoModel : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Protocol | SwiftAIProviderUtilities.AIWarningLogger | protocol AIWarningLogger : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Protocol | SwiftAISDK.AIChatTransport | protocol AIChatTransport : Sendable | Sources/SwiftAISDK/AIChatTransport.swift |
| Protocol | SwiftAISDK.MCPEventAdapter | protocol MCPEventAdapter : Sendable | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Protocol | SwiftAISDK.MCPEventOperations | protocol MCPEventOperations : Sendable | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Protocol | SwiftAISDK.MCPEventStore | protocol MCPEventStore : Sendable | Sources/SwiftAISDK/MCPEventTypes.swift |
| Protocol | SwiftAISDK.MCPOAuthClientProvider | protocol MCPOAuthClientProvider : Sendable | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Protocol | SwiftAISDK.MCPOAuthProvider | protocol MCPOAuthProvider : Sendable | Sources/SwiftAISDK/MCPTypes.swift |
| Protocol | SwiftAISDK.MCPTransport | protocol MCPTransport : Sendable | Sources/SwiftAISDK/MCPTypes.swift |
| Protocol | SwiftAITransport.AIDuplexWebSocketConnection | protocol AIDuplexWebSocketConnection : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Protocol | SwiftAITransport.AIDuplexWebSocketTransport | protocol AIDuplexWebSocketTransport : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Protocol | SwiftAITransport.AIStreamingTransport | protocol AIStreamingTransport : AITransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Protocol | SwiftAITransport.AITransport | protocol AITransport : Sendable | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAI.AIAgentCallOptions | struct AIAgentCallOptions | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Structure | SwiftAI.AIChatRequestOptions | struct AIChatRequestOptions | Packages/swift-ai-core/Sources/SwiftAI/AIChatTransport.swift |
| Structure | SwiftAI.AIDecisionEndEvent | struct AIDecisionEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Structure | SwiftAI.AIDecisionModelCallEndEvent | struct AIDecisionModelCallEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Structure | SwiftAI.AIDecisionModelCallStartEvent | struct AIDecisionModelCallStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Structure | SwiftAI.AIDecisionStartEvent | struct AIDecisionStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Structure | SwiftAI.AIDefaultEmbeddingModelSettings | struct AIDefaultEmbeddingModelSettings | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Structure | SwiftAI.AIDefaultLanguageModelSettings | struct AIDefaultLanguageModelSettings | Packages/swift-ai-core/Sources/SwiftAI/DefaultSettingsMiddleware.swift |
| Structure | SwiftAI.AIEmbeddingModelEmbedContext | struct AIEmbeddingModelEmbedContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AIEmbeddingModelMiddleware | struct AIEmbeddingModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AIEmbeddingModelTransformContext | struct AIEmbeddingModelTransformContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AIEvaluationEndEvent | struct AIEvaluationEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Structure | SwiftAI.AIEvaluationModelCallEndEvent | struct AIEvaluationModelCallEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Structure | SwiftAI.AIEvaluationModelCallStartEvent | struct AIEvaluationModelCallStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Structure | SwiftAI.AIEvaluationStartEvent | struct AIEvaluationStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Structure | SwiftAI.AIImageModelGenerateContext | struct AIImageModelGenerateContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AIImageModelMiddleware | struct AIImageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AIImageModelTransformContext | struct AIImageModelTransformContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AIJSONSchema | struct AIJSONSchema<Output> where Output : Decodable, Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreObjectSchema.swift |
| Structure | SwiftAI.AILanguageModelGenerateContext | struct AILanguageModelGenerateContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AILanguageModelMiddleware | struct AILanguageModelMiddleware | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AILanguageModelStreamContext | struct AILanguageModelStreamContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AILanguageModelTransformContext | struct AILanguageModelTransformContext | Packages/swift-ai-core/Sources/SwiftAI/MiddlewareTypes.swift |
| Structure | SwiftAI.AINoOutputError | struct AINoOutputError | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Structure | SwiftAI.AIObjectGenerationCallbacks | struct AIObjectGenerationCallbacks<Output> where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectGenerationError | struct AIObjectGenerationError | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectGenerationErrorEvent | struct AIObjectGenerationErrorEvent | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectGenerationFinishEvent | struct AIObjectGenerationFinishEvent<Output> where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectGenerationSessionFinishEvent | struct AIObjectGenerationSessionFinishEvent<Output> where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Structure | SwiftAI.AIObjectGenerationSessionRequestOptions | struct AIObjectGenerationSessionRequestOptions | Packages/swift-ai-core/Sources/SwiftAI/AIObjectGenerationSession.swift |
| Structure | SwiftAI.AIObjectGenerationStartEvent | struct AIObjectGenerationStartEvent | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectGenerationStepFinishEvent | struct AIObjectGenerationStepFinishEvent | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectGenerationStepStartEvent | struct AIObjectGenerationStepStartEvent | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIObjectRepairContext | struct AIObjectRepairContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.AIOutput | struct AIOutput<FinalOutput, PartialOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Structure | SwiftAI.AIOutputGenerationResult | struct AIOutputGenerationResult<Output> where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Structure | SwiftAI.AIParsePartialJSONResult | struct AIParsePartialJSONResult | Packages/swift-ai-core/Sources/SwiftAI/AIObjectPartialJSON.swift |
| Structure | SwiftAI.AIPrepareStepContext | struct AIPrepareStepContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIPrepareStepResult | struct AIPrepareStepResult | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIPruneToolCalls | struct AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Structure | SwiftAI.AIReasoningDelimiters | struct AIReasoningDelimiters | Packages/swift-ai-core/Sources/SwiftAI/ExtractionMiddleware.swift |
| Structure | SwiftAI.AIStopCondition | struct AIStopCondition | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIStopConditionContext | struct AIStopConditionContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIStreamTimeoutConfiguration | struct AIStreamTimeoutConfiguration | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Structure | SwiftAI.AIStreamTimeoutError | struct AIStreamTimeoutError | Packages/swift-ai-core/Sources/SwiftAI/AIStreamTimeouts.swift |
| Structure | SwiftAI.AITool | struct AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolApprovalContext | struct AIToolApprovalContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolCallRepairContext | struct AIToolCallRepairContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolChoiceViolationError | struct AIToolChoiceViolationError | Packages/swift-ai-core/Sources/SwiftAI/ToolChoicePreparation.swift |
| Structure | SwiftAI.AIToolExecutionContext | struct AIToolExecutionContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolInputAvailableContext | struct AIToolInputAvailableContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolInputDeltaContext | struct AIToolInputDeltaContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolInputExampleFormatContext | struct AIToolInputExampleFormatContext | Packages/swift-ai-core/Sources/SwiftAI/ToolInputExamplesMiddleware.swift |
| Structure | SwiftAI.AIToolInputStartContext | struct AIToolInputStartContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolLoopAgent | struct AIToolLoopAgent | Packages/swift-ai-core/Sources/SwiftAI/AIAgent.swift |
| Structure | SwiftAI.AIToolModelOutputContext | struct AIToolModelOutputContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolNeedsApprovalContext | struct AIToolNeedsApprovalContext | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.AIToolSearchCandidate | struct AIToolSearchCandidate | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Structure | SwiftAI.LanguageGenerationOptions | struct LanguageGenerationOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Structure | SwiftAI.LanguageToolOptions | struct LanguageToolOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Structure | SwiftAI.ModelID | struct ModelID | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Structure | SwiftAI.ObjectGenerationResult | struct ObjectGenerationResult<Object> where Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/CoreTextObjectResults.swift |
| Structure | SwiftAI.StreamingSpeechAudioStream | struct StreamingSpeechAudioStream | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Structure | SwiftAI.StreamingSpeechAudioStream.AsyncIterator | struct AsyncIterator | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Structure | SwiftAI.StreamingSpeechPartStream | struct StreamingSpeechPartStream | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Structure | SwiftAI.StreamingSpeechPartStream.AsyncIterator | struct AsyncIterator | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Structure | SwiftAI.StreamingSpeechResult | struct StreamingSpeechResult | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Structure | SwiftAI.StreamingSpeechSummary | struct StreamingSpeechSummary | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Structure | SwiftAI.Telemetry.Event | struct Event | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Structure | SwiftAI.Telemetry.LanguageModelCallContext | struct LanguageModelCallContext<Output> where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Structure | SwiftAI.Telemetry.Options | struct Options | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Structure | SwiftAI.Telemetry.ToolExecutionContext | struct ToolExecutionContext<Output> where Output : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Structure | SwiftAI.VideoGenerationOperationStartRequest | struct VideoGenerationOperationStartRequest | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationStartResult | struct VideoGenerationOperationStartResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationStatusRequest | struct VideoGenerationOperationStatusRequest | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationWebhook | struct VideoGenerationOperationWebhook | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationPollOptions | struct VideoGenerationPollOptions | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationWebhookRegistration | struct VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAIAnthropic.AnthropicCitationDocument | struct AnthropicCitationDocument | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Structure | SwiftAIAnthropic.AnthropicGeneratedContent | struct AnthropicGeneratedContent | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicParsing.swift |
| Structure | SwiftAIAnthropic.AnthropicModelCapabilities | struct AnthropicModelCapabilities | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicOptions.swift |
| Structure | SwiftAIAnthropic.AnthropicModelConfiguration | struct AnthropicModelConfiguration | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Structure | SwiftAIAnthropic.AnthropicPreparedCall | struct AnthropicPreparedCall | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Structure | SwiftAIAnthropic.AnthropicProviderSettings | struct AnthropicProviderSettings | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Structure | SwiftAIAnthropic.AnthropicRequestPolicy | struct AnthropicRequestPolicy | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingContentBlocks | struct AnthropicStreamingContentBlocks | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingJSONToolText | struct AnthropicStreamingJSONToolText | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingProviderToolResults | struct AnthropicStreamingProviderToolResults | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingSources | struct AnthropicStreamingSources | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIAnthropic.AnthropicStreamingToolCalls | struct AnthropicStreamingToolCalls | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicStreaming.swift |
| Structure | SwiftAIOpenAI.OpenAICompatibleResponsesPreparedRequest | struct OpenAICompatibleResponsesPreparedRequest | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesInput.swift |
| Structure | SwiftAIOpenAI.OpenAILanguageModelCapabilities | struct OpenAILanguageModelCapabilities | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesOptions.swift |
| Structure | SwiftAIOpenAI.OpenAIModelConfiguration | struct OpenAIModelConfiguration | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Structure | SwiftAIOpenAI.OpenAIProviderSettings | struct OpenAIProviderSettings | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIConfiguration.swift |
| Structure | SwiftAIOpenAI.OpenResponsesErrorMetadata | struct OpenResponsesErrorMetadata | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Structure | SwiftAIOpenAI.OpenResponsesFailedResponse | struct OpenResponsesFailedResponse | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleLanguageCapabilities | struct OpenAICompatibleLanguageCapabilities | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleModelConfiguration | struct OpenAICompatibleModelConfiguration | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleConfiguration.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleProviderSettings | struct OpenAICompatibleProviderSettings | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Structure | SwiftAIOpenAICompatible.OpenAICompatibleToolCallBuffer | struct OpenAICompatibleToolCallBuffer | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatCommon.swift |
| Structure | SwiftAIProvider.AIAbortError | struct AIAbortError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAbort.swift |
| Structure | SwiftAIProvider.AIAPICallError | struct AIAPICallError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIBatch | struct AIBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchCancelResult | struct AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchError | struct AIBatchError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchListItem | struct AIBatchListItem | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchListOptions | struct AIBatchListOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchListResult | struct AIBatchListResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchOperationOptions | struct AIBatchOperationOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchReference | struct AIBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchRequestCounts | struct AIBatchRequestCounts | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchResultDownloadSettings | struct AIBatchResultDownloadSettings | Packages/swift-ai-core/Sources/SwiftAIProvider/BatchResultDownloadSettings.swift |
| Structure | SwiftAIProvider.AIBatchStartOptions | struct AIBatchStartOptions<Request> where Request : Sendable | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchStartResult | struct AIBatchStartResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchStatus | struct AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIBatchWarning | struct AIBatchWarning | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AICitation | struct AICitation | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Structure | SwiftAIProvider.AIDecisionBox | struct AIDecisionBox | Packages/swift-ai-core/Sources/SwiftAIProvider/DecisionBox.swift |
| Structure | SwiftAIProvider.AIDecisionModelV4CallOptions | struct AIDecisionModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionModelV4Result | struct AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionRefusalError | struct AIDecisionRefusalError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionResult | struct AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDecisionUnsupportedFunctionalityError | struct AIDecisionUnsupportedFunctionalityError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Structure | SwiftAIProvider.AIDuplexWebSocketCloseMetadata | struct AIDuplexWebSocketCloseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Structure | SwiftAIProvider.AIEmbeddingProviderOptionsTransformContext | struct AIEmbeddingProviderOptionsTransformContext | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.AIEvaluationModelUsage | struct AIEvaluationModelUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationModelV4CallOptions | struct AIEvaluationModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationModelV4Result | struct AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationResponseMetadata | struct AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationResult | struct AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationRounding | struct AIEvaluationRounding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationUnsupportedQuestionTypeError | struct AIEvaluationUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIEvaluationUsage | struct AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Structure | SwiftAIProvider.AIInvalidToolApprovalError | struct AIInvalidToolApprovalError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIInvalidToolApprovalSignatureError | struct AIInvalidToolApprovalSignatureError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIInvalidToolInputError | struct AIInvalidToolInputError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIJSONInstruction | struct AIJSONInstruction | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Structure | SwiftAIProvider.AIJSONParseError | struct AIJSONParseError | Packages/swift-ai-core/Sources/SwiftAIProvider/SecureJSONParsing.swift |
| Structure | SwiftAIProvider.AILanguageModelBatchRequest | struct AILanguageModelBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.AIMessage | struct AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Structure | SwiftAIProvider.AIMissingToolResultsError | struct AIMissingToolResultsError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AINoSpeechGeneratedError | struct AINoSpeechGeneratedError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Structure | SwiftAIProvider.AINoSuchProviderReferenceError | struct AINoSuchProviderReferenceError | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Structure | SwiftAIProvider.AINoSuchToolError | struct AINoSuchToolError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIRealtimeAudioFormat | struct AIRealtimeAudioFormat | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeAudioTranscriptionConfiguration | struct AIRealtimeAudioTranscriptionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeClientSecretOptions | struct AIRealtimeClientSecretOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeClientSecretResult | struct AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeModelCapabilities | struct AIRealtimeModelCapabilities | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeResponseOptions | struct AIRealtimeResponseOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeSessionConfiguration | struct AIRealtimeSessionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeSessionUsage | struct AIRealtimeSessionUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeToolDefinition | struct AIRealtimeToolDefinition | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeTurnDetectionConfiguration | struct AIRealtimeTurnDetectionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRealtimeWebSocketConfiguration | struct AIRealtimeWebSocketConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Structure | SwiftAIProvider.AIRequestMetadata | struct AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIResponseMetadata | struct AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIRetryError | struct AIRetryError | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Structure | SwiftAIProvider.AIRetryPolicy | struct AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Structure | SwiftAIProvider.AISource | struct AISource | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIStreamFile | struct AIStreamFile | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIStreamingAudioFormat | struct AIStreamingAudioFormat | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Structure | SwiftAIProvider.AIStreamingAudioInput | struct AIStreamingAudioInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Structure | SwiftAIProvider.AIStreamingSpeechError | struct AIStreamingSpeechError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Structure | SwiftAIProvider.AIStreamingTextInput | struct AIStreamingTextInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Structure | SwiftAIProvider.AIStreamingTranscriptionError | struct AIStreamingTranscriptionError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Structure | SwiftAIProvider.AISupportedURLPattern | struct AISupportedURLPattern | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreProtocols.swift |
| Structure | SwiftAIProvider.AIToolApprovalRequest | struct AIToolApprovalRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIToolApprovalResponse | struct AIToolApprovalResponse | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIToolCall | struct AIToolCall | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIToolCallNotFoundForApprovalError | struct AIToolCallNotFoundForApprovalError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIToolCallRepairError | struct AIToolCallRepairError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIToolResult | struct AIToolResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AIToolStep | struct AIToolStep | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTools.swift |
| Structure | SwiftAIProvider.AITooManyEmbeddingValuesForCallError | struct AITooManyEmbeddingValuesForCallError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AITypeValidationContext | struct AITypeValidationContext | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AITypeValidationError | struct AITypeValidationError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIWarning | struct AIWarning | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.AudioGenerationRequest | struct AudioGenerationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.AudioGenerationResult | struct AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.AudioTranscriptionRequest | struct AudioTranscriptionRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.AudioTransformationRequest | struct AudioTransformationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.AudioTransformationResult | struct AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.DubbingAudioResult | struct DubbingAudioResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.DubbingCreateRequest | struct DubbingCreateRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.DubbingCreateResult | struct DubbingCreateResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.DubbingStatusResult | struct DubbingStatusResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.EmbeddingRequest | struct EmbeddingRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.EmbeddingResult | struct EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.FileDeleteRequest | struct FileDeleteRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDeleteResult | struct FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDownloadRequest | struct FileDownloadRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileDownloadResult | struct FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileMetadataRequest | struct FileMetadataRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileMetadataResult | struct FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileUploadRequest | struct FileUploadRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.FileUploadResult | struct FileUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.GatewayError | struct GatewayError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Structure | SwiftAIProvider.ImageBatchGenerationResult | struct ImageBatchGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.ImageBatchRequest | struct ImageBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.ImageGenerationCall | struct ImageGenerationCall | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.ImageGenerationRequest | struct ImageGenerationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.ImageGenerationResult | struct ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.ImageInputFile | struct ImageInputFile | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Structure | SwiftAIProvider.LanguageModelRequest | struct LanguageModelRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreLanguageRequest.swift |
| Structure | SwiftAIProvider.RerankedDocument | struct RerankedDocument | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.RerankingRequest | struct RerankingRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.RerankingResult | struct RerankingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.SkillUploadFile | struct SkillUploadFile | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.SkillUploadRequest | struct SkillUploadRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.SkillUploadResult | struct SkillUploadResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.SpeechRequest | struct SpeechRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.SpeechResult | struct SpeechResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.SpeechTextPart | struct SpeechTextPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Structure | SwiftAIProvider.StartBatchResult | struct StartBatchResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.StartTextBatchResult | struct StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.StreamingSpeechModelResult | struct StreamingSpeechModelResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Structure | SwiftAIProvider.StreamingSpeechRequest | struct StreamingSpeechRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Structure | SwiftAIProvider.StreamingTranscriptionFinish | struct StreamingTranscriptionFinish | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Structure | SwiftAIProvider.StreamingTranscriptionRequest | struct StreamingTranscriptionRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Structure | SwiftAIProvider.StreamingTranscriptionResult | struct StreamingTranscriptionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Structure | SwiftAIProvider.TextBatch | struct TextBatch | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatchGenerationResult | struct TextBatchGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatchReference | struct TextBatchReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextBatchRequest | struct TextBatchRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreBatch.swift |
| Structure | SwiftAIProvider.TextGenerationResult | struct TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreTextObjectResults.swift |
| Structure | SwiftAIProvider.TokenUsage | struct TokenUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreFileSkillResults.swift |
| Structure | SwiftAIProvider.TranscriptionResult | struct TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.TranscriptionSegment | struct TranscriptionSegment | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreAudioResults.swift |
| Structure | SwiftAIProvider.VideoFrameImage | struct VideoFrameImage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.VideoGenerationRequest | struct VideoGenerationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.VideoGenerationResult | struct VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProviderUtilities.AIConsoleWarningLogger | struct AIConsoleWarningLogger | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Structure | SwiftAIProviderUtilities.AIJSONParseResult | struct AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Structure | SwiftAIProviderUtilities.AIStitchableStream | struct AIStitchableStream<Element> where Element : Sendable | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Structure | SwiftAIProviderUtilities.AIStreamingToolCallDelta | struct AIStreamingToolCallDelta | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Structure | SwiftAIProviderUtilities.AIStreamingToolCallTracker | struct AIStreamingToolCallTracker | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamingToolCallTracker.swift |
| Structure | SwiftAIProviderUtilities.AIStreamProviderError | struct AIStreamProviderError | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Structure | SwiftAIProviderUtilities.AIToolNameMapping | struct AIToolNameMapping | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Structure | SwiftAIProviderUtilities.AIWarningLogEvent | struct AIWarningLogEvent | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Structure | SwiftAIProviderUtilities.LanguageStreamNormalizer | struct LanguageStreamNormalizer | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/LanguageStreamNormalization.swift |
| Structure | SwiftAIProviderUtilities.MultipartFileProviderOptions | struct MultipartFileProviderOptions | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/FileUploadMetadata.swift |
| Structure | SwiftAIProviderUtilities.OpenAIStyleStreamingToolCalls | struct OpenAIStyleStreamingToolCalls | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/OpenAIStyleStreamingToolCalls.swift |
| Structure | SwiftAISDK.AIChatReconnectRequest | struct AIChatReconnectRequest | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | SwiftAISDK.AIChatSessionFinishEvent | struct AIChatSessionFinishEvent | Sources/SwiftAISDK/AIChatSession.swift |
| Structure | SwiftAISDK.AIChatSessionRequestOptions | struct AIChatSessionRequestOptions | Sources/SwiftAISDK/AIChatSession.swift |
| Structure | SwiftAISDK.AIChatTransportRequest | struct AIChatTransportRequest | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | SwiftAISDK.AIProviderCapabilityRow | struct AIProviderCapabilityRow | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Structure | SwiftAISDK.AIUIDataPart | struct AIUIDataPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUIMessage | struct AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUIMessageStreamEndEvent | struct AIUIMessageStreamEndEvent | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Structure | SwiftAISDK.AIUIMessageStreamError | struct AIUIMessageStreamError | Sources/SwiftAISDK/Errors.swift |
| Structure | SwiftAISDK.AIUIMessageStreamReducer | struct AIUIMessageStreamReducer | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Structure | SwiftAISDK.AIUIMessageToolSchema | struct AIUIMessageToolSchema | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUIMessageValidationIssue | struct AIUIMessageValidationIssue | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Structure | SwiftAISDK.AIUIMessageValidationResult | struct AIUIMessageValidationResult | Sources/SwiftAISDK/AIUIMessageValidation.swift |
| Structure | SwiftAISDK.AIUIReasoningPart | struct AIUIReasoningPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AIUITextPart | struct AIUITextPart | Sources/SwiftAISDK/CoreUIMessages.swift |
| Structure | SwiftAISDK.AmazonBedrockChatModelSettings | struct AmazonBedrockChatModelSettings | Sources/SwiftAISDK/Models/AmazonBedrockModels.swift |
| Structure | SwiftAISDK.AmazonBedrockCredentials | struct AmazonBedrockCredentials | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Structure | SwiftAISDK.AmazonBedrockEmbeddingModelSettings | struct AmazonBedrockEmbeddingModelSettings | Sources/SwiftAISDK/Models/AmazonBedrockEmbeddingModel.swift |
| Structure | SwiftAISDK.AmazonBedrockProviderSettings | struct AmazonBedrockProviderSettings | Sources/SwiftAISDK/Providers/AmazonBedrockProvider.swift |
| Structure | SwiftAISDK.AnthropicAWSCredentials | struct AnthropicAWSCredentials | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Structure | SwiftAISDK.AnthropicAWSProviderSettings | struct AnthropicAWSProviderSettings | Sources/SwiftAISDK/Providers/AnthropicAWSProvider.swift |
| Structure | SwiftAISDK.AzureOpenAIAudioSettings | struct AzureOpenAIAudioSettings | Sources/SwiftAISDK/Models/AzureAudioModels.swift |
| Structure | SwiftAISDK.AzureOpenAILanguageModelSettings | struct AzureOpenAILanguageModelSettings | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Structure | SwiftAISDK.CartesiaProviderSettings | struct CartesiaProviderSettings | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Structure | SwiftAISDK.DirectAIChatTransport | struct DirectAIChatTransport | Sources/SwiftAISDK/AIChatTransport.swift |
| Structure | SwiftAISDK.GatewayBrowserbaseFetchConfig | struct GatewayBrowserbaseFetchConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | SwiftAISDK.GatewayBrowserbaseSearchConfig | struct GatewayBrowserbaseSearchConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | SwiftAISDK.GatewayCredits | struct GatewayCredits | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewayGenerationInfo | struct GatewayGenerationInfo | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewayModelEntry | struct GatewayModelEntry | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewaySpeechFactory | struct GatewaySpeechFactory | Sources/SwiftAISDK/Models/GatewayStreamingSpeechModel.swift |
| Structure | SwiftAISDK.GatewaySpendReportParams | struct GatewaySpendReportParams | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewaySpendReportResponse | struct GatewaySpendReportResponse | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewaySpendReportRow | struct GatewaySpendReportRow | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewayTakoDataSourceConfig | struct GatewayTakoDataSourceConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | SwiftAISDK.GatewayTakoSearchConfig | struct GatewayTakoSearchConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | SwiftAISDK.GatewayTakoWebSourceConfig | struct GatewayTakoWebSourceConfig | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Structure | SwiftAISDK.GatewayTranscriptionFactory | struct GatewayTranscriptionFactory | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewayTranscriptionFactoryGetTokenOptions | struct GatewayTranscriptionFactoryGetTokenOptions | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GatewayTranscriptionFactoryGetTokenResult | struct GatewayTranscriptionFactoryGetTokenResult | Sources/SwiftAISDK/Providers/GatewayProvider.swift |
| Structure | SwiftAISDK.GoogleServiceAccountCredentials | struct GoogleServiceAccountCredentials | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Structure | SwiftAISDK.GoogleVertexProviderSettings | struct GoogleVertexProviderSettings | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Structure | SwiftAISDK.GoogleVertexToolResultDownloadSettings | struct GoogleVertexToolResultDownloadSettings | Sources/SwiftAISDK/Providers/GoogleVertexProvider.swift |
| Structure | SwiftAISDK.HeyGenVideoModelOptions | struct HeyGenVideoModelOptions | Sources/SwiftAISDK/Models/HeyGenVideoModelOptions.swift |
| Structure | SwiftAISDK.KlingAIProviderSettings | struct KlingAIProviderSettings | Sources/SwiftAISDK/Providers/KlingAIProviderSettings.swift |
| Structure | SwiftAISDK.MCPAppResource | struct MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Structure | SwiftAISDK.MCPAppToolMeta | struct MCPAppToolMeta | Sources/SwiftAISDK/MCPApps.swift |
| Structure | SwiftAISDK.MCPAppToolSplit | struct MCPAppToolSplit | Sources/SwiftAISDK/MCPApps.swift |
| Structure | SwiftAISDK.MCPCallToolResult | struct MCPCallToolResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPClientError | struct MCPClientError | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPCompleteArgument | struct MCPCompleteArgument | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPCompleteResult | struct MCPCompleteResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPElicitationRequest | struct MCPElicitationRequest | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPElicitResult | struct MCPElicitResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPEvent | struct MCPEvent | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventDefinition | struct MCPEventDefinition | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventDelivery | struct MCPEventDelivery | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventGap | struct MCPEventGap | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEvents | struct MCPEvents | Sources/SwiftAISDK/MCPEvents.swift |
| Structure | SwiftAISDK.MCPEventSubscription | struct MCPEventSubscription | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventSubscriptionInfo | struct MCPEventSubscriptionInfo | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventSubscriptionPatch | struct MCPEventSubscriptionPatch | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventTermination | struct MCPEventTermination | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPEventWebhook | struct MCPEventWebhook | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Structure | SwiftAISDK.MCPGetPromptResult | struct MCPGetPromptResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPImplementation | struct MCPImplementation | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPListEventsResult | struct MCPListEventsResult | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPListPromptsResult | struct MCPListPromptsResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPListResourcesResult | struct MCPListResourcesResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPListResourceTemplatesResult | struct MCPListResourceTemplatesResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPListToolsResult | struct MCPListToolsResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPManagedSubscribeInput | struct MCPManagedSubscribeInput | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Structure | SwiftAISDK.MCPManagedSubscription | struct MCPManagedSubscription | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Structure | SwiftAISDK.MCPManagedSubscriptionPage | struct MCPManagedSubscriptionPage | Sources/SwiftAISDK/MCPEventAdapter.swift |
| Structure | SwiftAISDK.MCPOAuthAuthorizationServerInformation | struct MCPOAuthAuthorizationServerInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthAuthorizationServerMetadata | struct MCPOAuthAuthorizationServerMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthAuthorizationServerMismatchError | struct MCPOAuthAuthorizationServerMismatchError | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthClientAuthenticationRequest | struct MCPOAuthClientAuthenticationRequest | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthClientInformation | struct MCPOAuthClientInformation | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthClientInformationFull | struct MCPOAuthClientInformationFull | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthClientMetadata | struct MCPOAuthClientMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthCredentialInvalidationContext | struct MCPOAuthCredentialInvalidationContext | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthDiscovery | struct MCPOAuthDiscovery | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Structure | SwiftAISDK.MCPOAuthProtectedResourceMetadata | struct MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthServerError | struct MCPOAuthServerError | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthStartAuthorizationResult | struct MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPOAuthTokens | struct MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Structure | SwiftAISDK.MCPPrompt | struct MCPPrompt | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPPromptArgument | struct MCPPromptArgument | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPPromptMessage | struct MCPPromptMessage | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPReadResourceResult | struct MCPReadResourceResult | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPRequestOptions | struct MCPRequestOptions | Sources/SwiftAISDK/MCPHTTPTransport.swift |
| Structure | SwiftAISDK.MCPResource | struct MCPResource | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPResourceContent | struct MCPResourceContent | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPResourceTemplate | struct MCPResourceTemplate | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPStdioConfig | struct MCPStdioConfig | Sources/SwiftAISDK/MCPStdioTransport.swift |
| Structure | SwiftAISDK.MCPSubscribeEventOptions | struct MCPSubscribeEventOptions | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPSubscribeEventResult | struct MCPSubscribeEventResult | Sources/SwiftAISDK/MCPEventTypes.swift |
| Structure | SwiftAISDK.MCPToolAnnotations | struct MCPToolAnnotations | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MCPToolDefinition | struct MCPToolDefinition | Sources/SwiftAISDK/MCPTypes.swift |
| Structure | SwiftAISDK.MiniMaxCacheControlOptions | struct MiniMaxCacheControlOptions | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Structure | SwiftAISDK.MiniMaxImagePartOptions | struct MiniMaxImagePartOptions | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Structure | SwiftAISDK.MiniMaxLanguageModelOptions | struct MiniMaxLanguageModelOptions | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Structure | SwiftAISDK.MiniMaxProviderSettings | struct MiniMaxProviderSettings | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Structure | SwiftAISDK.MiniMaxVideoPartOptions | struct MiniMaxVideoPartOptions | Sources/SwiftAISDK/Providers/MiniMaxProvider.swift |
| Structure | SwiftAISDK.ProviderSettings | struct ProviderSettings | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Structure | SwiftAISDK.TypeSafeAIDecisionModelOptions | struct TypeSafeAIDecisionModelOptions | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Structure | SwiftAISDK.TypeSafeAIFilePartProviderOptions | struct TypeSafeAIFilePartProviderOptions | Sources/SwiftAISDK/Models/TypesafeAIDecisionOptions.swift |
| Structure | SwiftAITransport.AIDownloadError | struct AIDownloadError | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIDuplexWebSocketRequest | struct AIDuplexWebSocketRequest | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Structure | SwiftAITransport.AIHTTPRequest | struct AIHTTPRequest | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIHTTPResponse | struct AIHTTPResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIHTTPStreamResponse | struct AIHTTPStreamResponse | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |
| Structure | SwiftAITransport.AIProviderHTTPClient | struct AIProviderHTTPClient | Packages/swift-ai-core/Sources/SwiftAITransport/ProviderHTTPClient.swift |
| Structure | SwiftAITransport.IncrementalServerSentEventSequence | struct IncrementalServerSentEventSequence | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Structure | SwiftAITransport.IncrementalServerSentEventSequence.AsyncIterator | struct AsyncIterator | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Structure | SwiftAITransport.MultipartFormData | struct MultipartFormData | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Structure | SwiftAITransport.MultipartStreamingBody | struct MultipartStreamingBody | Packages/swift-ai-core/Sources/SwiftAITransport/MultipartFormData.swift |
| Structure | SwiftAITransport.ServerSentEvent | struct ServerSentEvent | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Structure | SwiftAITransport.ServerSentEventParser | struct ServerSentEventParser | Packages/swift-ai-core/Sources/SwiftAITransport/ServerSentEvents.swift |
| Type Alias | SwiftAI.AIPrepareStep | typealias AIPrepareStep = @Sendable (AIPrepareStepContext) async throws -> AIPrepareStepResult? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIRealtimeSession.AsyncIterator | typealias AsyncIterator = AsyncThrowingStream<AIRealtimeSessionEvent, any Error>.Iterator | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Alias | SwiftAI.AIRealtimeSession.Element | typealias Element = AIRealtimeSessionEvent | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Alias | SwiftAI.AIToolApproval | typealias AIToolApproval = @Sendable (AIToolApprovalContext) async throws -> AIToolApprovalStatus? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolCallerRouting | typealias AIToolCallerRouting = [String : [String]] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolCallRepair | typealias AIToolCallRepair = @Sendable (AIToolCallRepairContext) async throws -> AIToolCall? | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolInputAvailableCallback | typealias AIToolInputAvailableCallback = @Sendable (AIToolInputAvailableContext) async -> Void | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolInputDeltaCallback | typealias AIToolInputDeltaCallback = @Sendable (AIToolInputDeltaContext) async -> Void | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolInputStartCallback | typealias AIToolInputStartCallback = @Sendable (AIToolInputStartContext) async -> Void | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolNeedsApproval | typealias AIToolNeedsApproval = @Sendable (JSONValue, AIToolNeedsApprovalContext) async throws -> Bool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.AIToolSearchFunction | typealias AIToolSearchFunction = @Sendable (String, [AIToolSearchCandidate]) async throws -> [String] | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Alias | SwiftAI.Experimental_DecideEndEvent | typealias Experimental_DecideEndEvent = AIDecisionEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Type Alias | SwiftAI.Experimental_DecideStartEvent | typealias Experimental_DecideStartEvent = AIDecisionStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Type Alias | SwiftAI.Experimental_DecisionModelCallEndEvent | typealias Experimental_DecisionModelCallEndEvent = AIDecisionModelCallEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Type Alias | SwiftAI.Experimental_DecisionModelCallStartEvent | typealias Experimental_DecisionModelCallStartEvent = AIDecisionModelCallStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIDecisionTelemetry.swift |
| Type Alias | SwiftAI.Experimental_EvaluateEndEvent | typealias Experimental_EvaluateEndEvent = AIEvaluationEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Type Alias | SwiftAI.Experimental_EvaluateStartEvent | typealias Experimental_EvaluateStartEvent = AIEvaluationStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Type Alias | SwiftAI.Experimental_EvaluationModelCallEndEvent | typealias Experimental_EvaluationModelCallEndEvent = AIEvaluationModelCallEndEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Type Alias | SwiftAI.Experimental_EvaluationModelCallStartEvent | typealias Experimental_EvaluationModelCallStartEvent = AIEvaluationModelCallStartEvent | Packages/swift-ai-core/Sources/SwiftAI/AIEvaluationTelemetry.swift |
| Type Alias | SwiftAI.StreamingSpeechAudioStream.Element | typealias Element = Data | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Type Alias | SwiftAI.StreamingSpeechPartStream.Element | typealias Element = StreamingSpeechPart | Packages/swift-ai-core/Sources/SwiftAI/CoreStreamingSpeech.swift |
| Type Alias | SwiftAI.VideoGenerationDelay | typealias VideoGenerationDelay = @Sendable (Int, AIAbortSignal?) async throws -> Void | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Alias | SwiftAI.VideoGenerationWebhookFactory | typealias VideoGenerationWebhookFactory = @Sendable () async throws -> VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Alias | SwiftAIProvider.AICallback | typealias AICallback<Event> = @Sendable (Event) async throws -> Void | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreUtilities.swift |
| Type Alias | SwiftAIProvider.AIDecisionModelUsage | typealias AIDecisionModelUsage = AIEvaluationModelUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionQuestion | typealias AIDecisionQuestion = AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionQuestionType | typealias AIDecisionQuestionType = AIEvaluationQuestionType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionResponseMetadata | typealias AIDecisionResponseMetadata = AIEvaluationResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionRounding | typealias AIDecisionRounding = AIEvaluationRounding | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionUnsupportedQuestionTypeError | typealias AIDecisionUnsupportedQuestionTypeError = AIEvaluationUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIDecisionUsage | typealias AIDecisionUsage = AIEvaluationUsage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.AIEmbeddingProviderOptionsTransformer | typealias AIEmbeddingProviderOptionsTransformer = @Sendable (AIEmbeddingProviderOptionsTransformContext) async throws -> [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMediaResults.swift |
| Type Alias | SwiftAIProvider.AIIdGenerator | typealias AIIdGenerator = @Sendable () -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreUtilities.swift |
| Type Alias | SwiftAIProvider.AIProviderReference | typealias AIProviderReference = [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/ProviderReference.swift |
| Type Alias | SwiftAIProvider.AIRealtimeServerEventParser | typealias AIRealtimeServerEventParser = @Sendable (JSONValue) -> [AIRealtimeServerEvent] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.AIStreamingAudioInput.AsyncIterator | typealias AsyncIterator = AsyncThrowingStream<Data, any Error>.Iterator | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Type Alias | SwiftAIProvider.AIStreamingAudioInput.Element | typealias Element = Data | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Type Alias | SwiftAIProvider.AIStreamingTextInput.AsyncIterator | typealias AsyncIterator = AsyncThrowingStream<SpeechTextPart, any Error>.Iterator | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Type Alias | SwiftAIProvider.AIStreamingTextInput.Element | typealias Element = SpeechTextPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionAnswer | typealias Experimental_DecisionAnswer = AIDecisionAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModel | typealias Experimental_DecisionModel = AIDecisionModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4 | typealias Experimental_DecisionModelV4 = AIDecisionModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Answer | typealias Experimental_DecisionModelV4Answer = AIDecisionAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4CallOptions | typealias Experimental_DecisionModelV4CallOptions = AIDecisionModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Input | typealias Experimental_DecisionModelV4Input = JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Question | typealias Experimental_DecisionModelV4Question = AIDecisionQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4Result | typealias Experimental_DecisionModelV4Result = AIDecisionModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4State | typealias Experimental_DecisionModelV4State = [AIDecisionStatePart] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionModelV4StatePart | typealias Experimental_DecisionModelV4StatePart = AIDecisionStatePart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionQuestion | typealias Experimental_DecisionQuestion = AIDecisionQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionRefusalError | typealias Experimental_DecisionRefusalError = AIDecisionRefusalError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionResult | typealias Experimental_DecisionResult = AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionState | typealias Experimental_DecisionState = AIDecisionState | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionStatePart | typealias Experimental_DecisionStatePart = AIDecisionStatePart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_DecisionUnsupportedQuestionTypeError | typealias Experimental_DecisionUnsupportedQuestionTypeError = AIDecisionUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreDecision.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationAnswer | typealias Experimental_EvaluationAnswer = AIEvaluationAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModel | typealias Experimental_EvaluationModel = AIEvaluationModelReference | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4 | typealias Experimental_EvaluationModelV4 = AIEvaluationModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Answer | typealias Experimental_EvaluationModelV4Answer = AIEvaluationAnswer | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4CallOptions | typealias Experimental_EvaluationModelV4CallOptions = AIEvaluationModelV4CallOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Input | typealias Experimental_EvaluationModelV4Input = JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Question | typealias Experimental_EvaluationModelV4Question = AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationModelV4Result | typealias Experimental_EvaluationModelV4Result = AIEvaluationModelV4Result | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationQuestion | typealias Experimental_EvaluationQuestion = AIEvaluationQuestion | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationResult | typealias Experimental_EvaluationResult = AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_EvaluationUnsupportedQuestionTypeError | typealias Experimental_EvaluationUnsupportedQuestionTypeError = AIEvaluationUnsupportedQuestionTypeError | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreEvaluation.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4 | typealias Experimental_RealtimeModelV4 = AIRealtimeModelV4 | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ClientEvent | typealias Experimental_RealtimeModelV4ClientEvent = AIRealtimeClientEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ClientSecretOptions | typealias Experimental_RealtimeModelV4ClientSecretOptions = AIRealtimeClientSecretOptions | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ClientSecretResult | typealias Experimental_RealtimeModelV4ClientSecretResult = AIRealtimeClientSecretResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4ServerEvent | typealias Experimental_RealtimeModelV4ServerEvent = AIRealtimeServerEvent | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProvider.Experimental_RealtimeModelV4SessionConfig | typealias Experimental_RealtimeModelV4SessionConfig = AIRealtimeSessionConfiguration | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreRealtime.swift |
| Type Alias | SwiftAIProviderUtilities.AISmoothStreamChunkDetector | typealias AISmoothStreamChunkDetector = @Sendable (String) throws -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/CoreUtilities.swift |
| Type Alias | SwiftAISDK.AIUIDataPartConverter | typealias AIUIDataPartConverter = @Sendable (AIUIDataPart) throws -> AIContentPart? | Sources/SwiftAISDK/AIUIMessageConversion.swift |
| Type Alias | SwiftAISDK.AIUIMessageToolInputRefiner | typealias AIUIMessageToolInputRefiner = @Sendable (JSONValue) async throws -> JSONValue | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Alias | SwiftAISDK.AIUIToolOutputErrorPart | typealias AIUIToolOutputErrorPart = AIToolResult | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Alias | SwiftAISDK.AzureOpenAITokenProvider | typealias AzureOpenAITokenProvider = @Sendable () async throws -> String | Sources/SwiftAISDK/Providers/AzureOpenAIProvider.swift |
| Type Alias | SwiftAISDK.FishAudioSpeechModelID | typealias FishAudioSpeechModelID = String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Type Alias | SwiftAISDK.FishAudioSpeechVoiceID | typealias FishAudioSpeechVoiceID = String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Type Alias | SwiftAISDK.FishAudioTranscriptionModelID | typealias FishAudioTranscriptionModelID = String | Sources/SwiftAISDK/Models/FishAudioModels.swift |
| Type Alias | SwiftAISDK.GatewaySpeechFactoryGetTokenOptions | typealias GatewaySpeechFactoryGetTokenOptions = GatewayTranscriptionFactoryGetTokenOptions | Sources/SwiftAISDK/Models/GatewayStreamingSpeechModel.swift |
| Type Alias | SwiftAISDK.GatewaySpeechFactoryGetTokenResult | typealias GatewaySpeechFactoryGetTokenResult = GatewayTranscriptionFactoryGetTokenResult | Sources/SwiftAISDK/Models/GatewayStreamingSpeechModel.swift |
| Type Alias | SwiftAISDK.MCPElicitationHandler | typealias MCPElicitationHandler = @Sendable (MCPElicitationRequest) async throws -> MCPElicitResult | Sources/SwiftAISDK/MCPTypes.swift |
| Type Alias | SwiftAISDK.MCPEventArgumentValidator | typealias MCPEventArgumentValidator = @Sendable (MCPEventDefinition, [String : JSONValue]) async throws -> Void | Sources/SwiftAISDK/MCPEventTypes.swift |
| Type Alias | SwiftAISDK.MCPOAuthClientAuthenticationHandler | typealias MCPOAuthClientAuthenticationHandler = @Sendable (MCPOAuthClientAuthenticationRequest) async throws -> MCPOAuthClientAuthenticationRequest? | Sources/SwiftAISDK/MCPOAuthTypes.swift |
| Type Alias | SwiftAISDK.ZAIChatModelID | typealias ZAIChatModelID = String | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Type Alias | SwiftAISDK.ZAIProviderSettings | typealias ZAIProviderSettings = ProviderSettings | Sources/SwiftAISDK/Providers/ZAIProvider.swift |
| Type Alias | SwiftAITransport.IncrementalServerSentEventSequence.Element | typealias Element = ServerSentEvent | Packages/swift-ai-core/Sources/SwiftAITransport/LanguageStreamParsing.swift |
| Type Method | SwiftAI.all(tools:) | static func all(tools: Set<String>? = nil) -> AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Type Method | SwiftAI.array(element:minItems:maxItems:name:description:) | static func array<ElementSchema>(element: ElementSchema, minItems: Int? = nil, maxItems: Int? = nil, name: String? = nil, description: String? = nil) -> AIOutput<[ElementSchema.Output], [ElementSchema.Output]> where ElementSchema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.array(element:minItems:maxItems:name:description:as:) | static func array<Element>(element: JSONValue, minItems: Int? = nil, maxItems: Int? = nil, name: String? = nil, description: String? = nil, as type: Element.Type = Element.self) -> AIOutput<[Element], [Element]> where Element : Decodable, Element : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.array(element:name:description:) | static func array<ElementSchema>(element: ElementSchema, name: String? = nil, description: String? = nil) -> AIOutput<[ElementSchema.Output], [ElementSchema.Output]> where ElementSchema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.array(element:name:description:as:) | static func array<Element>(element: JSONValue, name: String? = nil, description: String? = nil, as type: Element.Type = Element.self) -> AIOutput<[Element], [Element]> where Element : Decodable, Element : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.beforeLastMessage(tools:) | static func beforeLastMessage(tools: Set<String>? = nil) -> AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Type Method | SwiftAI.beforeLastMessages(_:tools:) | static func beforeLastMessages(_ count: Int, tools: Set<String>? = nil) -> AIPruneToolCalls | Packages/swift-ai-core/Sources/SwiftAI/PruneMessages.swift |
| Type Method | SwiftAI.cancelBatch(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:) | static func cancelBatch(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> AIBatchCancelResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.choice(options:name:description:) | static func choice(options: [String], name: String? = nil, description: String? = nil) -> AIOutput<String, String> | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.connect(model:clientSecret:sessionConfiguration:webSocketTransport:abortSignal:) | static func connect(model: any AIRealtimeModelV4, clientSecret: AIRealtimeClientSecretResult, sessionConfiguration: AIRealtimeSessionConfiguration = .init(), webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared, abortSignal: AIAbortSignal? = nil) async throws -> AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Method | SwiftAI.connect(model:sessionConfiguration:clientSecretOptions:webSocketTransport:abortSignal:) | static func connect(model: any AIRealtimeModelV4, sessionConfiguration: AIRealtimeSessionConfiguration = .init(), clientSecretOptions: AIRealtimeClientSecretOptions = .init(), webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared, abortSignal: AIAbortSignal? = nil) async throws -> AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Method | SwiftAI.connectServer(model:sessionConfiguration:webSocketTransport:abortSignal:) | static func connectServer(model: any AIRealtimeModelV4, sessionConfiguration: AIRealtimeSessionConfiguration = .init(), webSocketTransport: any AIDuplexWebSocketTransport = URLSessionDuplexWebSocketTransport.shared, abortSignal: AIAbortSignal? = nil) async throws -> AIRealtimeSession | Packages/swift-ai-core/Sources/SwiftAI/AIRealtimeSession.swift |
| Type Method | SwiftAI.customProvider(providerID:languageModels:decisionModels:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], decisionModels: [String : AIDecisionModelReference], fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.deleteFile(client:request:retryPolicy:telemetry:) | static func deleteFile(client: any AIFileClient, request: FileDeleteRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileDeleteResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.downloadFile(client:request:retryPolicy:telemetry:) | static func downloadFile(client: any AIFileClient, request: FileDownloadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileDownloadResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.dynamic(name:description:parameters:providerMetadata:providerOptions:strict:inputExamples:contextSchema:needsApproval:onInputStart:deferLoading:toolCaller:onInputDelta:onInputAvailable:refineArguments:toModelOutput:executeWithContext:execute:) | static func dynamic(name: String, description: String? = nil, parameters: JSONValue, providerMetadata: [String : JSONValue] = [:], providerOptions: [String : JSONValue] = [:], strict: Bool? = nil, inputExamples: [JSONValue] = [], contextSchema: JSONValue? = nil, needsApproval: AIToolNeedsApproval? = nil, onInputStart: AIToolInputStartCallback? = nil, deferLoading: Bool = false, toolCaller: AIToolCallerDefinition? = nil, onInputDelta: AIToolInputDeltaCallback? = nil, onInputAvailable: AIToolInputAvailableCallback? = nil, refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? = nil, toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? = nil, executeWithContext: (@Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue)? = nil, execute: @escaping @Sendable (JSONValue) async throws -> JSONValue) -> AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Method | SwiftAI.dynamic(name:description:parameters:providerMetadata:providerOptions:strict:inputExamples:contextSchema:needsApproval:onInputStart:onInputDelta:onInputAvailable:refineArguments:toModelOutput:executeWithContext:execute:) | static func dynamic(name: String, description: String? = nil, parameters: JSONValue, providerMetadata: [String : JSONValue] = [:], providerOptions: [String : JSONValue] = [:], strict: Bool? = nil, inputExamples: [JSONValue] = [], contextSchema: JSONValue? = nil, needsApproval: AIToolNeedsApproval? = nil, onInputStart: AIToolInputStartCallback? = nil, onInputDelta: AIToolInputDeltaCallback? = nil, onInputAvailable: AIToolInputAvailableCallback? = nil, refineArguments: (@Sendable (JSONValue) async throws -> JSONValue)? = nil, toModelOutput: (@Sendable (AIToolModelOutputContext) async throws -> JSONValue)? = nil, executeWithContext: (@Sendable (JSONValue, AIToolExecutionContext) async throws -> JSONValue)? = nil, execute: @escaping @Sendable (JSONValue) async throws -> JSONValue) -> AITool | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Method | SwiftAI.embed(_:using:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(_ value: String, using model: any EmbeddingModel, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.embed(model:request:retryPolicy:telemetry:) | static func embed(model: any EmbeddingModel, request: EmbeddingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.embed(model:value:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(model: any EmbeddingModel, value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.embedMany(_:using:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(_ values: [String], using model: any EmbeddingModel, dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.embedMany(model:values:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(model: any EmbeddingModel, values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model: any AIDecisionModelV4, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeDecision.swift |
| Type Method | SwiftAI.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model reference: AIDecisionModelReference, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeDecision.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeEvaluation.swift |
| Type Method | SwiftAI.experimentalStreamSpeech(model:request:onError:) | static func experimentalStreamSpeech(model: any SpeechModel, request: StreamingSpeechRequest, onError: @escaping @Sendable (any Error) async throws -> Void = { error in FileHandle.standardError.write(Data("\(error)\n".utf8)) }) throws -> StreamingSpeechResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamingSpeech.swift |
| Type Method | SwiftAI.generateAudio(_:using:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateAudio(_ prompt: String, using model: any AudioGenerationModel, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateAudio(model:request:retryPolicy:telemetry:) | static func generateAudio(model: any AudioGenerationModel, request: AudioGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.generateEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateEnum(model: any LanguageModel, prompt: String, values: [String], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateEnum(model:request:values:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateImage(_:using:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(_ prompt: String, using model: any ImageModel, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateImage(model:prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(model: any ImageModel, prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.generateImage(model:request:retryPolicy:telemetry:) | static func generateImage(model: any ImageModel, request: ImageGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.generateJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateJSON(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateJSON(model:request:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObject(_:using:as:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(_ prompt: String, using model: any LanguageModel, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateObject(_:using:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(_ prompt: String, using model: any LanguageModel, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateObject(model:prompt:as:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(model: any LanguageModel, prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObject(model:prompt:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(model: any LanguageModel, prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObject(model:request:as:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(model: any LanguageModel, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObject(model:request:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(model: any LanguageModel, request: LanguageModelRequest, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObjectArray(model:prompt:as:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<Element>(model: any LanguageModel, prompt: String, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObjectArray(model:prompt:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<ElementSchema>(model: any LanguageModel, prompt: String, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[ElementSchema.Output]> where ElementSchema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObjectArray(model:request:as:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<Element>(model: any LanguageModel, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateObjectArray(model:request:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<ElementSchema>(model: any LanguageModel, request: LanguageModelRequest, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[ElementSchema.Output]> where ElementSchema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateObject.swift |
| Type Method | SwiftAI.generateSpeech(_:using:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateSpeech(_ text: String, using model: any SpeechModel, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateSpeech(model:request:retryPolicy:telemetry:) | static func generateSpeech(model: any SpeechModel, request: SpeechRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.generateText(_:using:options:tools:) | static func generateText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(_:using:output:options:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(messages:using:options:tools:) | static func generateText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateText(model:prompt:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:output:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateText(model:request:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeGenerateText.swift |
| Type Method | SwiftAI.generateVideo(_:using:aspectRatio:durationSeconds:image:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateVideo(_ prompt: String, using model: any VideoModel, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.generateVideo(model:request:retryPolicy:telemetry:poll:webhook:) | static func generateVideo(model: any VideoModel, request: VideoGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, poll: VideoGenerationPollOptions? = nil, webhook: VideoGenerationWebhookFactory? = nil) async throws -> VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchResults(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<BatchItemResult, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getBatchStatus(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.getFileMetadata(client:request:retryPolicy:telemetry:) | static func getFileMetadata(client: any AIFileClient, request: FileMetadataRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileMetadataResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.getVideoStatus(model:operation:headers:abortSignal:retryPolicy:) | static func getVideoStatus(model: any VideoModel, operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStatusResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Method | SwiftAI.hasToolCall(_:) | static func hasToolCall(_ toolNames: String...) -> AIStopCondition | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Method | SwiftAI.isLoopFinished() | static func isLoopFinished() -> AIStopCondition | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Method | SwiftAI.isStepCount(_:) | static func isStepCount(_ stepCount: Int) -> AIStopCondition | Packages/swift-ai-core/Sources/SwiftAI/CoreTools.swift |
| Type Method | SwiftAI.json(name:description:) | static func json(name: String? = nil, description: String? = nil) -> AIOutput<JSONValue, JSONValue> | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.listBatches(provider:providerOptions:limit:cursor:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func listBatches(provider: any AIBatchProvider, providerOptions: [String : JSONValue] = [:], limit: Int? = nil, cursor: String? = nil, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> (batches: [AIBatch], nextCursor: String?, providerMetadata: [String : JSONValue]) | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.object(schema:name:description:) | static func object<Schema>(schema: Schema, name: String? = nil, description: String? = nil) -> AIOutput<Schema.Output, JSONValue> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.object(schema:name:description:as:) | static func object<Object>(schema: JSONValue? = nil, name: String? = nil, description: String? = nil, as type: Object.Type = Object.self) -> AIOutput<Object, JSONValue> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Packages/swift-ai-core/Sources/SwiftAI/CustomProvider.swift |
| Type Method | SwiftAI.register(_:) | static func register(_ integrations: any Telemetry.Integration...) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Type Method | SwiftAI.register(_:) | static func register(_ integrations: [any Telemetry.Integration]) | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Type Method | SwiftAI.registeredIntegrations() | static func registeredIntegrations() -> [any Telemetry.Integration] | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Type Method | SwiftAI.rerank(model:request:retryPolicy:telemetry:) | static func rerank(model: any RerankingModel, request: RerankingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.rerank(query:documents:using:topK:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func rerank(query: String, documents: [String], using model: any RerankingModel, topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.startBatch(provider:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startBatch(provider: any AIBatchProvider, requests: [AIBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeBatch.swift |
| Type Method | SwiftAI.startVideo(model:request:webhookURL:retryPolicy:) | static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Method | SwiftAI.streamEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(model: any LanguageModel, prompt: String, values: [String], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamEnum(model:request:values:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamJSON(model:request:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamEnumJSON.swift |
| Type Method | SwiftAI.streamObject(model:prompt:as:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Object>(model: any LanguageModel, prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectSchema.swift |
| Type Method | SwiftAI.streamObject(model:prompt:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Schema>(model: any LanguageModel, prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Schema.Output>, any Error> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectSchema.swift |
| Type Method | SwiftAI.streamObject(model:request:as:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Object>(model: any LanguageModel, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObject.swift |
| Type Method | SwiftAI.streamObject(model:request:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Schema>(model: any LanguageModel, request: LanguageModelRequest, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Schema.Output>, any Error> where Schema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectSchema.swift |
| Type Method | SwiftAI.streamObjectArray(model:prompt:as:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<Element>(model: any LanguageModel, prompt: String, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[Element]>, any Error> where Element : Decodable, Element : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift |
| Type Method | SwiftAI.streamObjectArray(model:prompt:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<ElementSchema>(model: any LanguageModel, prompt: String, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[ElementSchema.Output]>, any Error> where ElementSchema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift |
| Type Method | SwiftAI.streamObjectArray(model:request:as:elementSchema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<Element>(model: any LanguageModel, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[Element]>, any Error> where Element : Decodable, Element : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift |
| Type Method | SwiftAI.streamObjectArray(model:request:elementSchema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<ElementSchema>(model: any LanguageModel, request: LanguageModelRequest, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[ElementSchema.Output]>, any Error> where ElementSchema : AIObjectSchema | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamObjectArray.swift |
| Type Method | SwiftAI.streamText(_:using:options:tools:timeoutNanoseconds:) | static func streamText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.streamText(_:using:output:options:timeoutNanoseconds:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, timeoutNanoseconds: UInt64? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.streamText(messages:using:options:tools:timeoutNanoseconds:) | static func streamText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamText.swift |
| Type Method | SwiftAI.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamTextCompatibility.swift |
| Type Method | SwiftAI.streamTranscribe(model:request:telemetry:) | static func streamTranscribe(model: any StreamingTranscriptionModel, request: StreamingTranscriptionRequest, telemetry: Telemetry.Options? = nil) async throws -> StreamingTranscriptionResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeStreamingTranscription.swift |
| Type Method | SwiftAI.text() | static func text() -> AIOutput<String, String> | Packages/swift-ai-core/Sources/SwiftAI/Output.swift |
| Type Method | SwiftAI.transcribe(audio:using:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transcribe(audio: Data, using model: any TranscriptionModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.transcribe(model:request:retryPolicy:telemetry:) | static func transcribe(model: any TranscriptionModel, request: AudioTranscriptionRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.transformAudio(audio:using:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transformAudio(audio: Data, using model: any AudioTransformationModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Method | SwiftAI.transformAudio(model:request:retryPolicy:telemetry:) | static func transformAudio(model: any AudioTransformationModel, request: AudioTransformationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.uploadFile(client:request:retryPolicy:telemetry:) | static func uploadFile(client: any AIFileClient, request: FileUploadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileUploadResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAI.uploadSkill(client:request:retryPolicy:telemetry:) | static func uploadSkill(client: any AISkillsClient, request: SkillUploadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SkillUploadResult | Packages/swift-ai-core/Sources/SwiftAI/AIFacadeMedia.swift |
| Type Method | SwiftAIAnthropic.advisor_20260301(model:maxUses:maxTokens:caching:) | static func advisor_20260301(model: String, maxUses: Int? = nil, maxTokens: Int? = nil, caching: JSONValue? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.anthropic(configuration:) | static func anthropic(configuration: AnthropicProviderSettings = .init()) throws -> AnthropicProvider | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicConfiguration.swift |
| Type Method | SwiftAIAnthropic.bash_20241022() | static func bash_20241022() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.bash_20250124() | static func bash_20250124() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.body(for:modelID:providerID:stream:supportsNativeStructuredOutput:supportsStrictTools:policy:) | static func body(for request: LanguageModelRequest, modelID: String, providerID: String, stream: Bool = false, supportsNativeStructuredOutput: Bool? = nil, supportsStrictTools: Bool? = nil, policy: AnthropicRequestPolicy = .init()) throws -> AnthropicPreparedCall | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.codeExecution_20250522() | static func codeExecution_20250522() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.codeExecution_20250825() | static func codeExecution_20250825() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.codeExecution_20260120() | static func codeExecution_20260120() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computer_20241022(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20241022(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computer_20250124(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20250124(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computer_20251124(displayWidthPx:displayHeightPx:displayNumber:enableZoom:) | static func computer_20251124(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil, enableZoom: Bool? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.computerToolset_20260801(configs:) | static func computerToolset_20260801(configs: [String : JSONValue]? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.memory_20250818() | static func memory_20250818() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20241022() | static func textEditor_20241022() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20250124() | static func textEditor_20250124() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20250429() | static func textEditor_20250429() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.textEditor_20250728(maxCharacters:) | static func textEditor_20250728(maxCharacters: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.toolSearchBm25_20251119() | static func toolSearchBm25_20251119() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.toolSearchRegex_20251119() | static func toolSearchRegex_20251119() -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webFetch_20250910(maxUses:allowedDomains:blockedDomains:citations:maxContentTokens:) | static func webFetch_20250910(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, citations: JSONValue? = nil, maxContentTokens: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webFetch_20260209(maxUses:allowedDomains:blockedDomains:citations:maxContentTokens:) | static func webFetch_20260209(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, citations: JSONValue? = nil, maxContentTokens: Int? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webFetch_20260318(maxUses:allowedDomains:blockedDomains:citations:maxContentTokens:useCache:responseInclusion:) | static func webFetch_20260318(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, citations: JSONValue? = nil, maxContentTokens: Int? = nil, useCache: Bool? = nil, responseInclusion: String? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webSearch_20250305(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20250305(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webSearch_20260209(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20260209(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIAnthropic.webSearch_20260318(maxUses:allowedDomains:blockedDomains:userLocation:responseInclusion:) | static func webSearch_20260318(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil, responseInclusion: String? = nil) -> JSONValue | Packages/swift-ai-anthropic/Sources/SwiftAIAnthropic/AnthropicModels.swift |
| Type Method | SwiftAIOpenAI.applyPatch() | static func applyPatch() -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.codeInterpreter(container:) | static func codeInterpreter(container: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.computer() | static func computer() -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.computerUse(displayWidth:displayHeight:environment:extraArgs:) | static func computerUse(displayWidth: Int? = nil, displayHeight: Int? = nil, environment: String? = nil, extraArgs: [String : JSONValue] = [:]) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.customTool(name:description:format:) | static func customTool(name: String, description: String? = nil, format: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.customTool(name:description:format:async:) | static func customTool(name: String, description: String? = nil, format: JSONValue? = nil, async: Bool?) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.customTool(name:description:format:providerID:) | static func customTool(name: String, description: String? = nil, format: JSONValue? = nil, providerID: String = "open-responses.custom") -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesTools.swift |
| Type Method | SwiftAIOpenAI.fileSearch(vectorStoreIDs:maxNumResults:ranking:filters:) | static func fileSearch(vectorStoreIDs: [String], maxNumResults: Int? = nil, ranking: JSONValue? = nil, filters: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.imageGeneration(action:background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(action: String? = nil, background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.imageGeneration(background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.localShell() | static func localShell() -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.mcp(serverLabel:allowedTools:authorization:connectorID:headers:requireApproval:serverDescription:serverURL:) | static func mcp(serverLabel: String, allowedTools: JSONValue? = nil, authorization: String? = nil, connectorID: String? = nil, headers: JSONValue? = nil, requireApproval: JSONValue? = nil, serverDescription: String? = nil, serverURL: String? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.openAI(configuration:) | static func openAI(configuration: OpenAIProviderSettings = .init()) throws -> OpenAIProvider | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIProvider.swift |
| Type Method | SwiftAIOpenAI.programmaticToolCalling(name:) | static func programmaticToolCalling(name: String = "programmatic_tool_calling") -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shell(environment:) | static func shell(environment: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellAllowlistNetworkPolicy(allowedDomains:domainSecrets:) | static func shellAllowlistNetworkPolicy(allowedDomains: [String], domainSecrets: [JSONValue] = []) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellContainerAutoEnvironment(fileIDs:memoryLimit:networkPolicy:skills:) | static func shellContainerAutoEnvironment(fileIDs: [String] = [], memoryLimit: String? = nil, networkPolicy: JSONValue? = nil, skills: [JSONValue] = []) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellContainerReferenceEnvironment(containerID:) | static func shellContainerReferenceEnvironment(containerID: String) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellDisabledNetworkPolicy() | static func shellDisabledNetworkPolicy() -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellDomainSecret(domain:name:value:) | static func shellDomainSecret(domain: String, name: String, value: String) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellInlineSkill(name:description:base64ZipData:) | static func shellInlineSkill(name: String, description: String, base64ZipData: String) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellLocalEnvironment(skills:) | static func shellLocalEnvironment(skills: [JSONValue] = []) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellLocalSkill(name:description:path:) | static func shellLocalSkill(name: String, description: String, path: String) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellSkillReference(providerReference:version:) | static func shellSkillReference(providerReference: [String : String], version: String? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.shellSkillReference(skillID:version:) | static func shellSkillReference(skillID: String, version: String? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.textFormat() | static func textFormat() -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIResponsesTools.swift |
| Type Method | SwiftAIOpenAI.toolSearch(execution:description:parameters:) | static func toolSearch(execution: JSONValue? = nil, description: String? = nil, parameters: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.webSearch(filters:externalWebAccess:searchContextSize:userLocation:) | static func webSearch(filters: JSONValue? = nil, externalWebAccess: Bool? = nil, searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAI.webSearchPreview(searchContextSize:userLocation:) | static func webSearchPreview(searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAITools.swift |
| Type Method | SwiftAIOpenAICompatible.messageJSON(_:providerID:providerOptionsKey:systemRole:supportsMultiPartToolContent:wrapToolErrors:) | static func messageJSON(_ message: AIMessage, providerID: String, providerOptionsKey: String? = nil, systemRole: String? = nil, supportsMultiPartToolContent: Bool = false, wrapToolErrors: Bool = false) throws -> JSONValue | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleChatModel.swift |
| Type Method | SwiftAIOpenAICompatible.openAICompatible(configuration:) | static func openAICompatible(configuration: OpenAICompatibleProviderSettings) -> OpenAICompatibleProvider | Packages/swift-ai-openai-compatible/Sources/SwiftAIOpenAICompatible/OpenAICompatibleProvider.swift |
| Type Method | SwiftAIProvider.apiCall(provider:statusCode:body:headers:) | static func apiCall(provider: String, statusCode: Int, body: String, headers: [String : String] = [:]) -> AIError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Type Method | SwiftAIProvider.array(_:) | static func array(_ values: [String]) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Type Method | SwiftAIProvider.assistant(_:reasoning:) | static func assistant(_ text: String, reasoning: String? = nil) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.assistant(text:reasoning:toolCalls:toolApprovalRequests:) | static func assistant(text: String = "", reasoning: String? = nil, toolCalls: [AIToolCall], toolApprovalRequests: [AIToolApprovalRequest] = []) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.chunks(_:) | static func chunks(_ chunks: [String]) -> AIStreamingTextInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Type Method | SwiftAIProvider.chunks(_:) | static func chunks(_ chunks: [Data]) -> AIStreamingAudioInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Type Method | SwiftAIProvider.makeStream() | static func makeStream() -> (input: AIStreamingAudioInput, writer: AIStreamingAudioWriter) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingTranscription.swift |
| Type Method | SwiftAIProvider.object(_:) | static func object(_ values: [String : JSONValue?]) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONValue.swift |
| Type Method | SwiftAIProvider.parts(_:) | static func parts(_ parts: [SpeechTextPart]) -> AIStreamingTextInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Type Method | SwiftAIProvider.system(_:) | static func system(_ text: String) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.text(_:) | static func text(_ text: String) -> AIStreamingTextInput | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreStreamingSpeech.swift |
| Type Method | SwiftAIProvider.text(_:citations:providerMetadata:) | static func text(_ text: String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:]) -> AIResultContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Type Method | SwiftAIProvider.textEnd(id:citations:providerMetadata:) | static func textEnd(id: String, citations: [AICitation], providerMetadata: [String : JSONValue] = [:]) -> LanguageStreamPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Type Method | SwiftAIProvider.toolInputStart(id:name:inputEncoding:providerExecuted:dynamic:title:providerMetadata:) | static func toolInputStart(id: String, name: String, inputEncoding: AIToolInputEncoding, providerExecuted: Bool = false, dynamic: Bool = false, title: String? = nil, providerMetadata: [String : JSONValue] = [:]) -> LanguageStreamPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreCitations.swift |
| Type Method | SwiftAIProvider.toolResponses(approvalResponses:toolResults:) | static func toolResponses(approvalResponses: [AIToolApprovalResponse] = [], toolResults: [AIToolResult] = []) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.toolResult(_:) | static func toolResult(_ result: AIToolResult) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.user(_:) | static func user(_ text: String) -> AIMessage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProvider.videoURL(_:mediaType:providerMetadata:) | static func videoURL(_ url: String, mediaType: String = "video/*", providerMetadata: [String : JSONValue] = [:]) -> AIContentPart | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreMessages.swift |
| Type Method | SwiftAIProviderUtilities.disable() | static func disable() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.failure(error:rawValue:) | static func failure(error: any Error, rawValue: JSONValue?) -> AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Type Method | SwiftAIProviderUtilities.formattedMessage(for:providerID:modelID:) | static func formattedMessage(for warning: AIWarning, providerID: String? = nil, modelID: String? = nil) -> String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.parseClientFrame(_:) | static func parseClientFrame(_ text: String) -> SpeechStreamEnvelope.ClientFrame | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Method | SwiftAIProviderUtilities.parsePart(_:) | static func parsePart(_ text: String) -> StreamingSpeechPart? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Method | SwiftAIProviderUtilities.providerError(_:) | static func providerError(_ error: AIStreamProviderError) -> LanguageStreamPart | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/StreamProviderError.swift |
| Type Method | SwiftAIProviderUtilities.serializePart(_:) | static func serializePart(_ part: StreamingSpeechPart) -> String? | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Method | SwiftAIProviderUtilities.startFrame(_:) | static func startFrame(_ request: StreamingSpeechRequest) -> JSONValue | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Method | SwiftAIProviderUtilities.success(value:rawValue:) | static func success(value: JSONValue, rawValue: JSONValue) -> AIJSONParseResult | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONParsing.swift |
| Type Method | SwiftAIProviderUtilities.useDefaultLogger() | static func useDefaultLogger() | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.useLogger(_:) | static func useLogger(_ logger: any AIWarningLogger) | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.validate(_:schema:path:) | static func validate(_ value: JSONValue, schema: JSONValue, path: String = "$") throws | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/JSONSchemaValidator.swift |
| Type Method | SwiftAIProviderUtilities.withLogger(_:operation:) | static func withLogger<Result>(_ logger: any AIWarningLogger, operation: () async throws -> Result) async rethrows -> Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAIProviderUtilities.withLoggingDisabled(operation:) | static func withLoggingDisabled<Result>(operation: () async throws -> Result) async rethrows -> Result | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/WarningLogging.swift |
| Type Method | SwiftAISDK.alibaba(settings:) | static func alibaba(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.amazonBedrock(settings:) | static func amazonBedrock(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws -> AmazonBedrockProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.amazonBedrockAnthropic(settings:) | static func amazonBedrockAnthropic(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws -> AmazonBedrockAnthropicProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.anthropic(settings:) | static func anthropic(settings: ProviderSettings = ProviderSettings()) throws -> AnthropicProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.anthropicAWS(settings:) | static func anthropicAWS(settings: AnthropicAWSProviderSettings = AnthropicAWSProviderSettings()) throws -> AnthropicAWSProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.assemblyAI(settings:) | static func assemblyAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.assistant(id:parts:metadata:) | static func assistant(id: String = UUID().uuidString, parts: [AIUIMessagePart] = [], metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | SwiftAISDK.auth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:) | static func auth(provider: any MCPOAuthClientProvider, serverURL: URL, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: URL? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.auth(provider:serverURL:authorizationCode:callbackState:callbackIssuer:scope:resourceMetadataURL:protocolVersion:transport:) | static func auth(provider: any MCPOAuthClientProvider, serverURL: String, authorizationCode: String? = nil, callbackState: String? = nil, callbackIssuer: String? = nil, scope: String? = nil, resourceMetadataURL: String? = nil, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.azure(resourceName:apiVersion:useDeploymentBasedURLs:tokenProvider:settings:) | static func azure(resourceName: String? = nil, apiVersion: String = "v1", useDeploymentBasedURLs: Bool = false, tokenProvider: AzureOpenAITokenProvider? = nil, settings: ProviderSettings = ProviderSettings()) throws -> AzureOpenAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.azure(resourceName:apiVersion:useDeploymentBasedURLs:tokenProvider:settings:audioSettings:) | static func azure(resourceName: String? = nil, apiVersion: String = "v1", useDeploymentBasedURLs: Bool = false, tokenProvider: AzureOpenAITokenProvider? = nil, settings: ProviderSettings = ProviderSettings(), audioSettings: AzureOpenAIAudioSettings) throws -> AzureOpenAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.baseten(settings:) | static func baseten(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.bash_20241022() | static func bash_20241022() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.bash_20250124() | static func bash_20250124() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.bedrockMantle(settings:) | static func bedrockMantle(settings: AmazonBedrockProviderSettings = AmazonBedrockProviderSettings()) throws -> BedrockMantleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.blackForestLabs(settings:) | static func blackForestLabs(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.browserbaseFetch(_:) | static func browserbaseFetch(_ config: GatewayBrowserbaseFetchConfig = GatewayBrowserbaseFetchConfig()) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | SwiftAISDK.browserbaseSearch(_:) | static func browserbaseSearch(_ config: GatewayBrowserbaseSearchConfig = GatewayBrowserbaseSearchConfig()) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | SwiftAISDK.browserSearch() | static func browserSearch() -> JSONValue | Sources/SwiftAISDK/Models/GroqModels.swift |
| Type Method | SwiftAISDK.buildAuthorizationServerDiscoveryURLs(_:) | static func buildAuthorizationServerDiscoveryURLs(_ authorizationServerURL: URL) -> [URL] | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | SwiftAISDK.byteDance(settings:) | static func byteDance(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.cancelBatch(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:) | static func cancelBatch(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> AIBatchCancelResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.cartesia(settings:) | static func cartesia(settings: CartesiaProviderSettings = CartesiaProviderSettings()) throws -> CartesiaProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.cerebras(settings:) | static func cerebras(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.clear() | static func clear() | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.codeExecution() | static func codeExecution() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.codeExecution() | static func codeExecution() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.codeExecution() | static func codeExecution() -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.codeInterpreter(container:) | static func codeInterpreter(container: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | SwiftAISDK.cohere(settings:) | static func cohere(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.computer_20241022(displayWidthPx:displayHeightPx:displayNumber:) | static func computer_20241022(displayWidthPx: Int, displayHeightPx: Int, displayNumber: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.connect(transport:clientName:clientVersion:clientCapabilities:initialInitializeResult:initializationOptions:maxRetries:protocolVersionDiscovery:onUncaughtError:) | static func connect(transport: any MCPTransport, clientName: String = "swift-ai-sdk-mcp-client", clientVersion: String = "1.0.0", clientCapabilities: JSONValue = .object([:]), initialInitializeResult: JSONValue? = nil, initializationOptions: MCPRequestOptions? = nil, maxRetries: Int = 0, protocolVersionDiscovery: Bool = true, onUncaughtError: (@Sendable (any Error) -> Void)? = nil) async throws -> MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Method | SwiftAISDK.connect(transport:events:clientName:clientVersion:clientCapabilities:initialInitializeResult:initializationOptions:maxRetries:protocolVersionDiscovery:onUncaughtError:) | static func connect(transport: any MCPTransport, events: MCPEventsConfiguration, clientName: String = "swift-ai-sdk-mcp-client", clientVersion: String = "1.0.0", clientCapabilities: JSONValue = .object([:]), initialInitializeResult: JSONValue? = nil, initializationOptions: MCPRequestOptions? = nil, maxRetries: Int = 0, protocolVersionDiscovery: Bool = true, onUncaughtError: (@Sendable (any Error) -> Void)? = nil) async throws -> MCPClient | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Method | SwiftAISDK.current() | static func current() -> (any AIProvider)? | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:decisionModels:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], decisionModels: [String : AIDecisionModelReference], fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : AIEvaluationModelReference] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:evaluationModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], evaluationModels: [String : any AIEvaluationModelV4], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customProvider(providerID:languageModels:embeddingModels:imageModels:transcriptionModels:speechModels:videoModels:rerankingModels:files:skills:fallbackProvider:) | static func customProvider(providerID: String = "custom", languageModels: [String : any LanguageModel] = [:], embeddingModels: [String : any EmbeddingModel] = [:], imageModels: [String : any ImageModel] = [:], transcriptionModels: [String : any TranscriptionModel] = [:], speechModels: [String : any SpeechModel] = [:], videoModels: [String : any VideoModel] = [:], rerankingModels: [String : any RerankingModel] = [:], files: (any AIFileClient)? = nil, skills: (any AISkillsClient)? = nil, fallbackProvider: (any AIProvider)? = nil) -> AICustomProvider | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.customTool(name:description:format:) | static func customTool(name: String, description: String? = nil, format: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Type Method | SwiftAISDK.deepgram(settings:) | static func deepgram(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.deepInfra(settings:) | static func deepInfra(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.deepSeek(settings:) | static func deepSeek(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.deleteFile(client:request:retryPolicy:telemetry:) | static func deleteFile(client: any AIFileClient, request: FileDeleteRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileDeleteResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.discoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:) | static func discoverAuthorizationServerMetadata(authorizationServerURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | SwiftAISDK.discoverAuthorizationServerMetadata(authorizationServerURL:protocolVersion:transport:) | static func discoverAuthorizationServerMetadata(authorizationServerURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthAuthorizationServerMetadata? | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | SwiftAISDK.discoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:) | static func discoverProtectedResourceMetadata(serverURL: URL, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: URL? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | SwiftAISDK.discoverProtectedResourceMetadata(serverURL:protocolVersion:resourceMetadataURL:transport:) | static func discoverProtectedResourceMetadata(serverURL: String, protocolVersion: String = MCPClient.latestProtocolVersion, resourceMetadataURL: String? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthProtectedResourceMetadata | Sources/SwiftAISDK/MCPOAuthDiscovery.swift |
| Type Method | SwiftAISDK.downloadFile(client:request:retryPolicy:telemetry:) | static func downloadFile(client: any AIFileClient, request: FileDownloadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileDownloadResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.elevenLabs(settings:) | static func elevenLabs(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.embed(_:using:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(_ value: String, using model: any EmbeddingModel, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embed(model:provider:request:retryPolicy:telemetry:) | static func embed(model modelID: String, provider: (any AIProvider)? = nil, request: EmbeddingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.embed(model:provider:value:dimensions:providerOptions:extraBody:headers:retryPolicy:telemetry:) | static func embed(model modelID: String, provider: (any AIProvider)? = nil, value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.embed(model:request:retryPolicy:telemetry:) | static func embed(model: any EmbeddingModel, request: EmbeddingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embed(model:value:dimensions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embed(model: any EmbeddingModel, value: String, dimensions: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embedMany(_:using:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(_ values: [String], using model: any EmbeddingModel, dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.embedMany(model:provider:values:dimensions:chunkSize:providerOptions:extraBody:headers:retryPolicy:telemetry:) | static func embedMany(model modelID: String, provider: (any AIProvider)? = nil, values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.embedMany(model:values:dimensions:chunkSize:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func embedMany(model: any EmbeddingModel, values: [String], dimensions: Int? = nil, chunkSize: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> EmbeddingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.enterpriseWebSearch() | static func enterpriseWebSearch() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.enterpriseWebSearch() | static func enterpriseWebSearch() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.exchangeAuthorization(authorizationServerURL:metadata:clientInformation:authorizationCode:codeVerifier:redirectURI:resource:clientAuthentication:transport:) | static func exchangeAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, authorizationCode: String, codeVerifier: String, redirectURI: URL, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalCreateProviderRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func experimentalCreateProviderRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model: String, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Sources/SwiftAISDK/AIFacadeDecision.swift |
| Type Method | SwiftAISDK.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model: any AIDecisionModelV4, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalDecide(model:state:questions:maxOutputTokens:reasoning:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalDecide(model reference: AIDecisionModelReference, state: AIDecisionState, questions: [String : AIDecisionQuestion], maxOutputTokens: Int? = nil, reasoning: String? = nil, maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIDecisionStartEvent>? = nil, onEnd: AICallback<AIDecisionEndEvent>? = nil) async throws -> AIDecisionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model: String, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Sources/SwiftAISDK/AIFacadeEvaluation.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:]) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: String, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/AIFacadeEvaluation.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:state:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, state: JSONValue, questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: String, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/AIFacadeEvaluation.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model: any AIEvaluationModelV4, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalEvaluate(model:stateParts:questions:maxRetries:abortSignal:headers:providerOptions:telemetry:runtimeContext:onStart:onEnd:) | static func experimentalEvaluate(model reference: AIEvaluationModelReference, stateParts: [AIDecisionStatePart], questions: [String : AIEvaluationQuestion], maxRetries: Int? = nil, abortSignal: AIAbortSignal? = nil, headers: [String : String] = [:], providerOptions: [String : JSONValue] = [:], telemetry: Telemetry.Options? = nil, runtimeContext: [String : JSONValue] = [:], onStart: AICallback<AIEvaluationStartEvent>? = nil, onEnd: AICallback<AIEvaluationEndEvent>? = nil) async throws -> AIEvaluationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.experimentalStreamSpeech(model:provider:request:onError:) | static func experimentalStreamSpeech(model modelID: String, provider: (any AIProvider)? = nil, request: StreamingSpeechRequest, onError: @escaping @Sendable (any Error) async throws -> Void = { error in FileHandle.standardError.write(Data("\(error)\n".utf8)) }) throws -> StreamingSpeechResult | Sources/SwiftAISDK/AIFacadeStreamingSpeech.swift |
| Type Method | SwiftAISDK.experimentalStreamSpeech(model:request:onError:) | static func experimentalStreamSpeech(model: any SpeechModel, request: StreamingSpeechRequest, onError: @escaping @Sendable (any Error) async throws -> Void = { error in FileHandle.standardError.write(Data("\(error)\n".utf8)) }) throws -> StreamingSpeechResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.fal(settings:) | static func fal(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.fileSearch(fileSearchStoreNames:metadataFilter:topK:) | static func fileSearch(fileSearchStoreNames: [String], metadataFilter: String? = nil, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.fileSearch(fileSearchStoreNames:metadataFilter:topK:) | static func fileSearch(fileSearchStoreNames: [String], metadataFilter: String? = nil, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.fileSearch(vectorStoreIDs:maxNumResults:) | static func fileSearch(vectorStoreIDs: [String], maxNumResults: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.fileSearch(vectorStoreIDs:maxNumResults:ranking:filters:) | static func fileSearch(vectorStoreIDs: [String], maxNumResults: Int? = nil, ranking: JSONValue? = nil, filters: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | SwiftAISDK.fireworks(settings:) | static func fireworks(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.fishAudio(settings:) | static func fishAudio(settings: ProviderSettings = ProviderSettings()) throws -> FishAudioProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.gateway(settings:teamIDOrSlug:) | static func gateway(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil) throws -> GatewayProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.gateway(settings:teamIDOrSlug:webSocketTransport:) | static func gateway(settings: ProviderSettings = ProviderSettings(), teamIDOrSlug: String? = nil, webSocketTransport: any AIDuplexWebSocketTransport) throws -> GatewayProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.generateAudio(_:using:durationSeconds:format:seed:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateAudio(_ prompt: String, using model: any AudioGenerationModel, durationSeconds: Double? = nil, format: String? = nil, seed: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateAudio(model:request:retryPolicy:telemetry:) | static func generateAudio(model: any AudioGenerationModel, request: AudioGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateEnum(model: any LanguageModel, prompt: String, values: [String], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateEnum(model:provider:request:values:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateEnum(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateEnum(model:request:values:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<String> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateImage(_:using:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(_ prompt: String, using model: any ImageModel, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateImage(model:prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateImage(model: any ImageModel, prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateImage(model:provider:prompt:size:aspectRatio:seed:count:files:mask:providerOptions:extraBody:headers:retryPolicy:telemetry:) | static func generateImage(model modelID: String, provider: (any AIProvider)? = nil, prompt: String, size: String? = nil, aspectRatio: String? = nil, seed: Int? = nil, count: Int? = nil, files: [ImageInputFile] = [], mask: ImageInputFile? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateImage(model:provider:request:retryPolicy:telemetry:) | static func generateImage(model modelID: String, provider: (any AIProvider)? = nil, request: ImageGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateImage(model:request:retryPolicy:telemetry:) | static func generateImage(model: any ImageModel, request: ImageGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> ImageGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateJSON(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateJSON(model:provider:request:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateJSON(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateJSON(model:request:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<JSONValue> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(_:using:as:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(_ prompt: String, using model: any LanguageModel, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(_:using:schema:schemaName:schemaDescription:options:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(_ prompt: String, using model: any LanguageModel, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, options: LanguageGenerationOptions = .default, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(model:prompt:as:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(model: any LanguageModel, prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(model:prompt:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(model: any LanguageModel, prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(model:provider:request:as:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateObject(model:request:as:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Object>(model: any LanguageModel, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Object> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObject(model:request:schema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObject<Schema>(model: any LanguageModel, request: LanguageModelRequest, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<Schema.Output> where Schema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObjectArray(model:prompt:as:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<Element>(model: any LanguageModel, prompt: String, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObjectArray(model:prompt:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<ElementSchema>(model: any LanguageModel, prompt: String, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[ElementSchema.Output]> where ElementSchema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObjectArray(model:provider:request:as:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<Element>(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateObjectArray(model:request:as:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<Element>(model: any LanguageModel, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[Element]> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateObjectArray(model:request:elementSchema:schemaName:schemaDescription:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func generateObjectArray<ElementSchema>(model: any LanguageModel, request: LanguageModelRequest, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> ObjectGenerationResult<[ElementSchema.Output]> where ElementSchema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateSpeech(_:using:voice:format:speed:language:instructions:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateSpeech(_ text: String, using model: any SpeechModel, voice: String? = nil, format: String? = nil, speed: Double? = nil, language: String? = nil, instructions: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateSpeech(model:provider:request:retryPolicy:telemetry:) | static func generateSpeech(model modelID: String, provider: (any AIProvider)? = nil, request: SpeechRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateSpeech(model:request:retryPolicy:telemetry:) | static func generateSpeech(model: any SpeechModel, request: SpeechRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SpeechResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(_:using:options:tools:) | static func generateText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(_:using:output:options:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(messages:using:options:tools:) | static func generateText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:toolChoice:includeRawChunks:includeResponseBody:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, includeResponseBody: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:provider:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:retryPolicy:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:telemetry:) | static func generateText(model modelID: String, provider: (any AIProvider)? = nil, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, retryPolicy: AIRetryPolicy = .default, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateText(model:provider:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:retryPolicy:telemetry:) | static func generateText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateText(model:provider:request:retryPolicy:telemetry:) | static func generateText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TextGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:output:executableTools:maxSteps:toolCallers:stopWhen:prepareStep:toolApproval:toolApprovalSecret:repairToolCall:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, toolCallers: AIToolCallerRouting = [:], stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolApprovalSecret: String? = nil, repairToolCall: AIToolCallRepair? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput?> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:output:retryPolicy:telemetry:jsonInstruction:repairText:) | static func generateText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) async throws -> AIOutputGenerationResult<FinalOutput> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateText(model:request:retryPolicy:telemetry:includeResponseBody:) | static func generateText(model: any LanguageModel, request: LanguageModelRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, includeResponseBody: Bool = false) async throws -> TextGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateVideo(_:using:aspectRatio:durationSeconds:image:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func generateVideo(_ prompt: String, using model: any VideoModel, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.generateVideo(model:provider:request:retryPolicy:telemetry:) | static func generateVideo(model modelID: String, provider: (any AIProvider)? = nil, request: VideoGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> VideoGenerationResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.generateVideo(model:request:retryPolicy:telemetry:poll:webhook:) | static func generateVideo(model: any VideoModel, request: VideoGenerationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, poll: VideoGenerationPollOptions? = nil, webhook: VideoGenerationWebhookFactory? = nil) async throws -> VideoGenerationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchResults(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<TextBatchItemResult, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchResults(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchResults(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) throws -> AsyncThrowingStream<BatchItemResult, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchStatus(model:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(model: any LanguageModel, batch: TextBatch, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getBatchStatus(provider:batch:providerOptions:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func getBatchStatus(provider: any AIBatchProvider, batch: AIBatchReference, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> AIBatchStatus | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getFileMetadata(client:request:retryPolicy:telemetry:) | static func getFileMetadata(client: any AIFileClient, request: FileMetadataRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileMetadataResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.getVideoStatus(model:operation:headers:abortSignal:retryPolicy:) | static func getVideoStatus(model: any VideoModel, operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStatusResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.gladia(settings:) | static func gladia(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.gmiCloud(settings:) | static func gmiCloud(settings: ProviderSettings = ProviderSettings()) throws -> GMICloudProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.google(settings:) | static func google(settings: ProviderSettings = ProviderSettings()) throws -> GoogleGenerativeAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.googleMaps() | static func googleMaps() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.googleMaps() | static func googleMaps() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.googleSearch(searchTypes:timeRangeFilter:) | static func googleSearch(searchTypes: JSONValue? = nil, timeRangeFilter: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.googleSearch(searchTypes:timeRangeFilter:) | static func googleSearch(searchTypes: JSONValue? = nil, timeRangeFilter: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.googleVertex(settings:) | static func googleVertex(settings: GoogleVertexProviderSettings = GoogleVertexProviderSettings()) throws -> GoogleVertexProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.googleVertexAnthropic(project:location:settings:) | static func googleVertexAnthropic(project: String? = nil, location: String? = nil, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.googleVertexMaaS(project:location:settings:) | static func googleVertexMaaS(project: String? = nil, location: String? = nil, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.googleVertexXAI(project:location:settings:) | static func googleVertexXAI(project: String? = nil, location: String? = nil, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.groq(settings:) | static func groq(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.heyGen(settings:) | static func heyGen(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.huggingFace(settings:) | static func huggingFace(settings: ProviderSettings = ProviderSettings()) throws -> HuggingFaceProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.hume(settings:) | static func hume(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.imageGeneration(action:) | static func imageGeneration(action: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.imageGeneration(action:background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(action: String? = nil, background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | SwiftAISDK.imageGeneration(background:inputFidelity:inputImageMask:model:moderation:outputCompression:outputFormat:partialImages:quality:size:) | static func imageGeneration(background: String? = nil, inputFidelity: String? = nil, inputImageMask: JSONValue? = nil, model: String? = nil, moderation: String? = nil, outputCompression: Int? = nil, outputFormat: String? = nil, partialImages: Int? = nil, quality: String? = nil, size: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | SwiftAISDK.isAppTool(_:) | static func isAppTool(_ tool: MCPToolDefinition) throws -> Bool | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.klingAI(settings:) | static func klingAI(settings: KlingAIProviderSettings = KlingAIProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.klingAI(settings:) | static func klingAI(settings: ProviderSettings) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.listBatches(provider:providerOptions:limit:cursor:headers:abortSignal:timeoutNanoseconds:retryPolicy:) | static func listBatches(provider: any AIBatchProvider, providerOptions: [String : JSONValue] = [:], limit: Int? = nil, cursor: String? = nil, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> (batches: [AIBatch], nextCursor: String?, providerMetadata: [String : JSONValue]) | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.lmnt(settings:) | static func lmnt(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.luma(settings:) | static func luma(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.markdownDocument(snapshotDate:) | static func markdownDocument(snapshotDate: String = markdownSnapshotDate) -> String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | SwiftAISDK.markdownTable() | static func markdownTable() -> String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | SwiftAISDK.mcpServer(serverURL:serverLabel:serverDescription:allowedTools:headers:authorization:) | static func mcpServer(serverURL: String, serverLabel: String? = nil, serverDescription: String? = nil, allowedTools: [String]? = nil, headers: JSONValue? = nil, authorization: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.miniMax(settings:) | static func miniMax(settings: MiniMaxProviderSettings = MiniMaxProviderSettings()) throws -> MiniMaxProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.mistral(settings:) | static func mistral(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.moonshotAI(settings:) | static func moonshotAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.openAI(settings:) | static func openAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.openAICompatible(name:baseURL:apiKey:headers:queryParams:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:transformRequestBody:) | static func openAICompatible(name: String, baseURL: String, apiKey: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.openAICompatible(name:baseURL:apiKey:headers:queryParams:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:transformRequestBody:supportsMultiPartToolContent:) | static func openAICompatible(name: String, baseURL: String, apiKey: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, supportsMultiPartToolContent: Bool) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.openAICompatible(name:baseURL:apiKey:headers:queryParams:transport:includeUsage:supportsStructuredOutputs:maxEmbeddingsPerCall:transformRequestBody:transformRequestBodyWithWarnings:supportsMultiPartToolContent:) | static func openAICompatible(name: String, baseURL: String, apiKey: String? = nil, headers: [String : String] = [:], queryParams: [String : String] = [:], transport: any AITransport = URLSessionTransport.shared, includeUsage: Bool = false, supportsStructuredOutputs: Bool = false, maxEmbeddingsPerCall: Int? = nil, transformRequestBody: (@Sendable ([String : JSONValue]) -> [String : JSONValue])? = nil, transformRequestBodyWithWarnings: @escaping @Sendable ([String : JSONValue], inout [AIWarning]) -> [String : JSONValue], supportsMultiPartToolContent: Bool = false) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.openResponses(name:url:settings:) | static func openResponses(name: String, url: String, settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.openResponses(name:url:settings:customToolID:structuredOutputs:getResponseErrorMetadata:dynamicHeaders:failedResponseHandler:userAgentSuffix:) | static func openResponses(name: String, url: String, settings: ProviderSettings = ProviderSettings(), customToolID: String = "open-responses.custom", structuredOutputs: Bool = true, getResponseErrorMetadata: (@Sendable (JSONValue) -> OpenResponsesErrorMetadata)? = nil, dynamicHeaders: (@Sendable () -> [String : String])? = nil, failedResponseHandler: (@Sendable (AIHTTPResponse) -> OpenResponsesFailedResponse)? = nil, userAgentSuffix: String? = nil) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.parallelSearch(mode:maxResults:includeDomains:excludeDomains:afterDate:maxCharsPerResult:maxCharsTotal:maxAgeSeconds:timeoutSeconds:disableCacheFallback:location:) | static func parallelSearch(mode: String? = nil, maxResults: Int? = nil, includeDomains: [String] = [], excludeDomains: [String] = [], afterDate: String? = nil, maxCharsPerResult: Int? = nil, maxCharsTotal: Int? = nil, maxAgeSeconds: Int? = nil, timeoutSeconds: Int? = nil, disableCacheFallback: Bool? = nil, location: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | SwiftAISDK.perplexity(settings:) | static func perplexity(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.perplexitySearch(maxResults:maxTokensPerPage:maxTokens:country:searchDomainFilter:searchLanguageFilter:searchRecencyFilter:) | static func perplexitySearch(maxResults: Int? = nil, maxTokensPerPage: Int? = nil, maxTokens: Int? = nil, country: String? = nil, searchDomainFilter: [String] = [], searchLanguageFilter: [String] = [], searchRecencyFilter: String? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | SwiftAISDK.prodia(settings:) | static func prodia(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: AILanguageModelMiddleware, imageModelMiddleware: [AIImageModelMiddleware] = []) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.providerRegistry(_:separator:languageModelMiddleware:imageModelMiddleware:) | static func providerRegistry(_ providers: [String : any AIProvider], separator: String = ":", languageModelMiddleware: [AILanguageModelMiddleware] = [], imageModelMiddleware: AIImageModelMiddleware) -> AIProviderRegistry | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.quiverAI(settings:) | static func quiverAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.readResource(client:uri:options:) | static func readResource(client: MCPClient, uri: String, options: MCPRequestOptions? = nil) async throws -> MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.refreshAuthorization(authorizationServerURL:metadata:clientInformation:refreshToken:resource:clientAuthentication:transport:) | static func refreshAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, refreshToken: String, resource: URL? = nil, clientAuthentication: MCPOAuthClientAuthenticationHandler? = nil, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthTokens | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.registerClient(authorizationServerURL:metadata:clientMetadata:transport:) | static func registerClient(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientMetadata: MCPOAuthClientMetadata, transport: any AITransport = URLSessionTransport.shared) async throws -> MCPOAuthClientInformationFull | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.replicate(settings:) | static func replicate(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.rerank(model:provider:request:retryPolicy:telemetry:) | static func rerank(model modelID: String, provider: (any AIProvider)? = nil, request: RerankingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.rerank(model:request:retryPolicy:telemetry:) | static func rerank(model: any RerankingModel, request: RerankingRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.rerank(query:documents:using:topK:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func rerank(query: String, documents: [String], using model: any RerankingModel, topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> RerankingResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.resolved() | static func resolved() throws -> any AIProvider | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.resolveDecisionModel(_:) | static func resolveDecisionModel(_ modelID: String) throws -> any AIDecisionModelV4 | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.resolveEmbeddingModel(_:provider:) | static func resolveEmbeddingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any EmbeddingModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveEvaluationModel(_:) | static func resolveEvaluationModel(_ modelID: String) throws -> any AIEvaluationModelV4 | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.resolveImageModel(_:provider:) | static func resolveImageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any ImageModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveLanguageModel(_:provider:) | static func resolveLanguageModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any LanguageModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveRerankingModel(_:provider:) | static func resolveRerankingModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any RerankingModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveSpeechModel(_:provider:) | static func resolveSpeechModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any SpeechModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveTranscriptionModel(_:provider:) | static func resolveTranscriptionModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any TranscriptionModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resolveVideoModel(_:provider:) | static func resolveVideoModel(_ modelID: String, provider: (any AIProvider)? = nil) throws -> any VideoModel | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.resource(uri:from:) | static func resource(uri: String, from readResult: MCPReadResourceResult) throws -> MCPAppResource | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.resourceURI(from:) | static func resourceURI(from tool: MCPToolDefinition) throws -> String? | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.resourceURIs(from:) | static func resourceURIs(from definitions: MCPListToolsResult) throws -> [String] | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.revAI(settings:) | static func revAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.row(providerID:) | static func row(providerID: String) -> AIProviderCapabilityRow? | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | SwiftAISDK.rows(upstreamPackage:) | static func rows(upstreamPackage: String) -> [AIProviderCapabilityRow] | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Method | SwiftAISDK.selectResourceURL(serverURL:provider:resourceMetadata:) | static func selectResourceURL(serverURL: URL, provider: any MCPOAuthClientProvider, resourceMetadata: MCPOAuthProtectedResourceMetadata?) async throws -> URL? | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.set(_:) | static func set(_ provider: (any AIProvider)?) | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.snapshots(from:messageID:terminateOnError:) | static func snapshots(from stream: AsyncThrowingStream<LanguageStreamPart, any Error>, messageID: String = UUID().uuidString, terminateOnError: Bool = false) -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Type Method | SwiftAISDK.snapshots(from:messageID:terminateOnError:originalMessage:onEnd:) | static func snapshots(from stream: AsyncThrowingStream<LanguageStreamPart, any Error>, messageID: String = UUID().uuidString, terminateOnError: Bool = false, originalMessage: AIUIMessage? = nil, onEnd: (@Sendable (AIUIMessageStreamEndEvent) async -> Void)? = nil) -> AsyncThrowingStream<AIUIMessage, any Error> | Sources/SwiftAISDK/AIUIMessageStreamReducer.swift |
| Type Method | SwiftAISDK.splitTools(_:) | static func splitTools(_ definitions: MCPListToolsResult) throws -> MCPAppToolSplit | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.startAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:) | static func startAuthorization(authorizationServerURL: URL, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: URL, scope: String? = nil, state: String? = nil, resource: URL? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.startAuthorization(authorizationServerURL:metadata:clientInformation:redirectURL:scope:state:resource:codeVerifier:) | static func startAuthorization(authorizationServerURL: String, metadata: MCPOAuthAuthorizationServerMetadata? = nil, clientInformation: MCPOAuthClientInformation, redirectURL: String, scope: String? = nil, state: String? = nil, resource: String? = nil, codeVerifier: String? = nil) throws -> MCPOAuthStartAuthorizationResult | Sources/SwiftAISDK/MCPOAuthFlow.swift |
| Type Method | SwiftAISDK.startBatch(provider:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startBatch(provider: any AIBatchProvider, requests: [AIBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startTextBatch(model:requests:tools:toolChoice:providerOptions:headers:idempotencyKey:webhookURL:abortSignal:timeoutNanoseconds:) | static func startTextBatch(model: any LanguageModel, requests: [TextBatchRequest], tools: [String : JSONValue] = [:], toolChoice: JSONValue? = nil, providerOptions: [String : JSONValue] = [:], headers: [String : String] = [:], idempotencyKey: String? = nil, webhookURL: String? = nil, abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil) async throws -> StartTextBatchResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.startVideo(model:request:webhookURL:retryPolicy:) | static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamEnum(model:prompt:values:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(model: any LanguageModel, prompt: String, values: [String], temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamEnum(model:request:values:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamEnum(model: any LanguageModel, request: LanguageModelRequest, values: [String], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<String>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<String>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamJSON(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamJSON(model:request:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamJSON(model: any LanguageModel, request: LanguageModelRequest, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<JSONValue>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<JSONValue>, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObject(model:prompt:as:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Object>(model: any LanguageModel, prompt: String, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObject(model:prompt:schema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Schema>(model: any LanguageModel, prompt: String, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Schema.Output>, any Error> where Schema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObject(model:provider:request:as:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Object>(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamObject(model:request:as:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Object>(model: any LanguageModel, request: LanguageModelRequest, as type: Object.Type = Object.self, schema: JSONValue? = nil, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Object>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Object>, any Error> where Object : Decodable, Object : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObject(model:request:schema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObject<Schema>(model: any LanguageModel, request: LanguageModelRequest, schema: Schema, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<Schema.Output>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<Schema.Output>, any Error> where Schema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObjectArray(model:prompt:as:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<Element>(model: any LanguageModel, prompt: String, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[Element]>, any Error> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObjectArray(model:prompt:elementSchema:schemaName:schemaDescription:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<ElementSchema>(model: any LanguageModel, prompt: String, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[ElementSchema.Output]>, any Error> where ElementSchema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObjectArray(model:request:as:elementSchema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<Element>(model: any LanguageModel, request: LanguageModelRequest, as type: Element.Type = Element.self, elementSchema: JSONValue, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[Element]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[Element]>, any Error> where Element : Decodable, Element : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamObjectArray(model:request:elementSchema:schemaName:schemaDescription:timeoutNanoseconds:retryPolicy:telemetry:callbacks:jsonInstruction:repairText:) | static func streamObjectArray<ElementSchema>(model: any LanguageModel, request: LanguageModelRequest, elementSchema: ElementSchema, schemaName: String? = nil, schemaDescription: String? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, callbacks: AIObjectGenerationCallbacks<[ElementSchema.Output]>? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<ObjectStreamPart<[ElementSchema.Output]>, any Error> where ElementSchema : AIObjectSchema | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(_:using:options:tools:timeoutNanoseconds:) | static func streamText(_ prompt: String, using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(_:using:output:options:timeoutNanoseconds:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(_ prompt: String, using model: any LanguageModel, output: AIOutput<FinalOutput, PartialOutput>, options: LanguageGenerationOptions = .default, timeoutNanoseconds: UInt64? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(messages:using:options:tools:timeoutNanoseconds:) | static func streamText(messages: [AIMessage], using model: any LanguageModel, options: LanguageGenerationOptions = .default, tools: LanguageToolOptions = .none, timeoutNanoseconds: UInt64? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:output:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:reasoning:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, prompt: String, output: AIOutput<FinalOutput, PartialOutput>, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], reasoning: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:provider:prompt:temperature:topP:topK:presencePenalty:frequencyPenalty:seed:maxOutputTokens:stopSequences:responseFormat:reasoning:tools:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:toolChoice:includeRawChunks:providerOptions:extraBody:headers:abortSignal:timeoutNanoseconds:retryPolicy:telemetry:) | static func streamText(model modelID: String, provider: (any AIProvider)? = nil, prompt: String, temperature: Double? = nil, topP: Double? = nil, topK: Int? = nil, presencePenalty: Double? = nil, frequencyPenalty: Double? = nil, seed: Int? = nil, maxOutputTokens: Int? = nil, stopSequences: [String] = [], responseFormat: AIResponseFormat? = nil, reasoning: String? = nil, tools: [String : JSONValue] = [:], executableTools: [AITool] = [], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, toolChoice: JSONValue? = nil, includeRawChunks: Bool = false, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamText(model:provider:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:timeoutNanoseconds:retryPolicy:telemetry:) | static func streamText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamText(model:provider:request:timeoutNanoseconds:retryPolicy:telemetry:) | static func streamText(model modelID: String, provider: (any AIProvider)? = nil, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:output:executableTools:maxSteps:stopWhen:prepareStep:toolCallers:toolApproval:repairToolCall:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, executableTools: [AITool], maxSteps: Int = 5, stopWhen: [AIStopCondition] = [], prepareStep: AIPrepareStep? = nil, toolCallers: AIToolCallerRouting = [:], toolApproval: AIToolApproval? = nil, repairToolCall: AIToolCallRepair? = nil, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:output:timeoutNanoseconds:timeout:retryPolicy:telemetry:jsonInstruction:repairText:) | static func streamText<FinalOutput, PartialOutput>(model: any LanguageModel, request: LanguageModelRequest, output: AIOutput<FinalOutput, PartialOutput>, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil, jsonInstruction: AIJSONInstruction? = nil, repairText: (@Sendable (AIObjectRepairContext) async throws -> String?)? = nil) -> AsyncThrowingStream<AIOutputStreamPart<FinalOutput, PartialOutput>, any Error> where FinalOutput : Sendable, PartialOutput : Sendable | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:streamRetries:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, streamRetries: Int? = nil, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamText(model:request:timeoutNanoseconds:timeout:retryPolicy:telemetry:) | static func streamText(model: any LanguageModel, request: LanguageModelRequest, timeoutNanoseconds: UInt64? = nil, timeout: AIStreamTimeoutConfiguration? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) -> AsyncThrowingStream<LanguageStreamPart, any Error> | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.streamTranscribe(model:request:telemetry:) | static func streamTranscribe(model: any StreamingTranscriptionModel, request: StreamingTranscriptionRequest, telemetry: Telemetry.Options? = nil) async throws -> StreamingTranscriptionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.system(_:id:metadata:) | static func system(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | SwiftAISDK.takoSearch(_:) | static func takoSearch(_ config: GatewayTakoSearchConfig = GatewayTakoSearchConfig()) -> JSONValue | Sources/SwiftAISDK/Models/GatewayModels.swift |
| Type Method | SwiftAISDK.textEditor_20241022() | static func textEditor_20241022() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.textEditor_20250124() | static func textEditor_20250124() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.textEditor_20250429() | static func textEditor_20250429() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.textEditor_20250728(maxCharacters:) | static func textEditor_20250728(maxCharacters: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.textFormat() | static func textFormat() -> JSONValue | Sources/SwiftAISDK/Models/QuiverAIModels.swift |
| Type Method | SwiftAISDK.togetherAI(settings:) | static func togetherAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.toolMeta(from:) | static func toolMeta(from tool: MCPToolDefinition) throws -> MCPAppToolMeta? | Sources/SwiftAISDK/MCPApps.swift |
| Type Method | SwiftAISDK.toolSearchBm25_20251119() | static func toolSearchBm25_20251119() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.toolSearchRegex_20251119() | static func toolSearchRegex_20251119() -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.topaz(settings:) | static func topaz(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.transcribe(audio:using:fileName:mimeType:language:prompt:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transcribe(audio: Data, using model: any TranscriptionModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", language: String? = nil, prompt: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.transcribe(model:provider:request:retryPolicy:telemetry:) | static func transcribe(model modelID: String, provider: (any AIProvider)? = nil, request: AudioTranscriptionRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Sources/SwiftAISDK/AIModelResolution.swift |
| Type Method | SwiftAISDK.transcribe(model:request:retryPolicy:telemetry:) | static func transcribe(model: any TranscriptionModel, request: AudioTranscriptionRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> TranscriptionResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.transformAudio(audio:using:fileName:mimeType:voice:format:providerOptions:extraBody:headers:abortSignal:retryPolicy:telemetry:) | static func transformAudio(audio: Data, using model: any AudioTransformationModel, fileName: String = "audio.wav", mimeType: String = "audio/wav", voice: String? = nil, format: String? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.transformAudio(model:request:retryPolicy:telemetry:) | static func transformAudio(model: any AudioTransformationModel, request: AudioTransformationRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> AudioTransformationResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.typeSafeAI(settings:) | static func typeSafeAI(settings: ProviderSettings = ProviderSettings()) -> TypeSafeAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.uploadFile(client:request:retryPolicy:telemetry:) | static func uploadFile(client: any AIFileClient, request: FileUploadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> FileUploadResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.uploadSkill(client:request:retryPolicy:telemetry:) | static func uploadSkill(client: any AISkillsClient, request: SkillUploadRequest, retryPolicy: AIRetryPolicy = .default, telemetry: Telemetry.Options? = nil) async throws -> SkillUploadResult | Sources/SwiftAISDK/Compatibility.swift |
| Type Method | SwiftAISDK.urlContext() | static func urlContext() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.urlContext() | static func urlContext() -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.user(_:id:metadata:) | static func user(_ text: String, id: String = UUID().uuidString, metadata: [String : JSONValue] = [:]) -> AIUIMessage | Sources/SwiftAISDK/CoreUIMessages.swift |
| Type Method | SwiftAISDK.vercel(settings:) | static func vercel(settings: ProviderSettings = ProviderSettings()) throws -> VercelProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.vertexRagStore(ragCorpus:topK:) | static func vertexRagStore(ragCorpus: String, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.vertexRagStore(ragCorpus:topK:) | static func vertexRagStore(ragCorpus: String, topK: Int? = nil) -> JSONValue | Sources/SwiftAISDK/Models/GoogleTools.swift |
| Type Method | SwiftAISDK.viewImage() | static func viewImage() -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.viewXVideo() | static func viewXVideo() -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.voyage(settings:) | static func voyage(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.webSearch_20250305(maxUses:allowedDomains:blockedDomains:userLocation:) | static func webSearch_20250305(maxUses: Int? = nil, allowedDomains: [String]? = nil, blockedDomains: [String]? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/AmazonBedrockAnthropicLanguageModel.swift |
| Type Method | SwiftAISDK.webSearch(allowedDomains:excludedDomains:enableImageSearch:enableImageUnderstanding:) | static func webSearch(allowedDomains: [String]? = nil, excludedDomains: [String]? = nil, enableImageSearch: Bool? = nil, enableImageUnderstanding: Bool? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.webSearch(filters:externalWebAccess:searchContextSize:userLocation:) | static func webSearch(filters: JSONValue? = nil, externalWebAccess: Bool? = nil, searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | SwiftAISDK.webSearch(name:) | static func webSearch(name: String = "web_search") -> JSONValue | Sources/SwiftAISDK/Models/MistralConversationTools.swift |
| Type Method | SwiftAISDK.webSearchPremium(name:) | static func webSearchPremium(name: String = "web_search_premium") -> JSONValue | Sources/SwiftAISDK/Models/MistralConversationTools.swift |
| Type Method | SwiftAISDK.webSearchPreview(searchContextSize:userLocation:) | static func webSearchPreview(searchContextSize: String? = nil, userLocation: JSONValue? = nil) -> JSONValue | Sources/SwiftAISDK/Models/OpenAICompatibleConfig.swift |
| Type Method | SwiftAISDK.withProvider(_:operation:) | static func withProvider<Result>(_ provider: any AIProvider, operation: () throws -> Result) rethrows -> Result | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.withProvider(_:operation:) | static func withProvider<Result>(_ provider: any AIProvider, operation: () async throws -> Result) async rethrows -> Result | Sources/SwiftAISDK/Providers/CustomProvider.swift |
| Type Method | SwiftAISDK.xAI(settings:) | static func xAI(settings: ProviderSettings = ProviderSettings()) throws -> OpenAICompatibleProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Method | SwiftAISDK.xSearch(allowedXHandles:excludedXHandles:fromDate:toDate:enableImageUnderstanding:enableVideoUnderstanding:) | static func xSearch(allowedXHandles: [String]? = nil, excludedXHandles: [String]? = nil, fromDate: String? = nil, toDate: String? = nil, enableImageUnderstanding: Bool? = nil, enableVideoUnderstanding: Bool? = nil) -> JSONValue | Sources/SwiftAISDK/Models/XAIModels.swift |
| Type Method | SwiftAISDK.zai(settings:) | static func zai(settings: ZAIProviderSettings = ZAIProviderSettings()) -> ZAIProvider | Sources/SwiftAISDK/Providers/ProviderRegistry.swift |
| Type Property | SwiftAI.default | static let default: LanguageGenerationOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Property | SwiftAI.disabled | static let disabled: Telemetry.Options | Packages/swift-ai-core/Sources/SwiftAI/Telemetry.swift |
| Type Property | SwiftAI.none | static let none: LanguageToolOptions | Packages/swift-ai-core/Sources/SwiftAI/SwiftNativeLanguageAPI.swift |
| Type Property | SwiftAIProvider.automatic | static let automatic: AIJSONInstruction | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Type Property | SwiftAIProvider.default | static let default: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Type Property | SwiftAIProvider.disabled | static let disabled: AIJSONInstruction | Packages/swift-ai-core/Sources/SwiftAIProvider/JSONInstruction.swift |
| Type Property | SwiftAIProvider.none | static let none: AIRetryPolicy | Packages/swift-ai-core/Sources/SwiftAIProvider/Core.swift |
| Type Property | SwiftAIProvider.normalClosure | static let normalClosure: AIDuplexWebSocketCloseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/DuplexWebSocketTransport.swift |
| Type Property | SwiftAIProvider.notFound | static let notFound: GatewayErrorType | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Type Property | SwiftAIProviderUtilities.startFrameType | static let startFrameType: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Property | SwiftAIProviderUtilities.textDeltaFrameType | static let textDeltaFrameType: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Property | SwiftAIProviderUtilities.textDoneFrameType | static let textDoneFrameType: String | Packages/swift-ai-core/Sources/SwiftAIProviderUtilities/SpeechStreamEnvelope.swift |
| Type Property | SwiftAISDK.all | static let all: [AIProviderCapabilityRow] | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Property | SwiftAISDK.appMIMEType | static let appMIMEType: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | SwiftAISDK.clientCapabilities | static let clientCapabilities: JSONValue | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | SwiftAISDK.defaultAPIVersion | static let defaultAPIVersion: String | Sources/SwiftAISDK/Providers/CartesiaProvider.swift |
| Type Property | SwiftAISDK.extensionName | static let extensionName: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | SwiftAISDK.latestLegacyProtocolVersion | static let latestLegacyProtocolVersion: String | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | SwiftAISDK.latestProtocolVersion | static let latestProtocolVersion: String | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | SwiftAISDK.legacyResourceURIMetadataKey | static let legacyResourceURIMetadataKey: String | Sources/SwiftAISDK/MCPApps.swift |
| Type Property | SwiftAISDK.markdownSnapshotDate | static let markdownSnapshotDate: String | Sources/SwiftAISDK/Providers/ProviderCapabilityMatrix.swift |
| Type Property | SwiftAISDK.maxBodyBytes | static let maxBodyBytes: Int | Sources/SwiftAISDK/MCPEventWebhook.swift |
| Type Property | SwiftAISDK.supportedProtocolVersions | static let supportedProtocolVersions: Set<String> | Sources/SwiftAISDK/MCPClientActor.swift |
| Type Property | SwiftAITransport.shared | static let shared: URLSessionDuplexWebSocketTransport | Packages/swift-ai-core/Sources/SwiftAITransport/DuplexWebSocketTransport.swift |
| Type Property | SwiftAITransport.shared | static let shared: URLSessionTransport | Packages/swift-ai-core/Sources/SwiftAITransport/HTTP.swift |