SwiftstructFoundationModels
struct FoundationModels.SystemLanguageModel.Executor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 7
- field
let gmsExecutor: FoundationModels.AppleGMSExecutor+0x0 - func
prewarm(model: FoundationModels.SystemLanguageModel, transcript: FoundationModels.Transcript) -> () - func
respond(to: FoundationModels.LanguageModelExecutorGenerationRequest, model: FoundationModels.SystemLanguageModel, streamingInto: FoundationModels.LanguageModelExecutorGenerationChannel) async throws -> () - func
respond_v1(to: FoundationModels.LanguageModelExecutorGenerationRequest, model: FoundationModels.SystemLanguageModel, promptStream: FoundationModels.PromptStream_V1, streamingInto: FoundationModels.LanguageModelExecutorGenerationChannel) async throws -> () - init
init(configuration: FoundationModels.SystemLanguageModel.Executor.Configuration) -> FoundationModels.SystemLanguageModel.Executor - typealias
typealias Configuration = Configuration - typealias
typealias Model = FoundationModels.SystemLanguageModel
Header
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 }