SwiftinitFoundationModelsFoundationModels.LanguageModelSession
init
FoundationModels.LanguageModelSession.__allocating_init(model: FoundationModels.PrivateCloudComputeLanguageModel, tools: [FoundationModels.Tool], instructions: () throws -> FoundationModels.Instructions) throws -> FoundationModels.LanguageModelSession
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0model:
- 1tools:structSwift.Array
- argexistential
Tool
- 2instructions:function
() throws -> FoundationModels.Instructionsthrows