The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-ai, reference main (6f9f89), with Swift 6.3 for macOS (SPM) on 2 Jul 2026 15:30:43 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/swift-ai.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Dean151/swift-ai
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f9f89f docs: documenting the library going down
Cloned https://github.com/Dean151/swift-ai.git
Revision (git rev-parse @):
6f9f89f15b24fcf72e8fb8227bc607d0236aa7c1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Dean151/swift-ai.git at main
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/1219] Fetching swift-http-types
[148/3544] Fetching swift-http-types, swift-docc-plugin
[1430/7293] Fetching swift-http-types, swift-docc-plugin, swift-docc-symbolkit
[7294/83093] Fetching swift-http-types, swift-docc-plugin, swift-docc-symbolkit, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (4.52s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (4.52s)
Fetched https://github.com/apple/swift-http-types.git from cache (4.52s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.49s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (0.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-ai",
      "name": "swift-ai",
      "url": "https://github.com/Dean151/swift-ai.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-ai",
      "traits": [
      ],
      "dependencies": [
        {
          "identity": "swift-http-types",
          "name": "swift-http-types",
          "url": "https://github.com/apple/swift-http-types.git",
          "version": "1.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-types",
          "traits": [
            "FoundationURL"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax.git",
          "version": "601.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Dean151/swift-ai.git
[1/1180] Fetching swift-ai
Fetched https://github.com/Dean151/swift-ai.git from cache (1.13s)
Fetching https://github.com/apple/swift-http-types.git from cache
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.98s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.54s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.0
Creating working copy for https://github.com/Dean151/swift-ai.git
Working copy of https://github.com/Dean151/swift-ai.git resolved at main (6f9f89f)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Found 2 product dependencies
  - swift-http-types
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Dean151/swift-ai.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/56] Write sources
[52/56] Compiling _SwiftSyntaxCShims dummy.c
[53/56] Write swift-version--6988338F2F200930.txt
[55/84] Emitting module SwiftSyntax510
[56/84] Compiling SwiftSyntax600 Empty.swift
[57/84] Emitting module SwiftSyntax509
[58/84] Compiling SwiftSyntax510 Empty.swift
[59/84] Emitting module SwiftSyntax600
[60/84] Compiling SwiftSyntax509 Empty.swift
[61/84] Compiling SwiftSyntax601 Empty.swift
[62/84] Emitting module SwiftSyntax601
[63/150] Compiling SwiftSyntax EditorPlaceholder.swift
[64/150] Compiling SwiftSyntax Identifier.swift
[65/150] Compiling SwiftSyntax MemoryLayout.swift
[66/150] Compiling SwiftSyntax MissingNodeInitializers.swift
[67/150] Compiling SwiftSyntax RawSyntax.swift
[68/150] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[69/150] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[70/150] Compiling SwiftSyntax RawSyntaxTokenView.swift
[71/157] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[72/157] Compiling SwiftSyntax SyntaxChildren.swift
[73/157] Compiling SwiftSyntax SyntaxCollection.swift
[74/157] Compiling SwiftSyntax SyntaxHashable.swift
[75/157] Compiling SwiftSyntax SyntaxIdentifier.swift
[76/157] Compiling SwiftSyntax SyntaxNodeFactory.swift
[77/157] Compiling SwiftSyntax SyntaxNodeStructure.swift
[78/157] Compiling SwiftSyntax SourceEdit.swift
[79/157] Compiling SwiftSyntax SourceLength.swift
[80/157] Compiling SwiftSyntax SourceLocation.swift
[81/157] Compiling SwiftSyntax SourcePresence.swift
[82/157] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[83/157] Compiling SwiftSyntax Syntax.swift
[84/157] Compiling SwiftSyntax SyntaxArena.swift
[85/157] Compiling HTTPTypes ISOLatin1String.swift
[86/157] Compiling HTTPTypes NIOLock.swift
[88/157] Compiling HTTPTypes ISOLatin1String.swift
[89/157] Compiling HTTPTypes HTTPRequest.swift
[90/157] Compiling HTTPTypes HTTPResponse.swift
[91/157] Compiling HTTPTypes HTTPRequest.swift
[92/157] Compiling HTTPTypes HTTPResponse.swift
[93/157] Emitting module HTTPTypes
[95/157] Compiling HTTPTypes HTTPParsedFields.swift
[96/157] Compiling HTTPTypes HTTPFields.swift
[97/157] Compiling HTTPTypes HTTPFieldName.swift
[98/157] Compiling HTTPTypes HTTPField.swift
[99/157] Compiling HTTPTypes HTTPRequest+URL.swift
[100/157] Compiling HTTPTypes HTTPParsedFields.swift
[101/157] Compiling HTTPTypes HTTPFields.swift
[102/157] Compiling HTTPTypes HTTPFieldName.swift
[103/157] Compiling HTTPTypes HTTPRequest+URL.swift
[104/157] Compiling HTTPTypes HTTPField.swift
[105/169] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[106/169] Emitting module HTTPTypesFoundation
[107/169] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[108/169] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[109/169] Emitting module HTTPTypesFoundation
[110/169] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[111/169] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[112/169] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[113/169] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[114/169] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[115/169] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[116/169] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[117/203] Emitting module SwiftSyntax
[118/203] Compiling SwiftSyntax Tokens.swift
[119/203] Compiling SwiftSyntax TriviaPieces.swift
[120/203] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[121/203] Compiling SwiftSyntax RawSyntaxNodesC.swift
[122/203] Compiling SwiftSyntax RawSyntaxNodesD.swift
[123/203] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[124/203] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[125/203] Compiling AI StructuredDecodingError.swift
[127/205] Compiling AI StreamEvent+Convenience.swift
[128/205] Compiling AI Protocols.swift
[129/205] Compiling AI Reranking.swift
[130/205] Compiling AI StreamEvent+Convenience.swift
[133/205] Compiling AI Tool.swift
[135/205] Compiling AI ModelCapabilities.swift
[136/205] Compiling AI ModelOutput.swift
[137/205] Compiling AI AITransport+URLSession.swift
[138/205] Compiling AI AITransport.swift
[139/205] Compiling AI AIError.swift
[140/205] Compiling AI AIModel.swift
[141/205] Compiling AI Embeddings.swift
[142/205] Compiling AI GenerationOptions.swift
[143/205] Emitting module AI
[144/205] Compiling AI ImageGeneration.swift
[145/205] Compiling AI JSONValue.swift
[146/205] Compiling AI LanguageModel+Typed.swift
[147/205] Compiling AI Message.swift
[152/292] Compiling Cohere Cohere+Embedding.swift
[153/292] Compiling Cohere Cohere+EmbeddingModel.swift
[156/292] Compiling Gemini Exports.swift
[157/292] Compiling Gemini Gemini+Embedding.swift
[158/292] Emitting module AI
[161/303] Compiling Ollama Ollama+Unsupported.swift
[162/303] Compiling Ollama Ollama+Options.swift
[163/304] Compiling Mistral Mistral+Unsupported.swift
[164/305] Compiling Voyage Voyage.swift
[165/305] Compiling Mistral Mistral+Options.swift
[166/305] Compiling Mistral Mistral+Model.swift
[167/305] Compiling Jina Jina.swift
[168/305] Compiling Gemini Gemini+Options.swift
[169/306] Compiling Mistral Mistral+Embedding.swift
[170/306] Compiling OpenAI OpenAI+EmbeddingModel.swift
[171/307] Compiling VectorStore VectorRecord.swift
[172/307] Compiling VectorStore Retriever.swift
[173/307] Compiling VectorStore RerankingRetriever.swift
[174/307] Compiling VectorStore VectorStore.swift
[175/307] Compiling VectorStore Exports.swift
[176/307] Compiling VectorStore Indexer.swift
[177/307] Compiling Ollama Ollama+Model.swift
[178/307] Compiling VectorStore VectorMatch.swift
[179/308] Compiling Jina Jina+Unsupported.swift
[180/308] Compiling Jina Jina+Options.swift
[181/308] Compiling Voyage Voyage+Request.swift
[182/308] Compiling Voyage Voyage+Options.swift
[183/308] Compiling Voyage Voyage+Unsupported.swift
[184/308] Compiling Jina Jina+Rerank.swift
[185/308] Compiling Voyage Voyage+Model.swift
[186/308] Emitting module Voyage
[187/308] Compiling Voyage Voyage+Error.swift
[188/308] Compiling Voyage Voyage+Embedding.swift
[189/308] Compiling Voyage Exports.swift
[190/308] Compiling Voyage Voyage+Rerank.swift
[191/308] Compiling OpenAI OpenAI+Error.swift
[192/308] Compiling Jina Jina+Embedding.swift
[193/308] Compiling Jina Jina+Model.swift
[194/308] Compiling Jina Exports.swift
[195/308] Emitting module Jina
[196/308] Compiling Jina Jina+Error.swift
[197/308] Compiling VectorStore Document.swift
[198/308] Emitting module VectorStore
[199/308] Compiling AppleIntelligence AppleIntelligence+ImageGeneration.swift
[200/308] Compiling AppleIntelligence AppleIntelligence+ImageInput.swift
[201/308] Compiling Cohere Cohere+Rerank.swift
[202/308] Compiling Cohere Cohere.swift
[203/308] Compiling Cohere Cohere+Unsupported.swift
[204/330] Compiling Ollama Ollama+Error.swift
[205/330] Compiling Ollama Ollama+Embedding.swift
[206/330] Compiling Ollama Ollama+EmbeddingModel.swift
[207/330] Compiling Ollama Ollama+ChatResponse.swift
[208/330] Compiling Ollama Ollama+LanguageModel.swift
[209/330] Compiling Mistral Mistral+EmbeddingModel.swift
[210/330] Compiling Mistral Mistral+Error.swift
[211/330] Compiling Mistral Mistral+LanguageModel.swift
[212/330] Compiling Ollama Ollama.swift
[213/330] Compiling Mistral Mistral.swift
[214/330] Compiling Cohere Cohere+Model.swift
[215/330] Compiling Cohere Cohere+Options.swift
[216/330] Compiling Cohere Cohere+LanguageModel.swift
[217/330] Compiling Cohere Exports.swift
[218/330] Compiling OpenAI OpenAI+Model.swift
[219/330] Compiling OpenAI OpenAI+Options.swift
[220/330] Compiling OpenAI OpenAI+ImageGeneration.swift
[221/330] Compiling OpenAI OpenAI+ImageGenerationModel.swift
[222/330] Compiling OpenAI OpenAI+TextGenerationModel.swift
[223/330] Compiling Gemini Gemini.swift
[224/330] Compiling VectorStore VectorStoreError.swift
[225/330] Emitting module Ollama
[226/330] Compiling VectorStore Chunk.swift
[227/330] Compiling VectorStore Chunker.swift
[228/330] Compiling Gemini Gemini+Model.swift
[229/330] Compiling Gemini Gemini+GenerateContentResponse.swift
[230/330] Compiling Gemini Gemini+Error.swift
[231/330] Compiling Gemini Gemini+ImageGenerationModel.swift
[232/330] Compiling Gemini Gemini+LanguageModel.swift
[233/342] Compiling OpenAI OpenAI.swift
[234/353] Emitting module Mistral
[235/353] Compiling Mistral Mistral+ChatResponse.swift
[236/353] Compiling Ollama Exports.swift
[237/353] Compiling Ollama Ollama+ChatRequest.swift
[238/353] Compiling SwiftSyntax SyntaxCollections.swift
[239/353] Compiling SwiftSyntax SyntaxEnum.swift
[240/353] Compiling SwiftSyntax SyntaxKind.swift
[241/353] Compiling SwiftSyntax SyntaxRewriter.swift
[242/353] Compiling SwiftSyntax SyntaxTraits.swift
[243/353] Compiling SwiftSyntax SyntaxVisitor.swift
[244/353] Compiling SwiftSyntax TokenKind.swift
[245/353] Compiling SwiftSyntax AbsolutePosition.swift
[246/353] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[247/353] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[248/353] Compiling SwiftSyntax Assert.swift
[249/353] Compiling SwiftSyntax BumpPtrAllocator.swift
[250/353] Compiling SwiftSyntax CommonAncestor.swift
[251/353] Compiling SwiftSyntax Convenience.swift
[252/353] Compiling SwiftSyntax CustomTraits.swift
[253/353] Compiling Voyage Voyage.swift
[254/353] Compiling OpenAI Exports.swift
[255/353] Compiling OpenAI OpenAI+ChatRequest.swift
[256/364] Compiling Mistral Exports.swift
[257/364] Compiling Mistral Mistral+ChatRequest.swift
[258/364] Compiling Gemini Gemini+EmbeddingModel.swift
[259/364] Compiling VectorStore Retriever.swift
[260/364] Compiling VectorStore VectorRecord.swift
[261/364] Compiling VectorStore VectorStore.swift
[262/364] Compiling VectorStore RerankingRetriever.swift
[263/364] Compiling VectorStore VectorMatch.swift
[264/365] Emitting module Gemini
[265/365] Compiling Gemini Gemini+GenerateContentRequest.swift
[266/365] Compiling VectorStore Indexer.swift
[267/365] Compiling VectorStore Exports.swift
[268/365] Compiling VectorStore Document.swift
[269/365] Emitting module VectorStore
[272/365] Emitting module OpenAI
[275/374] Compiling Ollama Ollama+Options.swift
[276/375] Compiling Ollama Ollama+Unsupported.swift
[277/386] Compiling Voyage Voyage+Unsupported.swift
[278/386] Compiling Voyage Voyage+Options.swift
[279/386] Compiling Voyage Voyage+Request.swift
[280/386] Compiling Voyage Voyage+Model.swift
[281/386] Compiling Voyage Voyage+Error.swift
[282/386] Compiling Voyage Voyage+Embedding.swift
[283/386] Compiling Voyage Exports.swift
[284/386] Compiling Voyage Voyage+Rerank.swift
[285/386] Emitting module Voyage
[286/386] Compiling Ollama Ollama+Model.swift
[287/398] Emitting module Cohere
[288/398] Compiling Cohere Cohere+Error.swift
[289/398] Compiling Cohere Cohere+Embedding.swift
[290/398] Compiling Cohere Cohere+EmbeddingModel.swift
[291/398] Compiling Cohere Cohere+ChatRequest.swift
[292/398] Compiling Cohere Cohere+ChatResponse.swift
[293/398] Compiling VectorStore VectorStoreError.swift
[294/419] Compiling Ollama Ollama.swift
[295/419] Compiling Ollama Ollama+Error.swift
[296/419] Compiling Ollama Ollama+EmbeddingModel.swift
[297/419] Compiling Ollama Ollama+Embedding.swift
[298/419] Compiling Ollama Ollama+LanguageModel.swift
[299/419] Compiling OpenAI OpenAI+TextGenerationModel.swift
[300/419] Compiling OpenAI OpenAI+ImageGenerationModel.swift
[301/419] Compiling OpenAI OpenAI+Options.swift
[302/419] Compiling OpenAI OpenAI+Error.swift
[303/419] Compiling OpenAI OpenAI+ImageGeneration.swift
[304/419] Compiling OpenAI OpenAI+Model.swift
[305/420] Compiling Cohere Cohere.swift
[306/421] Compiling Jina Jina+Options.swift
[307/421] Compiling Jina Jina+Rerank.swift
[308/421] Compiling Jina Jina.swift
[309/421] Compiling Jina Jina+Unsupported.swift
[310/421] Compiling Jina Jina+Model.swift
[311/421] Compiling Jina Jina+Error.swift
[312/421] Compiling Jina Exports.swift
[313/421] Emitting module Jina
[314/421] Compiling Jina Jina+Embedding.swift
[315/421] Compiling Gemini Gemini+Options.swift
[316/422] Compiling Ollama Ollama+ChatResponse.swift
[317/422] Emitting module Ollama
[318/422] Compiling AppleIntelligence AppleIntelligence+ImageGeneration.swift
[319/422] Compiling AppleIntelligence AppleIntelligence+ImageInput.swift
[320/422] Compiling Mistral Mistral+EmbeddingModel.swift
[321/422] Compiling Mistral Mistral+Options.swift
[322/422] Compiling Mistral Mistral+Model.swift
[323/422] Compiling Mistral Mistral+Unsupported.swift
[324/422] Compiling Mistral Mistral+Error.swift
[325/423] Compiling Mistral Mistral+Embedding.swift
[326/423] Compiling Mistral Mistral+LanguageModel.swift
[327/450] Compiling Cohere Exports.swift
[328/450] Compiling Anthropic Anthropic+Options.swift
[329/450] Compiling Anthropic Anthropic.swift
[330/450] Compiling Anthropic Anthropic+Unsupported.swift
[331/451] Compiling Cohere Cohere+Rerank.swift
[332/451] Compiling Cohere Cohere+Unsupported.swift
[333/451] Compiling Mistral Mistral+ChatResponse.swift
[334/451] Compiling Agent AgentEvent.swift
[335/451] Compiling Agent AgentObserver.swift
[336/451] Emitting module Mistral
[337/451] Compiling Gemini Gemini+Model.swift
[338/451] Compiling Gemini Gemini+LanguageModel.swift
[339/451] Compiling Gemini Gemini+ImageGenerationModel.swift
[342/451] Compiling OpenAI OpenAI+EmbeddingModel.swift
[343/451] Emitting module OpenAI
[344/451] Compiling Agent AgentConfiguration.swift
[345/451] Compiling Agent AgentError.swift
[346/451] Compiling Gemini Gemini+GenerateContentResponse.swift
[347/451] Compiling OpenAI OpenAI.swift
[348/451] Compiling Gemini Gemini.swift
[349/468] Compiling Anthropic Exports.swift
[350/468] Compiling Anthropic Anthropic+Unsupported.swift
[351/469] Compiling Mistral Mistral.swift
[352/469] Compiling Agent Tool.swift
[353/470] Compiling Agent AnyTool.swift
[354/470] Compiling Agent CallbackTool.swift
[355/470] Compiling Agent AgentResult.swift
[356/470] Compiling Agent AgentRunner+Stream.swift
[357/470] Compiling Agent RetryPolicy.swift
[358/470] Compiling Agent RetrievalContextSource.swift
[359/470] Compiling Agent RetrievalTool.swift
[360/470] Compiling Anthropic Anthropic.swift
[361/484] Compiling Anthropic Anthropic+Model.swift
[362/484] Compiling Anthropic Anthropic+MessageResponse.swift
[363/484] Compiling Anthropic Anthropic+Options.swift
[364/484] Emitting module Gemini
[365/484] Compiling Gemini Gemini+EmbeddingModel.swift
[366/484] Compiling AITesting MockImageGenerationModel.swift
[367/484] Compiling AITesting MockLanguageModel.swift
[368/484] Compiling Gemini Gemini+Error.swift
[369/484] Compiling Gemini Gemini+GenerateContentRequest.swift
[372/499] Compiling Anthropic Exports.swift
[373/499] Compiling Anthropic Anthropic+MessageRequest.swift
[374/499] Compiling Anthropic Anthropic+Conversions.swift
[375/499] Compiling Anthropic Anthropic+Error.swift
[376/499] Emitting module Anthropic
[377/499] Compiling Anthropic Anthropic+LanguageModel.swift
[378/499] Compiling Agent ToolBox.swift
[381/499] Compiling Agent RetryPolicy.swift
[384/499] Compiling AITesting MockEmbeddingModel.swift
[385/499] Compiling AITesting MockHTTPTransport.swift
[386/499] Compiling AITesting MockModelProvider.swift
[387/499] Compiling AITesting MockRerankModel.swift
[388/499] Compiling Anthropic Anthropic+Model.swift
[389/499] Compiling Anthropic Anthropic+MessageResponse.swift
[390/499] Compiling Agent ToolBox.swift
[391/499] Compiling Anthropic Anthropic+Conversions.swift
[392/499] Compiling Anthropic Anthropic+Error.swift
[393/499] Compiling Anthropic Anthropic+MessageRequest.swift
[394/499] Emitting module Anthropic
[395/499] Compiling Anthropic Anthropic+LanguageModel.swift
[396/499] Compiling Cohere Cohere+Options.swift
[399/499] Compiling Cohere Cohere+Model.swift
[400/499] Compiling Cohere Cohere+LanguageModel.swift
[401/499] Compiling Cohere Cohere+Error.swift
[402/499] Emitting module Cohere
[403/499] Compiling AITesting CapturingHTTPTransport.swift
[404/499] Compiling AITesting Exports.swift
[405/499] Compiling AITesting MockImageGenerationModel.swift
[406/499] Compiling AITesting MockLanguageModel.swift
[411/499] Emitting module Agent
[417/499] Compiling Agent Tool.swift
[420/529] Compiling SwiftSyntax SyntaxProtocol.swift
[421/529] Compiling SwiftSyntax SyntaxText.swift
[422/529] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[423/529] Compiling SwiftSyntax TokenDiagnostic.swift
[424/529] Compiling SwiftSyntax TokenSequence.swift
[425/529] Compiling SwiftSyntax TokenSyntax.swift
[426/529] Compiling SwiftSyntax Trivia.swift
[427/529] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[428/529] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[429/529] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[430/529] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[431/529] Compiling SwiftSyntax RawSyntaxValidation.swift
[432/529] Compiling SwiftSyntax SyntaxNodesAB.swift
[433/529] Compiling SwiftSyntax SyntaxNodesC.swift
[434/529] Compiling Conversation StaticSystemMemoryPolicy.swift
[435/529] Compiling Conversation StoredMessage.swift
[436/530] Compiling Conversation RetrievalPolicy.swift
[437/530] Compiling Conversation HeuristicTokenCounter.swift
[438/530] Compiling Conversation InMemoryMessageStore.swift
[439/530] Compiling Conversation RollingSummaryPolicy.swift
[440/530] Compiling Conversation TokenCounter.swift
[441/530] Compiling Conversation MessageStore.swift
[442/530] Compiling Conversation RecentWindowPolicy.swift
[443/530] Compiling Conversation MemoryPolicy.swift
[444/530] Compiling Conversation MessageCodableBridge.swift
[445/530] Compiling Conversation Conversation.swift
[446/530] Compiling Conversation ConversationSession.swift
[447/530] Emitting module Conversation
[448/530] Compiling Conversation Exports.swift
[449/530] Compiling Conversation FileMessageStore.swift
[450/530] Compiling Conversation StoredMessage.swift
[453/530] Compiling Conversation RollingSummaryPolicy.swift
[456/530] Compiling Conversation StaticSystemMemoryPolicy.swift
[457/530] Compiling Conversation RetrievalPolicy.swift
[458/530] Emitting module Conversation
[465/531] Compiling Conversation TokenCounter.swift
[466/531] Compiling AppleIntelligence AppleIntelligence+Unsupported.swift
[467/531] Compiling AppleIntelligence AppleIntelligence+iOS27.swift
[468/532] Compiling AppleIntelligence Exports.swift
[469/532] Compiling AITesting StreamFixture.swift
[472/534] Compiling AITesting RequestAssertions.swift
[473/534] Compiling AITesting RecordingHTTPTransport.swift
[474/534] Compiling AITesting ReplayHTTPTransport.swift
[483/534] Emitting module AITesting
[484/534] Compiling AITesting RecordedHTTPExchange.swift
[485/534] Compiling AITesting StreamFixture.swift
[488/534] Compiling AITesting ReplayHTTPTransport.swift
[489/534] Compiling AITesting RecordingHTTPTransport.swift
[490/534] Compiling AITesting RequestAssertions.swift
[495/534] Emitting module AITesting
[496/534] Compiling AITesting RecordedHTTPExchange.swift
[497/534] Compiling AITesting ToolInteractionAssertions.swift
[499/534] Compiling AppleIntelligence AppleIntelligence.swift
[500/534] Compiling AppleIntelligence AppleIntelligence+iOS27.swift
[501/535] Compiling AppleIntelligence AppleIntelligence+ToolCalling.swift
[502/535] Compiling AppleIntelligence AppleIntelligence+Unsupported.swift
[503/535] Compiling AppleIntelligence AppleIntelligence+Options.swift
[504/535] Compiling AppleIntelligence AppleIntelligence+StructuredOutput.swift
[506/535] Compiling AppleIntelligence AppleIntelligence+Options.swift
[507/535] Compiling AppleIntelligence AppleIntelligence+LanguageModel.swift
[508/535] Compiling AppleIntelligence Exports.swift
[509/535] Compiling AppleIntelligence AppleIntelligence.swift
[510/535] Compiling AppleIntelligence AppleIntelligence+LanguageModel.swift
[511/535] Compiling AppleIntelligence AppleIntelligence+Inspection.swift
[512/535] Compiling AppleIntelligence AppleIntelligence+ToolCalling.swift
[513/535] Emitting module AppleIntelligence
[516/535] Compiling AppleIntelligence AppleIntelligence+Inspection.swift
[519/535] Emitting module AppleIntelligence
[520/535] Compiling SwiftSyntax SyntaxNodesD.swift
[521/535] Compiling SwiftSyntax SyntaxNodesEF.swift
[522/535] Compiling SwiftSyntax SyntaxNodesGHI.swift
[523/535] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[524/535] Compiling SwiftSyntax SyntaxNodesOP.swift
[525/535] Compiling SwiftSyntax SyntaxNodesQRS.swift
[526/535] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[527/535] Compiling SwiftSyntax Utils.swift
[528/535] Compiling SwiftSyntax ChildNameForKeyPath.swift
[529/535] Compiling SwiftSyntax Keyword.swift
[530/535] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[531/535] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[532/535] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[533/535] Compiling SwiftSyntax SyntaxBaseNodes.swift
[534/594] Compiling SwiftDiagnostics Message.swift
[535/595] Compiling SwiftBasicFormat Syntax+Extensions.swift
[536/595] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[537/595] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[538/595] Emitting module SwiftDiagnostics
[539/595] Compiling SwiftDiagnostics Note.swift
[540/595] Compiling SwiftBasicFormat InferIndentation.swift
[541/595] Compiling SwiftBasicFormat Indenter.swift
[542/595] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[543/595] Compiling SwiftDiagnostics FixIt.swift
[544/595] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[545/595] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[546/595] Compiling SwiftDiagnostics Convenience.swift
[547/595] Compiling SwiftDiagnostics Diagnostic.swift
[548/595] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[549/595] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[550/595] Compiling SwiftBasicFormat BasicFormat.swift
[551/595] Emitting module SwiftBasicFormat
[552/595] Compiling SwiftParser StringLiterals.swift
[553/595] Compiling SwiftParser SwiftParserCompatibility.swift
[554/595] Compiling SwiftParser SwiftVersion.swift
[555/595] Compiling SwiftParser SyntaxUtils.swift
[556/599] Compiling SwiftParser TokenConsumer.swift
[557/599] Compiling SwiftParser TokenPrecedence.swift
[558/599] Compiling SwiftParser TokenSpec.swift
[559/599] Compiling SwiftParser TokenSpecSet.swift
[560/599] Compiling SwiftParser TopLevel.swift
[561/599] Compiling SwiftParser TriviaParser.swift
[562/599] Compiling SwiftParser Types.swift
[563/599] Compiling SwiftParser ExperimentalFeatures.swift
[564/599] Compiling SwiftParser UnicodeScalarExtensions.swift
[565/599] Compiling SwiftParser Lookahead.swift
[566/599] Compiling SwiftParser LoopProgressCondition.swift
[567/599] Compiling SwiftParser Modifiers.swift
[568/599] Compiling SwiftParser Names.swift
[569/599] Compiling SwiftParser Nominals.swift
[570/599] Compiling SwiftParser Parameters.swift
[571/599] Compiling SwiftParser ParseSourceFile.swift
[572/599] Compiling SwiftParser Parser.swift
[573/599] Compiling SwiftParser Patterns.swift
[574/599] Compiling SwiftParser Recovery.swift
[575/599] Compiling SwiftParser Specifiers.swift
[576/599] Compiling SwiftParser Statements.swift
[577/599] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[578/599] Emitting module SwiftParser
[579/599] Compiling SwiftParser Cursor.swift
[580/599] Compiling SwiftParser Lexeme.swift
[581/599] Compiling SwiftParser LexemeSequence.swift
[582/599] Compiling SwiftParser Lexer.swift
[583/599] Compiling SwiftParser RegexLiteralLexer.swift
[584/599] Compiling SwiftParser Directives.swift
[585/599] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[586/599] Compiling SwiftParser Expressions.swift
[587/599] Compiling SwiftParser IncrementalParseTransition.swift
[588/599] Compiling SwiftParser IsValidIdentifier.swift
[589/599] Compiling SwiftParser Attributes.swift
[590/599] Compiling SwiftParser Availability.swift
[591/599] Compiling SwiftParser CharacterInfo.swift
[592/599] Compiling SwiftParser CollectionNodes+Parsable.swift
[593/599] Compiling SwiftParser Declarations.swift
[594/599] Compiling SwiftParser IsLexerClassified.swift
[595/599] Compiling SwiftParser LayoutNodes+Parsable.swift
[596/599] Compiling SwiftParser Parser+TokenSpecSet.swift
[597/599] Compiling SwiftParser TokenSpecStaticMembers.swift
[598/622] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[599/623] Compiling SwiftOperators OperatorTable.swift
[600/623] Compiling SwiftOperators PrecedenceGraph.swift
[601/623] Compiling SwiftOperators PrecedenceGroup.swift
[602/624] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[603/624] Compiling SwiftOperators OperatorTable+Semantics.swift
[604/624] Compiling SwiftOperators OperatorTable+Defaults.swift
[605/624] Compiling SwiftOperators OperatorError.swift
[606/624] Compiling SwiftOperators OperatorError+Diagnostics.swift
[607/624] Compiling SwiftOperators Operator.swift
[608/624] Emitting module SwiftOperators
[609/624] Compiling SwiftOperators OperatorTable+Folding.swift
[610/624] Compiling SwiftOperators SyntaxSynthesis.swift
[611/624] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[612/624] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[613/624] Compiling SwiftParserDiagnostics Utils.swift
[614/624] Compiling SwiftParserDiagnostics PresenceUtils.swift
[615/624] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[616/624] Emitting module SwiftParserDiagnostics
[617/624] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[618/624] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[619/624] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[620/624] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[621/624] Compiling SwiftParserDiagnostics MissingNodesError.swift
[622/624] Compiling SwiftParserDiagnostics MissingTokenError.swift
[623/639] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[624/639] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[625/640] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[626/640] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[627/640] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[628/640] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[629/640] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[630/640] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[631/640] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[632/640] Compiling SwiftSyntaxBuilder Indenter.swift
[633/640] Compiling SwiftSyntaxBuilder ListBuilder.swift
[634/640] Emitting module SwiftSyntaxBuilder
[635/640] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[636/640] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[637/640] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[638/640] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[639/658] Compiling SwiftSyntaxMacros PreambleMacro.swift
[640/659] Compiling SwiftSyntaxMacros Macro.swift
[641/659] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[642/659] Compiling SwiftSyntaxMacros MemberMacro.swift
[643/659] Compiling SwiftSyntaxMacros PeerMacro.swift
[644/659] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[645/659] Compiling SwiftSyntaxMacros Macro+Format.swift
[646/659] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[647/659] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[648/659] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[649/659] Compiling SwiftSyntaxMacros AccessorMacro.swift
[650/659] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[651/659] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[652/659] Compiling SwiftSyntaxMacros AttachedMacro.swift
[653/659] Compiling SwiftSyntaxMacros BodyMacro.swift
[654/659] Emitting module SwiftSyntaxMacros
[655/659] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[656/659] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[657/659] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[658/669] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[659/669] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[660/669] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[661/669] Emitting module SwiftSyntaxMacroExpansion
[662/669] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[663/669] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[664/669] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[665/669] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[666/669] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[667/669] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[668/681] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[669/681] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[670/681] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[671/682] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[672/682] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[673/682] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[674/682] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[675/682] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[676/682] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[677/682] Emitting module SwiftCompilerPluginMessageHandling
[678/682] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[679/682] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[680/682] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[681/684] Emitting module SwiftCompilerPlugin
[682/684] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[683/694] Compiling AIMacrosPlugin StoredProperty.swift
[684/694] Compiling AIMacrosPlugin JSONSchemaBuilder.swift
[685/694] Compiling AIMacrosPlugin NameSanitizer.swift
[686/694] Compiling AIMacrosPlugin SchemaMacro.swift
[687/694] Compiling AIMacrosPlugin Plugin.swift
[688/694] Compiling AIMacrosPlugin Diagnostics.swift
[689/694] Compiling AIMacrosPlugin ToolMacro.swift
[690/694] Emitting module AIMacrosPlugin
[691/694] Compiling AIMacrosPlugin SchemaPropertyMacro.swift
[692/694] Compiling AIMacrosPlugin TypeMapping.swift
[692/694] Write Objects.LinkFileList
[693/694] Linking AIMacrosPlugin-tool
[695/702] Emitting module AIMacros
[696/702] Compiling AIMacros Exports.swift
[697/702] Compiling AIMacros Tool.swift
[699/702] Compiling AIMacros Schema.swift
[701/702] Compiling AIMacros Exports.swift
[702/702] Emitting module AIMacros
Build complete! (42.34s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.0",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "swift-ai",
  "name" : "swift-ai",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "AI",
      "targets" : [
        "AI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Anthropic",
      "targets" : [
        "Anthropic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Gemini",
      "targets" : [
        "Gemini"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Mistral",
      "targets" : [
        "Mistral"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Ollama",
      "targets" : [
        "Ollama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Cohere",
      "targets" : [
        "Cohere"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Voyage",
      "targets" : [
        "Voyage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Jina",
      "targets" : [
        "Jina"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppleIntelligence",
      "targets" : [
        "AppleIntelligence"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AITesting",
      "targets" : [
        "AITesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Agent",
      "targets" : [
        "Agent"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Conversation",
      "targets" : [
        "Conversation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "VectorStore",
      "targets" : [
        "VectorStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIMacros",
      "targets" : [
        "AIMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIMacrosPlugin",
      "targets" : [
        "AIMacrosPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "VoyageTests",
      "module_type" : "SwiftTarget",
      "name" : "VoyageTests",
      "path" : "Tests/VoyageTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "VoyageTests.swift"
      ],
      "target_dependencies" : [
        "Voyage",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Voyage",
      "module_type" : "SwiftTarget",
      "name" : "Voyage",
      "path" : "Sources/Voyage",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Voyage"
      ],
      "sources" : [
        "Exports.swift",
        "Voyage+Embedding.swift",
        "Voyage+Error.swift",
        "Voyage+Model.swift",
        "Voyage+Options.swift",
        "Voyage+Request.swift",
        "Voyage+Rerank.swift",
        "Voyage+Unsupported.swift",
        "Voyage.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "VectorStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "VectorStoreTests",
      "path" : "Tests/VectorStoreTests",
      "sources" : [
        "DefaultIndexerTests.swift",
        "DefaultRetrieverTests.swift",
        "InMemoryVectorStoreTests.swift",
        "RecursiveTextChunkerTests.swift",
        "RerankingRetrieverTests.swift"
      ],
      "target_dependencies" : [
        "VectorStore",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VectorStore",
      "module_type" : "SwiftTarget",
      "name" : "VectorStore",
      "path" : "Sources/VectorStore",
      "product_memberships" : [
        "VectorStore"
      ],
      "sources" : [
        "Chunk.swift",
        "Chunker.swift",
        "Document.swift",
        "Exports.swift",
        "Indexer.swift",
        "RerankingRetriever.swift",
        "Retriever.swift",
        "VectorMatch.swift",
        "VectorRecord.swift",
        "VectorStore.swift",
        "VectorStoreError.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAITests",
      "path" : "Tests/OpenAITests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "OpenAITests.swift"
      ],
      "target_dependencies" : [
        "OpenAI",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "Exports.swift",
        "OpenAI+ChatRequest.swift",
        "OpenAI+ChatResponse.swift",
        "OpenAI+Embedding.swift",
        "OpenAI+EmbeddingModel.swift",
        "OpenAI+Error.swift",
        "OpenAI+ImageGeneration.swift",
        "OpenAI+ImageGenerationModel.swift",
        "OpenAI+Model.swift",
        "OpenAI+Options.swift",
        "OpenAI+TextGenerationModel.swift",
        "OpenAI.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OllamaTests",
      "module_type" : "SwiftTarget",
      "name" : "OllamaTests",
      "path" : "Tests/OllamaTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "OllamaTests.swift"
      ],
      "target_dependencies" : [
        "Ollama",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ollama",
      "module_type" : "SwiftTarget",
      "name" : "Ollama",
      "path" : "Sources/Ollama",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Ollama"
      ],
      "sources" : [
        "Exports.swift",
        "Ollama+ChatRequest.swift",
        "Ollama+ChatResponse.swift",
        "Ollama+Embedding.swift",
        "Ollama+EmbeddingModel.swift",
        "Ollama+Error.swift",
        "Ollama+LanguageModel.swift",
        "Ollama+Model.swift",
        "Ollama+Options.swift",
        "Ollama+Unsupported.swift",
        "Ollama.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MistralTests",
      "module_type" : "SwiftTarget",
      "name" : "MistralTests",
      "path" : "Tests/MistralTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "MistralTests.swift"
      ],
      "target_dependencies" : [
        "Mistral",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mistral",
      "module_type" : "SwiftTarget",
      "name" : "Mistral",
      "path" : "Sources/Mistral",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Mistral"
      ],
      "sources" : [
        "Exports.swift",
        "Mistral+ChatRequest.swift",
        "Mistral+ChatResponse.swift",
        "Mistral+Embedding.swift",
        "Mistral+EmbeddingModel.swift",
        "Mistral+Error.swift",
        "Mistral+LanguageModel.swift",
        "Mistral+Model.swift",
        "Mistral+Options.swift",
        "Mistral+Unsupported.swift",
        "Mistral.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JinaTests",
      "module_type" : "SwiftTarget",
      "name" : "JinaTests",
      "path" : "Tests/JinaTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "JinaTests.swift"
      ],
      "target_dependencies" : [
        "Jina",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Jina",
      "module_type" : "SwiftTarget",
      "name" : "Jina",
      "path" : "Sources/Jina",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Jina"
      ],
      "sources" : [
        "Exports.swift",
        "Jina+Embedding.swift",
        "Jina+Error.swift",
        "Jina+Model.swift",
        "Jina+Options.swift",
        "Jina+Rerank.swift",
        "Jina+Unsupported.swift",
        "Jina.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeminiTests",
      "module_type" : "SwiftTarget",
      "name" : "GeminiTests",
      "path" : "Tests/GeminiTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "GeminiTests.swift"
      ],
      "target_dependencies" : [
        "Gemini",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gemini",
      "module_type" : "SwiftTarget",
      "name" : "Gemini",
      "path" : "Sources/Gemini",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Gemini"
      ],
      "sources" : [
        "Exports.swift",
        "Gemini+Embedding.swift",
        "Gemini+EmbeddingModel.swift",
        "Gemini+Error.swift",
        "Gemini+GenerateContentRequest.swift",
        "Gemini+GenerateContentResponse.swift",
        "Gemini+ImageGenerationModel.swift",
        "Gemini+LanguageModel.swift",
        "Gemini+Model.swift",
        "Gemini+Options.swift",
        "Gemini.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConversationTests",
      "module_type" : "SwiftTarget",
      "name" : "ConversationTests",
      "path" : "Tests/ConversationTests",
      "sources" : [
        "ConversationTests.swift",
        "MemoryPolicyTests.swift",
        "MessageStoreTests.swift"
      ],
      "target_dependencies" : [
        "Conversation",
        "AI",
        "Agent",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Conversation",
      "module_type" : "SwiftTarget",
      "name" : "Conversation",
      "path" : "Sources/Conversation",
      "product_memberships" : [
        "Conversation"
      ],
      "sources" : [
        "Conversation.swift",
        "ConversationSession.swift",
        "Exports.swift",
        "FileMessageStore.swift",
        "HeuristicTokenCounter.swift",
        "InMemoryMessageStore.swift",
        "MemoryPolicy.swift",
        "MessageCodableBridge.swift",
        "MessageStore.swift",
        "RecentWindowPolicy.swift",
        "RetrievalPolicy.swift",
        "RollingSummaryPolicy.swift",
        "StaticSystemMemoryPolicy.swift",
        "StoredMessage.swift",
        "TokenCounter.swift"
      ],
      "target_dependencies" : [
        "AI",
        "Agent"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CohereTests",
      "module_type" : "SwiftTarget",
      "name" : "CohereTests",
      "path" : "Tests/CohereTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "CohereTests.swift"
      ],
      "target_dependencies" : [
        "Cohere",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cohere",
      "module_type" : "SwiftTarget",
      "name" : "Cohere",
      "path" : "Sources/Cohere",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Cohere"
      ],
      "sources" : [
        "Cohere+ChatRequest.swift",
        "Cohere+ChatResponse.swift",
        "Cohere+Embedding.swift",
        "Cohere+EmbeddingModel.swift",
        "Cohere+Error.swift",
        "Cohere+LanguageModel.swift",
        "Cohere+Model.swift",
        "Cohere+Options.swift",
        "Cohere+Rerank.swift",
        "Cohere+Unsupported.swift",
        "Cohere.swift",
        "Exports.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppleIntelligenceTests",
      "module_type" : "SwiftTarget",
      "name" : "AppleIntelligenceTests",
      "path" : "Tests/AppleIntelligenceTests",
      "sources" : [
        "AppleIntelligenceTests.swift"
      ],
      "target_dependencies" : [
        "AppleIntelligence",
        "AI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppleIntelligence",
      "module_type" : "SwiftTarget",
      "name" : "AppleIntelligence",
      "path" : "Sources/AppleIntelligence",
      "product_memberships" : [
        "AppleIntelligence"
      ],
      "sources" : [
        "AppleIntelligence+ImageGeneration.swift",
        "AppleIntelligence+ImageInput.swift",
        "AppleIntelligence+Inspection.swift",
        "AppleIntelligence+LanguageModel.swift",
        "AppleIntelligence+Options.swift",
        "AppleIntelligence+StructuredOutput.swift",
        "AppleIntelligence+ToolCalling.swift",
        "AppleIntelligence+Unsupported.swift",
        "AppleIntelligence+iOS27.swift",
        "AppleIntelligence.swift",
        "Exports.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AnthropicTests",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicTests",
      "path" : "Tests/AnthropicTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "AnthropicTests.swift"
      ],
      "target_dependencies" : [
        "Anthropic",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Anthropic",
      "module_type" : "SwiftTarget",
      "name" : "Anthropic",
      "path" : "Sources/Anthropic",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "Anthropic"
      ],
      "sources" : [
        "Anthropic+Conversions.swift",
        "Anthropic+Error.swift",
        "Anthropic+LanguageModel.swift",
        "Anthropic+MessageRequest.swift",
        "Anthropic+MessageResponse.swift",
        "Anthropic+Model.swift",
        "Anthropic+Options.swift",
        "Anthropic+Unsupported.swift",
        "Anthropic.swift",
        "Exports.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentTests",
      "path" : "Tests/AgentTests",
      "sources" : [
        "AgentTests.swift",
        "ContextSourceTests.swift",
        "RetrievalContextSourceTests.swift",
        "RetrievalToolTests.swift"
      ],
      "target_dependencies" : [
        "Agent",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Agent",
      "module_type" : "SwiftTarget",
      "name" : "Agent",
      "path" : "Sources/Agent",
      "product_memberships" : [
        "Agent",
        "Conversation",
        "AIMacros"
      ],
      "sources" : [
        "AgentConfiguration.swift",
        "AgentError.swift",
        "AgentEvent.swift",
        "AgentObserver.swift",
        "AgentResult.swift",
        "AgentRunner+Stream.swift",
        "AgentRunner+Typed.swift",
        "AgentRunner.swift",
        "AnyTool.swift",
        "CallbackTool.swift",
        "ContextSource.swift",
        "Exports.swift",
        "RetrievalContextSource.swift",
        "RetrievalTool.swift",
        "RetryPolicy.swift",
        "Tool.swift",
        "ToolBox.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AITests",
      "module_type" : "SwiftTarget",
      "name" : "AITests",
      "path" : "Tests/AITests",
      "sources" : [
        "AITests.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AITestingTests",
      "module_type" : "SwiftTarget",
      "name" : "AITestingTests",
      "path" : "Tests/AITestingTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "AITestingTests.swift",
        "RerankDefaultTests.swift"
      ],
      "target_dependencies" : [
        "AITesting",
        "AI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AITesting",
      "module_type" : "SwiftTarget",
      "name" : "AITesting",
      "path" : "Sources/AITesting",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "AITesting"
      ],
      "sources" : [
        "CapturingHTTPTransport.swift",
        "Exports.swift",
        "MockEmbeddingModel.swift",
        "MockHTTPTransport.swift",
        "MockImageGenerationModel.swift",
        "MockLanguageModel.swift",
        "MockModelProvider.swift",
        "MockRerankModel.swift",
        "RecordedHTTPExchange.swift",
        "RecordingHTTPTransport.swift",
        "ReplayHTTPTransport.swift",
        "RequestAssertions.swift",
        "StreamFixture.swift",
        "ToolInteractionAssertions.swift"
      ],
      "target_dependencies" : [
        "AI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "AIMacrosTests",
      "path" : "Tests/AIMacrosTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "SchemaIntegrationTests.swift",
        "SchemaMacroExpansionTests.swift",
        "ToolIntegrationTests.swift",
        "ToolMacroExpansionTests.swift"
      ],
      "target_dependencies" : [
        "AIMacros",
        "AIMacrosPlugin",
        "Agent",
        "AI",
        "AITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIMacrosPlugin",
      "module_type" : "SwiftTarget",
      "name" : "AIMacrosPlugin",
      "path" : "Sources/AIMacrosPlugin",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin",
        "SwiftDiagnostics"
      ],
      "product_memberships" : [
        "AIMacros",
        "AIMacrosPlugin"
      ],
      "sources" : [
        "Plugin.swift",
        "SchemaMacro.swift",
        "SchemaPropertyMacro.swift",
        "Support/Diagnostics.swift",
        "Support/JSONSchemaBuilder.swift",
        "Support/NameSanitizer.swift",
        "Support/StoredProperty.swift",
        "Support/TypeMapping.swift",
        "ToolMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "AIMacros",
      "module_type" : "SwiftTarget",
      "name" : "AIMacros",
      "path" : "Sources/AIMacros",
      "product_memberships" : [
        "AIMacros"
      ],
      "sources" : [
        "Exports.swift",
        "Schema.swift",
        "Tool.swift"
      ],
      "target_dependencies" : [
        "AI",
        "Agent",
        "AIMacrosPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AI",
      "module_type" : "SwiftTarget",
      "name" : "AI",
      "path" : "Sources/AI",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "AI",
        "OpenAI",
        "Anthropic",
        "Gemini",
        "Mistral",
        "Ollama",
        "Cohere",
        "Voyage",
        "Jina",
        "AppleIntelligence",
        "AITesting",
        "Agent",
        "Conversation",
        "VectorStore",
        "AIMacros"
      ],
      "sources" : [
        "AIError.swift",
        "AIModel.swift",
        "AITransport+URLSession.swift",
        "AITransport.swift",
        "Embeddings.swift",
        "GenerationOptions.swift",
        "ImageGeneration.swift",
        "JSONValue.swift",
        "LanguageModel+Typed.swift",
        "Message.swift",
        "ModelCapabilities.swift",
        "ModelOutput.swift",
        "Protocols.swift",
        "Reranking.swift",
        "StreamEvent+Convenience.swift",
        "StructuredDecodingError.swift",
        "Tool.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/dean151/swift-ai/main
Repository:               Dean151/swift-ai
Swift version used:       6.3
        .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"),
Target:                   AI
Extracting symbol information for 'AI'...
Finished extracting symbol information for 'AI'. (28.45s)
Building documentation for 'AI'...
Finished building documentation for 'AI' (0.70s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version--6988338F2F200930.txt
[6/54] Compiling SymbolKit Identifier.swift
[7/54] Compiling SymbolKit KindIdentifier.swift
[8/54] Compiling SymbolKit Location.swift
[9/54] Compiling SymbolKit Mutability.swift
[10/58] Compiling SymbolKit Mixin+Equals.swift
[11/58] Compiling SymbolKit Mixin+Hash.swift
[12/58] Compiling SymbolKit Mixin.swift
[13/58] Compiling SymbolKit LineList.swift
[14/58] Compiling SymbolKit Position.swift
[15/58] Emitting module SymbolKit
[16/58] Compiling SymbolKit SourceRange.swift
[17/58] Compiling SymbolKit Metadata.swift
[18/58] Compiling SymbolKit Module.swift
[19/58] Compiling SymbolKit OperatingSystem.swift
[20/58] Compiling SymbolKit Platform.swift
[21/58] Compiling SymbolKit Names.swift
[22/58] Compiling SymbolKit SPI.swift
[23/58] Compiling SymbolKit Snippet.swift
[24/58] Compiling SymbolKit Extension.swift
[25/58] Compiling SymbolKit DeclarationFragments.swift
[26/58] Compiling SymbolKit Fragment.swift
[27/58] Compiling SymbolKit FragmentKind.swift
[28/58] Compiling SymbolKit FunctionParameter.swift
[29/58] Compiling SymbolKit FunctionSignature.swift
[30/58] Compiling SymbolKit GenericConstraint.swift
[31/58] Compiling SymbolKit GenericParameter.swift
[32/58] Compiling SymbolKit Generics.swift
[33/58] Compiling SymbolKit Namespace.swift
[34/58] Compiling SymbolKit SemanticVersion.swift
[35/58] Compiling SymbolKit AccessControl.swift
[36/58] Compiling SymbolKit Availability.swift
[37/58] Compiling SymbolKit AvailabilityItem.swift
[38/58] Compiling SymbolKit Domain.swift
[39/58] Compiling SymbolKit Relationship.swift
[40/58] Compiling SymbolKit RelationshipKind.swift
[41/58] Compiling SymbolKit SourceOrigin.swift
[42/58] Compiling SymbolKit GenericConstraints.swift
[43/58] Compiling SymbolKit Swift.swift
[44/58] Compiling SymbolKit Symbol.swift
[45/58] Compiling SymbolKit SymbolKind.swift
[46/58] Compiling SymbolKit SymbolGraph.swift
[47/58] Compiling SymbolKit GraphCollector.swift
[48/58] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/58] Compiling SymbolKit UnifiedSymbol.swift
[50/58] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/58] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/58] Compiling Snippets Snippet.swift
[53/58] Emitting module Snippets
[54/58] Compiling Snippets SnippetLanguage.swift
[55/58] Compiling Snippets SnippetParser.swift
[56/62] Compiling snippet_extract URL+Status.swift
[57/62] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/62] Emitting module snippet_extract
[59/62] Compiling snippet_extract SnippetBuildCommand.swift
[59/62] Write Objects.LinkFileList
[60/62] Linking snippet-extract-tool
[61/62] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.71s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/18] Compiling AI StructuredDecodingError.swift
[3/19] Compiling AI StreamEvent+Convenience.swift
[4/19] Compiling AI Tool.swift
[5/19] Compiling AI Protocols.swift
[6/19] Compiling AI Reranking.swift
[7/19] Compiling AI LanguageModel+Typed.swift
[8/19] Compiling AI Message.swift
[9/19] Compiling AI ImageGeneration.swift
[10/19] Compiling AI JSONValue.swift
[11/19] Compiling AI Embeddings.swift
[12/19] Compiling AI GenerationOptions.swift
[13/19] Compiling AI AITransport+URLSession.swift
[14/19] Compiling AI AITransport.swift
[15/19] Compiling AI AIError.swift
[16/19] Compiling AI AIModel.swift
[17/19] Emitting module AI
[18/19] Compiling AI ModelCapabilities.swift
[19/19] Compiling AI ModelOutput.swift
Build of target: 'AI' complete! (1.28s)
Target:                   OpenAI
Extracting symbol information for 'OpenAI'...
Finished extracting symbol information for 'OpenAI'. (1.40s)
Building documentation for 'OpenAI'...
warning: Can't resolve 'AI'
 --> OpenAI.md:3:78-3:95
1 | # ``OpenAI``
2 |
3 + OpenAI chat completion, embeddings, and image generation behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
  --> ../OpenAI+Options.swift:79:46-79:62
77 | }
78 |
79 + /// OpenAI-specific options attached to an ``/AI/ImageContent`` part.
80 | public struct OpenAIImageContentOptions: ProviderSpecificContent {
81 |     /// The detail hint applied to the image.
warning: Can't resolve 'AI'
   --> ../OpenAI+Options.swift:100:46-100:62
98  | }
99  |
100 + /// OpenAI-specific options attached to an ``/AI/AudioContent`` part.
101 | public struct OpenAIAudioContentOptions: ProviderSpecificContent {
102 |     /// An explicit audio format, overriding the MIME-derived value.
warning: Can't resolve 'AI'
  --> ../OpenAI.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` that talks to the OpenAI REST API.
33 | ///
34 | /// `OpenAI` exposes language models (chat completions), embedding models, and
warning: Can't resolve 'AI'
  --> ../OpenAI.swift:60:21-60:38
58 |     }
59 |
60 +     /// Returns a ``/AI/LanguageModel`` that issues OpenAI chat completion
61 |     /// requests against the supplied model identifier.
62 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../OpenAI.swift:66:22-66:40
64 |     }
65 |
66 +     /// Returns an ``/AI/EmbeddingModel`` that issues OpenAI embedding requests
67 |     /// against the supplied model identifier.
68 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../OpenAI.swift:72:22-72:46
70 |     }
71 |
72 +     /// Returns an ``/AI/ImageGenerationModel`` that issues OpenAI image
73 |     /// generation requests against the supplied model identifier.
74 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
Finished building documentation for 'OpenAI' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.64s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/13] Compiling OpenAI OpenAI+Options.swift
[3/14] Compiling OpenAI OpenAI+TextGenerationModel.swift
[4/14] Compiling OpenAI OpenAI+Model.swift
[5/14] Compiling OpenAI OpenAI+ImageGeneration.swift
[6/14] Compiling OpenAI OpenAI+ImageGenerationModel.swift
[7/14] Compiling OpenAI OpenAI+EmbeddingModel.swift
[8/14] Compiling OpenAI OpenAI+Error.swift
[9/14] Compiling OpenAI OpenAI+ChatResponse.swift
[10/14] Compiling OpenAI OpenAI+Embedding.swift
[11/14] Emitting module OpenAI
[12/14] Compiling OpenAI Exports.swift
[13/14] Compiling OpenAI OpenAI+ChatRequest.swift
[14/14] Compiling OpenAI OpenAI.swift
Build of target: 'OpenAI' complete! (1.29s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Anthropic
Extracting symbol information for 'Anthropic'...
Finished extracting symbol information for 'Anthropic'. (1.26s)
Building documentation for 'Anthropic'...
warning: Can't resolve 'AI'
  --> ../Anthropic+Options.swift:38:46-38:62
36 | }
37 |
38 + /// Anthropic-specific options attached to ``/AI/ImageContent`` or
39 | /// ``/AI/FileContent`` parts.
40 | public struct AnthropicContentOptions: ProviderSpecificContent {
warning: Can't resolve 'AI'
  --> ../Anthropic+Options.swift:39:7-39:22
37 |
38 | /// Anthropic-specific options attached to ``/AI/ImageContent`` or
39 + /// ``/AI/FileContent`` parts.
40 | public struct AnthropicContentOptions: ProviderSpecificContent {
41 |     /// The cache control hint to apply to the content block.
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` that talks to Anthropic's Messages API.
33 | ///
34 | /// `Anthropic` exposes language models (Claude family). Embedding and image
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:36:27-36:61
34 | /// `Anthropic` exposes language models (Claude family). Embedding and image
35 | /// generation are not offered by the Messages API; the matching models in
36 + /// this provider throw ``/AI/AIError/unsupportedFeature(_:)`` when invoked.
37 | public struct Anthropic: ModelProvider, Sendable {
38 |     private let configuration: AnthropicConfiguration
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:69:21-69:38
67 |     }
68 |
69 +     /// Returns a ``/AI/LanguageModel`` that issues Messages API requests against
70 |     /// the supplied model identifier.
71 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:75:22-75:40
73 |     }
74 |
75 +     /// Returns an ``/AI/EmbeddingModel`` that always throws
76 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Anthropic does not offer
77 |     /// embeddings via the Messages API.
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:76:11-76:45
74 |
75 |     /// Returns an ``/AI/EmbeddingModel`` that always throws
76 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Anthropic does not offer
77 |     /// embeddings via the Messages API.
78 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:82:22-82:46
80 |     }
81 |
82 +     /// Returns an ``/AI/ImageGenerationModel`` that always throws
83 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Anthropic does not offer image
84 |     /// generation via the Messages API.
warning: Can't resolve 'AI'
  --> ../Anthropic.swift:83:11-83:45
81 |
82 |     /// Returns an ``/AI/ImageGenerationModel`` that always throws
83 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Anthropic does not offer image
84 |     /// generation via the Messages API.
85 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
warning: Can't resolve 'AI'
 --> Anthropic.md:3:40-3:57
1 | # ``Anthropic``
2 |
3 + Claude family chat behind the shared ``/AI/ModelProvider`` protocol, with first-class prompt caching helpers.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
  --> Anthropic.md:42:8-42:24
40 | ### Vision and documents
41 |
42 + Both ``/AI/ImageContent`` and ``/AI/FileContent`` expose Anthropic-flavoured factories that attach an `AnthropicContentOptions` payload — see the Prompt Caching guide in the `AI` module for how to combine them with `AnthropicCacheControl.` to cut latency on repeated prompts.
43 |
44 | ### Structured outputs
warning: Can't resolve 'AI'
  --> Anthropic.md:42:33-42:48
40 | ### Vision and documents
41 |
42 + Both ``/AI/ImageContent`` and ``/AI/FileContent`` expose Anthropic-flavoured factories that attach an `AnthropicContentOptions` payload — see the Prompt Caching guide in the `AI` module for how to combine them with `AnthropicCacheControl.` to cut latency on repeated prompts.
43 |
44 | ### Structured outputs
warning: Can't resolve 'AI'
  --> Anthropic.md:46:80-46:116
44 | ### Structured outputs
45 |
46 + Anthropic does not expose a `response_format` field. The adapter synthesises ``/AI/OutputExpectation/jsonSchema(_:)`` via tool-use forcing under the hood, so the typed APIs (``/AI/LanguageModel/generate(_:options:as:)`` etc.) work exactly like other providers.
47 |
48 | ### Embeddings and image generation
warning: Can't resolve 'AI'
  --> Anthropic.md:46:177-46:218
44 | ### Structured outputs
45 |
46 + Anthropic does not expose a `response_format` field. The adapter synthesises ``/AI/OutputExpectation/jsonSchema(_:)`` via tool-use forcing under the hood, so the typed APIs (``/AI/LanguageModel/generate(_:options:as:)`` etc.) work exactly like other providers.
47 |
48 | ### Embeddings and image generation
warning: Can't resolve 'AI'
  --> Anthropic.md:50:100-50:134
48 | ### Embeddings and image generation
49 |
50 + Anthropic does not expose embeddings or image generation. The provider returns models that throw ``/AI/AIError/unsupportedFeature(_:)`` for those capabilities.
51 |
52 | ## Topics
Finished building documentation for 'Anthropic' (0.07s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.68s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/11] Compiling Anthropic Anthropic.swift
[3/11] Compiling Anthropic Anthropic+Unsupported.swift
[4/12] Compiling Anthropic Anthropic+Model.swift
[5/12] Compiling Anthropic Anthropic+Options.swift
[6/12] Compiling Anthropic Exports.swift
[7/12] Compiling Anthropic Anthropic+MessageResponse.swift
[8/12] Compiling Anthropic Anthropic+MessageRequest.swift
[9/12] Compiling Anthropic Anthropic+Error.swift
[10/12] Compiling Anthropic Anthropic+Conversions.swift
[11/12] Emitting module Anthropic
[12/12] Compiling Anthropic Anthropic+LanguageModel.swift
Build of target: 'Anthropic' complete! (1.16s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Gemini
Extracting symbol information for 'Gemini'...
Finished extracting symbol information for 'Gemini'. (1.30s)
Building documentation for 'Gemini'...
warning: Can't resolve 'AI'
 --> Gemini.md:3:92-3:109
1 | # ``Gemini``
2 |
3 + Google Gemini chat, task-typed embeddings, and Imagen image generation behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
   --> ../Gemini+Options.swift:100:43-100:59
98  | }
99  |
100 + /// Gemini-specific options attached to ``/AI/ImageContent``, ``/AI/AudioContent``,
101 | /// or ``/AI/FileContent`` parts.
102 | public struct GeminiContentOptions: ProviderSpecificContent {
warning: Can't resolve 'AI'
   --> ../Gemini+Options.swift:100:65-100:81
98  | }
99  |
100 + /// Gemini-specific options attached to ``/AI/ImageContent``, ``/AI/AudioContent``,
101 | /// or ``/AI/FileContent`` parts.
102 | public struct GeminiContentOptions: ProviderSpecificContent {
warning: Can't resolve 'AI'
   --> ../Gemini+Options.swift:101:10-101:25
99  |
100 | /// Gemini-specific options attached to ``/AI/ImageContent``, ``/AI/AudioContent``,
101 + /// or ``/AI/FileContent`` parts.
102 | public struct GeminiContentOptions: ProviderSpecificContent {
103 |     /// An explicit MIME type that overrides the value derived from the
warning: Can't resolve 'AI'
   --> ../Gemini+Options.swift:234:57-234:77
232 |
233 | public extension EmbeddingOptions {
234 +     /// Wraps Gemini embedding options into a generic ``/AI/EmbeddingOptions``
235 |     /// value.
236 |     init(
warning: Can't resolve 'AI'
  --> ../Gemini.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` that talks to Google's Generative Language API
33 | /// (Gemini).
34 | ///
warning: Can't resolve 'AI'
  --> ../Gemini.swift:59:21-59:38
57 |     }
58 |
59 +     /// Returns a ``/AI/LanguageModel`` that issues `generateContent` requests
60 |     /// against the supplied model identifier.
61 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Gemini.swift:65:22-65:40
63 |     }
64 |
65 +     /// Returns an ``/AI/EmbeddingModel`` that issues `embedContent` requests
66 |     /// against the supplied model identifier.
67 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Gemini.swift:71:22-71:46
69 |     }
70 |
71 +     /// Returns an ``/AI/ImageGenerationModel`` that issues `generateContent`
72 |     /// against an Imagen model identifier.
73 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
Finished building documentation for 'Gemini' (0.10s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.62s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/12] Compiling Gemini Gemini+Options.swift
[3/12] Compiling Gemini Gemini+ImageGenerationModel.swift
[4/13] Compiling Gemini Gemini+Model.swift
[5/13] Compiling Gemini Gemini+LanguageModel.swift
[6/13] Compiling Gemini Gemini+GenerateContentResponse.swift
[7/13] Emitting module Gemini
[8/13] Compiling Gemini Gemini+EmbeddingModel.swift
[9/13] Compiling Gemini Gemini+Error.swift
[10/13] Compiling Gemini Exports.swift
[11/13] Compiling Gemini Gemini+Embedding.swift
[12/13] Compiling Gemini Gemini+GenerateContentRequest.swift
[13/13] Compiling Gemini Gemini.swift
Build of target: 'Gemini' complete! (1.20s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Mistral
Extracting symbol information for 'Mistral'...
Finished extracting symbol information for 'Mistral'. (1.22s)
Building documentation for 'Mistral'...
warning: Can't resolve 'AI'
 --> Mistral.md:3:87-3:104
1 | # ``Mistral``
2 |
3 + Mistral chat (including the Pixtral vision family) and embeddings behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
 --> Mistral.md:7:185-7:219
5 | ## Overview
6 |
7 + The ``Mistral`` provider talks to Mistral's OpenAI-flavoured Chat Completions and Embeddings endpoints. Image generation is not exposed by Mistral and the corresponding model throws ``/AI/AIError/unsupportedFeature(_:)``.
8 |
9 | ```swift
warning: Can't resolve 'AI'
  --> Mistral.md:49:123-49:141
47 | ### Tool calling
48 |
49 + Mistral supports OpenAI-style tool calls. See the Tool Calling guide in the `AI` module for a focused walkthrough using ``/AI/ToolDefinition`` and ``/AI/ToolInvocation``.
50 |
51 | ## Topics
warning: Can't resolve 'AI'
  --> Mistral.md:49:150-49:168
47 | ### Tool calling
48 |
49 + Mistral supports OpenAI-style tool calls. See the Tool Calling guide in the `AI` module for a focused walkthrough using ``/AI/ToolDefinition`` and ``/AI/ToolInvocation``.
50 |
51 | ## Topics
warning: Can't resolve 'AI'
  --> ../Mistral+Options.swift:39:58-39:78
37 |
38 | public extension EmbeddingOptions {
39 +     /// Wraps Mistral embedding options into a generic ``/AI/EmbeddingOptions``
40 |     /// value.
41 |     init(
warning: Can't resolve 'AI'
  --> ../Mistral.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` that talks to Mistral's chat completions and
33 | /// embeddings APIs.
34 | ///
warning: Can't resolve 'AI'
  --> ../Mistral.swift:37:7-37:41
35 | /// `Mistral` exposes language models and embedding models. Image generation
36 | /// is not part of the Mistral chat API; the matching model throws
37 + /// ``/AI/AIError/unsupportedFeature(_:)`` when invoked.
38 | public struct Mistral: ModelProvider, Sendable {
39 |     private let configuration: MistralConfiguration
warning: Can't resolve 'AI'
  --> ../Mistral.swift:60:21-60:38
58 |     }
59 |
60 +     /// Returns a ``/AI/LanguageModel`` that issues Mistral chat completion
61 |     /// requests against the supplied model identifier.
62 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Mistral.swift:66:22-66:40
64 |     }
65 |
66 +     /// Returns an ``/AI/EmbeddingModel`` that issues Mistral embedding requests
67 |     /// against the supplied model identifier.
68 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Mistral.swift:72:22-72:46
70 |     }
71 |
72 +     /// Returns an ``/AI/ImageGenerationModel`` that always throws
73 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Mistral does not expose image
74 |     /// generation through the chat and embeddings APIs used by this
warning: Can't resolve 'AI'
  --> ../Mistral.swift:73:11-73:45
71 |
72 |     /// Returns an ``/AI/ImageGenerationModel`` that always throws
73 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Mistral does not expose image
74 |     /// generation through the chat and embeddings APIs used by this
75 |     /// provider.
Finished building documentation for 'Mistral' (0.06s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.62s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/12] Compiling Mistral Mistral+Unsupported.swift
[3/13] Compiling Mistral Mistral+Options.swift
[4/13] Compiling Mistral Mistral+Model.swift
[5/13] Compiling Mistral Mistral.swift
[6/13] Compiling Mistral Mistral+Error.swift
[7/13] Compiling Mistral Mistral+EmbeddingModel.swift
[8/13] Compiling Mistral Mistral+Embedding.swift
[9/13] Compiling Mistral Mistral+LanguageModel.swift
[10/13] Compiling Mistral Mistral+ChatResponse.swift
[11/13] Emitting module Mistral
[12/13] Compiling Mistral Exports.swift
[13/13] Compiling Mistral Mistral+ChatRequest.swift
Build of target: 'Mistral' complete! (1.13s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Ollama
Extracting symbol information for 'Ollama'...
Finished extracting symbol information for 'Ollama'. (1.22s)
Building documentation for 'Ollama'...
warning: Can't resolve 'AI'
 --> Ollama.md:3:92-3:109
1 | # ``Ollama``
2 |
3 + Local and self-hosted open models served by a running Ollama instance, behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
 --> Ollama.md:7:383-7:417
5 | ## Overview
6 |
7 + ``Ollama`` talks to an Ollama server's native API — `/api/chat` for language models and `/api/embed` for embeddings. It is **keyless by default**: a local `ollama serve` needs no credentials, so `apiKey` is optional and the provider points at `http://localhost:11434` unless you say otherwise. Image generation is not part of this API surface and the corresponding model throws ``/AI/AIError/unsupportedFeature(_:)``.
8 |
9 | The initializer keeps the same argument order as every other provider — `apiKey`, `transport`, `baseURL` — with `apiKey` defaulted so the common local case stays a one-liner.
warning: Can't resolve 'AI'
  --> Ollama.md:26:139-26:154
24 | ### Streaming
25 |
26 + Ollama streams newline-delimited JSON rather than server-sent events, but that is handled internally — the public surface is the same ``/AI/StreamEvent`` sequence as every other provider.
27 |
28 | ```swift
warning: Can't resolve 'AI'
  --> Ollama.md:36:136-36:179
34 | ### Vision
35 |
36 + Vision-capable models (for example `llava`) accept inline image bytes. Ollama does not fetch remote URLs, so pass images as data via ``/AI/ImageContent/data(_:mimeType:metadata:)``.
37 |
38 | ```swift
warning: Can't resolve 'AI'
  --> Ollama.md:50:105-50:126
48 | ### Structured outputs
49 |
50 + Ollama's `format` field takes either free-form JSON or a JSON Schema inline, which maps straight onto ``/AI/OutputExpectation``. See the Structured Outputs guide in the `AI` module.
51 |
52 | ```swift
warning: Can't resolve 'AI'
  --> Ollama.md:71:107-71:125
69 | ### Tool calling
70 |
71 + Ollama supports tool calls; their arguments arrive as a JSON object and are surfaced through the shared ``/AI/ToolInvocation``. See the Tool Calling guide in the `AI` module for a focused walkthrough.
72 |
73 | ### Authenticated proxies
warning: Can't resolve 'AI'
  --> ../Ollama.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` that talks to a local (or self-hosted) Ollama server's
33 | /// native API.
34 | ///
warning: Can't resolve 'AI'
  --> ../Ollama.swift:43:29-43:63
41 | ///
42 | /// Image generation is not part of the Ollama API surface used here; the
43 + /// matching model throws ``/AI/AIError/unsupportedFeature(_:)`` when invoked.
44 | public struct Ollama: ModelProvider, Sendable {
45 |     private let configuration: OllamaConfiguration
warning: Can't resolve 'AI'
  --> ../Ollama.swift:68:21-68:38
66 |     }
67 |
68 +     /// Returns a ``/AI/LanguageModel`` that issues Ollama `/api/chat` requests
69 |     /// against the supplied model identifier.
70 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Ollama.swift:74:22-74:40
72 |     }
73 |
74 +     /// Returns an ``/AI/EmbeddingModel`` that issues Ollama `/api/embed` requests
75 |     /// against the supplied model identifier.
76 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Ollama.swift:80:22-80:46
78 |     }
79 |
80 +     /// Returns an ``/AI/ImageGenerationModel`` that always throws
81 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Ollama does not expose image
82 |     /// generation through the chat and embeddings APIs used by this provider.
warning: Can't resolve 'AI'
  --> ../Ollama.swift:81:11-81:45
79 |
80 |     /// Returns an ``/AI/ImageGenerationModel`` that always throws
81 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Ollama does not expose image
82 |     /// generation through the chat and embeddings APIs used by this provider.
83 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
Finished building documentation for 'Ollama' (0.06s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.62s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/12] Compiling Ollama Ollama+Model.swift
[3/12] Compiling Ollama Ollama+Options.swift
[4/12] Compiling Ollama Ollama+Unsupported.swift
[5/13] Compiling Ollama Ollama+Embedding.swift
[6/13] Compiling Ollama Ollama+EmbeddingModel.swift
[7/13] Compiling Ollama Ollama+ChatResponse.swift
[8/13] Compiling Ollama Ollama+Error.swift
[9/13] Compiling Ollama Ollama+LanguageModel.swift
[10/13] Compiling Ollama Ollama.swift
[11/13] Emitting module Ollama
[12/13] Compiling Ollama Exports.swift
[13/13] Compiling Ollama Ollama+ChatRequest.swift
Build of target: 'Ollama' complete! (1.13s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Cohere
Extracting symbol information for 'Cohere'...
Finished extracting symbol information for 'Cohere'. (1.34s)
Building documentation for 'Cohere'...
warning: Can't resolve 'AI'
  --> ../Cohere.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` that talks to Cohere's v2 chat, embeddings, and
33 | /// rerank APIs.
34 | ///
warning: Can't resolve 'AI'
  --> ../Cohere.swift:36:43-36:58
34 | ///
35 | /// Cohere is the first provider in the package to support reranking: its
36 + /// `rerankModel(_:)` returns a working ``/AI/RerankModel`` (the other
37 | /// providers inherit the default that throws ``/AI/AIError/unsupportedFeature(_:)``).
38 | /// Image generation is not exposed by Cohere and the corresponding model
warning: Can't resolve 'AI'
  --> ../Cohere.swift:37:49-37:83
35 | /// Cohere is the first provider in the package to support reranking: its
36 | /// `rerankModel(_:)` returns a working ``/AI/RerankModel`` (the other
37 + /// providers inherit the default that throws ``/AI/AIError/unsupportedFeature(_:)``).
38 | /// Image generation is not exposed by Cohere and the corresponding model
39 | /// throws ``/AI/AIError/unsupportedFeature(_:)``.
warning: Can't resolve 'AI'
  --> ../Cohere.swift:39:14-39:48
37 | /// providers inherit the default that throws ``/AI/AIError/unsupportedFeature(_:)``).
38 | /// Image generation is not exposed by Cohere and the corresponding model
39 + /// throws ``/AI/AIError/unsupportedFeature(_:)``.
40 | public struct Cohere: ModelProvider, Sendable {
41 |     private let configuration: CohereConfiguration
warning: Can't resolve 'AI'
  --> ../Cohere.swift:62:21-62:38
60 |     }
61 |
62 +     /// Returns a ``/AI/LanguageModel`` that issues Cohere `/v2/chat` requests
63 |     /// against the supplied model identifier.
64 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Cohere.swift:68:22-68:40
66 |     }
67 |
68 +     /// Returns an ``/AI/EmbeddingModel`` that issues Cohere `/v2/embed`
69 |     /// requests against the supplied model identifier.
70 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Cohere.swift:74:22-74:46
72 |     }
73 |
74 +     /// Returns an ``/AI/ImageGenerationModel`` that always throws
75 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Cohere does not expose image
76 |     /// generation.
warning: Can't resolve 'AI'
  --> ../Cohere.swift:75:11-75:45
73 |
74 |     /// Returns an ``/AI/ImageGenerationModel`` that always throws
75 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Cohere does not expose image
76 |     /// generation.
77 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
warning: Can't resolve 'AI'
  --> ../Cohere.swift:81:21-81:36
79 |     }
80 |
81 +     /// Returns a ``/AI/RerankModel`` that issues Cohere `/v2/rerank` requests
82 |     /// against the supplied model identifier (for example `rerank-v3.5`).
83 |     public func rerankModel(_ id: AIModel.ID) -> any RerankModel {
warning: Can't resolve 'AI'
 --> Cohere.md:3:81-3:98
1 | # ``Cohere``
2 |
3 + Command chat, task-typed embeddings, and document reranking behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
 --> Cohere.md:7:188-7:203
5 | ## Overview
6 |
7 + ``Cohere`` talks to Cohere's v2 API — `/v2/chat` for language models, `/v2/embed` for embeddings, and `/v2/rerank` for reranking. It is the first provider in the package to implement ``/AI/RerankModel``: `rerankModel(_:)` returns a working model, where other providers inherit the default that throws ``/AI/AIError/unsupportedFeature(_:)``. Image generation is not exposed by Cohere and the corresponding model throws ``/AI/AIError/unsupportedFeature(_:)``.
8 |
9 | ```swift
warning: Can't resolve 'AI'
 --> Cohere.md:7:306-7:340
5 | ## Overview
6 |
7 + ``Cohere`` talks to Cohere's v2 API — `/v2/chat` for language models, `/v2/embed` for embeddings, and `/v2/rerank` for reranking. It is the first provider in the package to implement ``/AI/RerankModel``: `rerankModel(_:)` returns a working model, where other providers inherit the default that throws ``/AI/AIError/unsupportedFeature(_:)``. Image generation is not exposed by Cohere and the corresponding model throws ``/AI/AIError/unsupportedFeature(_:)``.
8 |
9 | ```swift
warning: Can't resolve 'AI'
 --> Cohere.md:7:423-7:457
5 | ## Overview
6 |
7 + ``Cohere`` talks to Cohere's v2 API — `/v2/chat` for language models, `/v2/embed` for embeddings, and `/v2/rerank` for reranking. It is the first provider in the package to implement ``/AI/RerankModel``: `rerankModel(_:)` returns a working model, where other providers inherit the default that throws ``/AI/AIError/unsupportedFeature(_:)``. Image generation is not exposed by Cohere and the corresponding model throws ``/AI/AIError/unsupportedFeature(_:)``.
8 |
9 | ```swift
warning: Can't resolve 'AI'
  --> Cohere.md:41:156-41:171
39 | ```
40 |
41 + The `VectorStore` module pairs this with embedding search via its reranking retriever — fetch a wide candidate pool by similarity, then reorder with a ``/AI/RerankModel``. See the Indexing and Retrieval guide in the `AI` module.
42 |
43 | ### Task-typed embeddings
warning: Can't resolve 'AI'
  --> Cohere.md:57:58-57:79
55 | ### Structured outputs and tools
56 |
57 + Cohere supports JSON and JSON-schema response formats (``/AI/OutputExpectation``) and OpenAI-style tool calling. See the Structured Outputs and Tool Calling guides in the `AI` module.
58 |
59 | ## Topics
Finished building documentation for 'Cohere' (0.08s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.62s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/13] Compiling Cohere Cohere.swift
[3/14] Compiling Cohere Cohere+Unsupported.swift
[4/14] Compiling Cohere Cohere+Rerank.swift
[5/14] Compiling Cohere Exports.swift
[6/14] Compiling Cohere Cohere+Options.swift
[7/14] Compiling Cohere Cohere+Model.swift
[8/14] Compiling Cohere Cohere+Error.swift
[9/14] Compiling Cohere Cohere+Embedding.swift
[10/14] Compiling Cohere Cohere+EmbeddingModel.swift
[11/14] Compiling Cohere Cohere+LanguageModel.swift
[12/14] Emitting module Cohere
[13/14] Compiling Cohere Cohere+ChatRequest.swift
[14/14] Compiling Cohere Cohere+ChatResponse.swift
Build of target: 'Cohere' complete! (1.23s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Voyage
Extracting symbol information for 'Voyage'...
Finished extracting symbol information for 'Voyage'. (1.16s)
Building documentation for 'Voyage'...
warning: Can't resolve 'AI'
 --> Voyage.md:3:65-3:82
1 | # ``Voyage``
2 |
3 + Voyage AI embeddings and document reranking behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
 --> Voyage.md:7:154-7:188
5 | ## Overview
6 |
7 + ``Voyage`` is an embeddings-and-rerank specialist — it talks to `/embeddings` and `/rerank`, and has no chat or image generation (those models throw ``/AI/AIError/unsupportedFeature(_:)``). Its ``/AI/RerankModel`` makes it a strong second stage for retrieval, pairing with the `VectorStore` reranking retriever.
8 |
9 | ```swift
warning: Can't resolve 'AI'
 --> Voyage.md:7:199-7:214
5 | ## Overview
6 |
7 + ``Voyage`` is an embeddings-and-rerank specialist — it talks to `/embeddings` and `/rerank`, and has no chat or image generation (those models throw ``/AI/AIError/unsupportedFeature(_:)``). Its ``/AI/RerankModel`` makes it a strong second stage for retrieval, pairing with the `VectorStore` reranking retriever.
8 |
9 | ```swift
warning: Can't resolve 'AI'
  --> ../Voyage.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` for Voyage AI's embeddings and reranking APIs.
33 | ///
34 | /// Voyage is an embeddings-and-rerank specialist — it has no chat or image
warning: Can't resolve 'AI'
  --> ../Voyage.swift:36:25-36:59
34 | /// Voyage is an embeddings-and-rerank specialist — it has no chat or image
35 | /// generation, so `languageModel(_:)` and `imageGenerationModel(_:)` return
36 + /// models that throw ``/AI/AIError/unsupportedFeature(_:)``. Its
37 | /// `rerankModel(_:)` returns a working ``/AI/RerankModel``.
38 | public struct Voyage: ModelProvider, Sendable {
warning: Can't resolve 'AI'
  --> ../Voyage.swift:37:43-37:58
35 | /// generation, so `languageModel(_:)` and `imageGenerationModel(_:)` return
36 | /// models that throw ``/AI/AIError/unsupportedFeature(_:)``. Its
37 + /// `rerankModel(_:)` returns a working ``/AI/RerankModel``.
38 | public struct Voyage: ModelProvider, Sendable {
39 |     private let configuration: VoyageConfiguration
warning: Can't resolve 'AI'
  --> ../Voyage.swift:56:21-56:38
54 |     }
55 |
56 +     /// Returns a ``/AI/LanguageModel`` that always throws
57 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Voyage does not offer chat.
58 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Voyage.swift:57:11-57:45
55 |
56 |     /// Returns a ``/AI/LanguageModel`` that always throws
57 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Voyage does not offer chat.
58 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
59 |         VoyageUnsupportedLanguageModel(modelID: id)
warning: Can't resolve 'AI'
  --> ../Voyage.swift:62:22-62:40
60 |     }
61 |
62 +     /// Returns an ``/AI/EmbeddingModel`` that issues Voyage `/embeddings`
63 |     /// requests against the supplied model identifier.
64 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Voyage.swift:68:22-68:46
66 |     }
67 |
68 +     /// Returns an ``/AI/ImageGenerationModel`` that always throws
69 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Voyage does not generate images.
70 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
warning: Can't resolve 'AI'
  --> ../Voyage.swift:69:11-69:45
67 |
68 |     /// Returns an ``/AI/ImageGenerationModel`` that always throws
69 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Voyage does not generate images.
70 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
71 |         VoyageUnsupportedImageGenerationModel(modelID: id)
warning: Can't resolve 'AI'
  --> ../Voyage.swift:74:21-74:36
72 |     }
73 |
74 +     /// Returns a ``/AI/RerankModel`` that issues Voyage `/rerank` requests
75 |     /// against the supplied model identifier (for example `rerank-2.5`).
76 |     public func rerankModel(_ id: AIModel.ID) -> any RerankModel {
Finished building documentation for 'Voyage' (0.07s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.63s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/11] Compiling Voyage Voyage.swift
[3/11] Compiling Voyage Voyage+Unsupported.swift
[4/11] Compiling Voyage Voyage+Options.swift
[5/11] Compiling Voyage Voyage+Model.swift
[6/11] Compiling Voyage Voyage+Request.swift
[7/11] Compiling Voyage Voyage+Rerank.swift
[8/11] Compiling Voyage Voyage+Embedding.swift
[9/11] Compiling Voyage Exports.swift
[10/11] Emitting module Voyage
[11/11] Compiling Voyage Voyage+Error.swift
Build of target: 'Voyage' complete! (1.06s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   Jina
Extracting symbol information for 'Jina'...
Finished extracting symbol information for 'Jina'. (1.16s)
Building documentation for 'Jina'...
warning: Can't resolve 'AI'
 --> Jina.md:3:63-3:80
1 | # ``Jina``
2 |
3 + Jina AI embeddings and document reranking behind the shared ``/AI/ModelProvider`` protocol.
4 |
5 | ## Overview
warning: Can't resolve 'AI'
 --> Jina.md:7:152-7:186
5 | ## Overview
6 |
7 + ``Jina`` is an embeddings-and-rerank specialist — it talks to `/embeddings` and `/rerank`, and has no chat or image generation (those models throw ``/AI/AIError/unsupportedFeature(_:)``). Its ``/AI/RerankModel`` pairs with the `VectorStore` reranking retriever as a retrieval refinement stage.
8 |
9 | ```swift
warning: Can't resolve 'AI'
 --> Jina.md:7:197-7:212
5 | ## Overview
6 |
7 + ``Jina`` is an embeddings-and-rerank specialist — it talks to `/embeddings` and `/rerank`, and has no chat or image generation (those models throw ``/AI/AIError/unsupportedFeature(_:)``). Its ``/AI/RerankModel`` pairs with the `VectorStore` reranking retriever as a retrieval refinement stage.
8 |
9 | ```swift
warning: Can't resolve 'AI'
  --> ../Jina.swift:32:9-32:26
30 | import AI
31 |
32 + /// A ``/AI/ModelProvider`` for Jina AI's embeddings and reranking APIs.
33 | ///
34 | /// Like Voyage, Jina is an embeddings-and-rerank specialist with no chat or
warning: Can't resolve 'AI'
  --> ../Jina.swift:36:32-36:66
34 | /// Like Voyage, Jina is an embeddings-and-rerank specialist with no chat or
35 | /// image generation: `languageModel(_:)` and `imageGenerationModel(_:)`
36 + /// return models that throw ``/AI/AIError/unsupportedFeature(_:)``, while
37 | /// `rerankModel(_:)` returns a working ``/AI/RerankModel``.
38 | public struct Jina: ModelProvider, Sendable {
warning: Can't resolve 'AI'
  --> ../Jina.swift:37:43-37:58
35 | /// image generation: `languageModel(_:)` and `imageGenerationModel(_:)`
36 | /// return models that throw ``/AI/AIError/unsupportedFeature(_:)``, while
37 + /// `rerankModel(_:)` returns a working ``/AI/RerankModel``.
38 | public struct Jina: ModelProvider, Sendable {
39 |     private let configuration: JinaConfiguration
warning: Can't resolve 'AI'
  --> ../Jina.swift:56:21-56:38
54 |     }
55 |
56 +     /// Returns a ``/AI/LanguageModel`` that always throws
57 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Jina does not offer chat.
58 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
warning: Can't resolve 'AI'
  --> ../Jina.swift:57:11-57:45
55 |
56 |     /// Returns a ``/AI/LanguageModel`` that always throws
57 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Jina does not offer chat.
58 |     public func languageModel(_ id: AIModel.ID) -> any LanguageModel {
59 |         JinaUnsupportedLanguageModel(modelID: id)
warning: Can't resolve 'AI'
  --> ../Jina.swift:62:22-62:40
60 |     }
61 |
62 +     /// Returns an ``/AI/EmbeddingModel`` that issues Jina `/embeddings`
63 |     /// requests against the supplied model identifier.
64 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
  --> ../Jina.swift:68:22-68:46
66 |     }
67 |
68 +     /// Returns an ``/AI/ImageGenerationModel`` that always throws
69 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Jina does not generate images.
70 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
warning: Can't resolve 'AI'
  --> ../Jina.swift:69:11-69:45
67 |
68 |     /// Returns an ``/AI/ImageGenerationModel`` that always throws
69 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Jina does not generate images.
70 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
71 |         JinaUnsupportedImageGenerationModel(modelID: id)
warning: Can't resolve 'AI'
  --> ../Jina.swift:74:21-74:36
72 |     }
73 |
74 +     /// Returns a ``/AI/RerankModel`` that issues Jina `/rerank` requests
75 |     /// against the supplied model identifier (for example
76 |     /// `jina-reranker-v2-base-multilingual`).
Finished building documentation for 'Jina' (0.07s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.63s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/10] Compiling Jina Jina.swift
[3/10] Compiling Jina Jina+Unsupported.swift
[4/10] Compiling Jina Jina+Rerank.swift
[5/10] Compiling Jina Jina+Options.swift
[6/10] Compiling Jina Jina+Model.swift
[7/10] Compiling Jina Exports.swift
[8/10] Compiling Jina Jina+Embedding.swift
[9/10] Emitting module Jina
[10/10] Compiling Jina Jina+Error.swift
Build of target: 'Jina' complete! (1.05s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
Target:                   AppleIntelligence
Extracting symbol information for 'AppleIntelligence'...
Finished extracting symbol information for 'AppleIntelligence'. (19.77s)
Building documentation for 'AppleIntelligence'...
warning: 'privateCloudComputeStatus()' doesn't exist at '/AppleIntelligence/AppleIntelligence'
  --> ../AppleIntelligence+Inspection.swift:89:37-89:64
87 |
88 | /// A snapshot of Private Cloud Compute availability and request quota,
89 + /// produced by ``AppleIntelligence/privateCloudComputeStatus()``.
90 | public struct AppleIntelligencePrivateCloudComputeStatus: Sendable {
91 |     /// Whether Private Cloud Compute is currently available.
warning: Can't resolve 'AI'
  --> ../AppleIntelligence+Options.swift:84:28-84:66
82 | /// Strongly typed, Apple Intelligence-specific generation options.
83 | ///
84 + /// Inject these through ``/AI/GenerationOptions/providerSpecific`` (or the
85 | /// ``/AI/GenerationOptions/init(appleIntelligence:maxTokens:temperature:)``
86 | /// convenience) to reach Foundation Models features that have no cross-provider
warning: Can't resolve 'AI'
  --> ../AppleIntelligence+Options.swift:85:7-85:75
83 | ///
84 | /// Inject these through ``/AI/GenerationOptions/providerSpecific`` (or the
85 + /// ``/AI/GenerationOptions/init(appleIntelligence:maxTokens:temperature:)``
86 | /// convenience) to reach Foundation Models features that have no cross-provider
87 | /// equivalent, such as the reasoning level.
warning: Can't resolve 'AI'
  --> ../AppleIntelligence.swift:32:9-32:26
30 |
31 | #if canImport(FoundationModels)
32 + /// A ``/AI/ModelProvider`` backed by Apple's on-device Foundation Models
33 | /// framework (and Image Playground for image generation).
34 | ///
warning: Can't resolve 'AI'
  --> ../AppleIntelligence.swift:97:21-97:38
95 |     }
96 |
97 +     /// Returns a ``/AI/LanguageModel`` for the given Apple Intelligence model.
98 |     ///
99 |     /// - Parameter model: Which model to run. Defaults to
warning: Can't resolve 'AI'
   --> ../AppleIntelligence.swift:109:21-109:38
107 |     }
108 |
109 +     /// Returns a ``/AI/LanguageModel``. The raw identifier is ignored — Apple
110 |     /// Intelligence selects its model by ``AppleIntelligenceModel``, so this
111 |     /// returns the on-device model. Prefer `languageModel(_:)`.
warning: Can't resolve 'AI'
   --> ../AppleIntelligence.swift:117:22-117:40
115 |     }
116 |
117 +     /// Returns an ``/AI/EmbeddingModel`` that always throws
118 |     /// ``/AI/AIError/unsupportedFeature(_:)`` — Foundation Models does not
119 |     /// expose embeddings today.
warning: Can't resolve 'AI'
   --> ../AppleIntelligence.swift:118:11-118:45
116 |
117 |     /// Returns an ``/AI/EmbeddingModel`` that always throws
118 +     /// ``/AI/AIError/unsupportedFeature(_:)`` — Foundation Models does not
119 |     /// expose embeddings today.
120 |     public func embeddingModel(_ id: AIModel.ID) -> any EmbeddingModel {
warning: Can't resolve 'AI'
   --> ../AppleIntelligence.swift:127:22-127:46
125 |     }
126 |
127 +     /// Returns an ``/AI/ImageGenerationModel`` backed by Image Playground when
128 |     /// available, or one that throws ``/AI/AIError/unsupportedFeature(_:)``
129 |     /// otherwise.
warning: Can't resolve 'AI'
   --> ../AppleIntelligence.swift:128:41-128:75
126 |
127 |     /// Returns an ``/AI/ImageGenerationModel`` backed by Image Playground when
128 +     /// available, or one that throws ``/AI/AIError/unsupportedFeature(_:)``
129 |     /// otherwise.
130 |     public func imageGenerationModel(_ id: AIModel.ID) -> any ImageGenerationModel {
warning: Can't resolve 'AI'
 --> AppleIntelligence.md:7:30-7:47
5 | ## Overview
6 |
7 + ``AppleIntelligence`` is a ``/AI/ModelProvider`` that runs entirely on-device. It needs no API key and no network access, but it is gated on the user's hardware, OS version, and on-device model status — always check `isAvailable` before sending requests.
8 |
9 | ```swift
warning: 'privateCloudComputeStatus()' doesn't exist at '/AppleIntelligence/AppleIntelligence'
  --> AppleIntelligence.md:39:79-39:106
37 | ```
38 |
39 + Inspect Private Cloud Compute availability and quota with ``AppleIntelligence/privateCloudComputeStatus()``, and reach Foundation Models knobs that have no cross-provider equivalent — reasoning level and tool-calling mode — through ``AppleIntelligenceGenerationOptions``.
40 |
41 | ### Streaming
warning: Can't resolve 'AI'
  --> AppleIntelligence.md:51:223-51:257
49 | ### Image Playground
50 |
51 + When the `ImagePlayground` framework is available, `imageGenerationModel(_:)` returns a model that drives Image Playground. On platforms without it (or without Apple Intelligence), the provider returns models that throw ``/AI/AIError/unsupportedFeature(_:)``. See the Availability and Fallbacks guide in the `AI` module.
52 |
53 | Pick a visual style with ``AppleIntelligenceImageStyle``. When no style is given, the provider uses the system-chosen ``AppleIntelligenceImageStyle/any`` style on iOS 27, macOS 27, and visionOS 27 (and later), falling back to ``AppleIntelligenceImageStyle/illustration`` on earlier systems. Requesting `any` explicitly on a system older than 27 throws ``/AI/AIError/unsupportedFeature(_:)``.
warning: Can't resolve 'AI'
  --> AppleIntelligence.md:53:355-53:389
51 | When the `ImagePlayground` framework is available, `imageGenerationModel(_:)` returns a model that drives Image Playground. On platforms without it (or without Apple Intelligence), the provider returns models that throw ``/AI/AIError/unsupportedFeature(_:)``. See the Availability and Fallbacks guide in the `AI` module.
52 |
53 + Pick a visual style with ``AppleIntelligenceImageStyle``. When no style is given, the provider uses the system-chosen ``AppleIntelligenceImageStyle/any`` style on iOS 27, macOS 27, and visionOS 27 (and later), falling back to ``AppleIntelligenceImageStyle/illustration`` on earlier systems. Requesting `any` explicitly on a system older than 27 throws ``/AI/AIError/unsupportedFeature(_:)``.
54 |
55 | ### Embeddings
warning: Can't resolve 'AI'
  --> AppleIntelligence.md:57:119-57:153
55 | ### Embeddings
56 |
57 + Foundation Models does not expose embeddings. The provider's `embeddingModel(_:)` always returns a stub that throws ``/AI/AIError/unsupportedFeature(_:)``.
58 |
59 | ## Topics
Finished building documentation for 'AppleIntelligence' (0.08s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
Building for debugging...
[0/3] Write swift-version--6988338F2F200930.txt
Build of product 'snippet-extract' complete! (0.63s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
[2/12] Compiling AppleIntelligence AppleIntelligence+iOS27.swift
[3/12] Compiling AppleIntelligence AppleIntelligence.swift
[4/13] Compiling AppleIntelligence AppleIntelligence+ToolCalling.swift
[5/13] Compiling AppleIntelligence AppleIntelligence+Unsupported.swift
[6/13] Compiling AppleIntelligence AppleIntelligence+Options.swift
[7/13] Compiling AppleIntelligence AppleIntelligence+StructuredOutput.swift
[8/13] Compiling AppleIntelligence AppleIntelligence+Inspection.swift
[9/13] Compiling AppleIntelligence AppleIntelligence+ImageGeneration.swift
[10/13] Compiling AppleIntelligence AppleIntelligence+ImageInput.swift
[11/13] Emitting module AppleIntelligence
[12/13] Compiling AppleIntelligence AppleIntelligence+LanguageModel.swift
[13/13] Compiling AppleIntelligence Exports.swift
Build of target: 'AppleIntelligence' complete! (1.26s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/dean151/swift-ai/main/linkable-paths.json
    2194
13	/Users/admin/builder/spi-builder-workspace/.docs/dean151/swift-ai/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/dean151/swift-ai/main
WARNING: environment variable DOCS_MAX_SIZE_MB is not set
WARNING: environment variable DOCS_MAX_SIZE_MB_DEFAULT is not set
Directory size must not exceed 10.0 MB (was: 13.0 MB)
Error while generating docs: Documentation archive too large
✅  Doc result (failed) reported
Done.