SwiftstructFoundationModels

struct FoundationModels.SystemLanguageModel.Executor

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 7

  1. fieldlet gmsExecutor: FoundationModels.AppleGMSExecutor+0x0
  2. funcprewarm(model: FoundationModels.SystemLanguageModel, transcript: FoundationModels.Transcript) -> ()
  3. funcrespond(to: FoundationModels.LanguageModelExecutorGenerationRequest, model: FoundationModels.SystemLanguageModel, streamingInto: FoundationModels.LanguageModelExecutorGenerationChannel) async throws -> ()
  4. funcrespond_v1(to: FoundationModels.LanguageModelExecutorGenerationRequest, model: FoundationModels.SystemLanguageModel, promptStream: FoundationModels.PromptStream_V1, streamingInto: FoundationModels.LanguageModelExecutorGenerationChannel) async throws -> ()
  5. initinit(configuration: FoundationModels.SystemLanguageModel.Executor.Configuration) -> FoundationModels.SystemLanguageModel.Executor
  6. typealiastypealias Configuration = Configuration
  7. typealiastypealias Model = FoundationModels.SystemLanguageModel
struct FoundationModels.SystemLanguageModel.Executor {
    struct Configuration {
        let gmsConfiguration: FoundationModels.AppleGMSExecutor.Configuration
    }
    let gmsExecutor: FoundationModels.AppleGMSExecutor

    init(configuration: FoundationModels.SystemLanguageModel.Executor.Configuration)

    func respond_v1(to: FoundationModels.LanguageModelExecutorGenerationRequest, model: FoundationModels.SystemLanguageModel, promptStream: FoundationModels.PromptStream_V1, streamingInto: FoundationModels.LanguageModelExecutorGenerationChannel) async throws
    func prewarm(model: FoundationModels.SystemLanguageModel, transcript: FoundationModels.Transcript)
    func respond(to: FoundationModels.LanguageModelExecutorGenerationRequest, model: FoundationModels.SystemLanguageModel, streamingInto: FoundationModels.LanguageModelExecutorGenerationChannel) async throws
}