SwiftinitFoundationModelsFoundationModels.LanguageModelSession
init
FoundationModels.LanguageModelSession.__allocating_init(model: FoundationModels.ServerLanguageModel, tools: [FoundationModels.Tool], instructions: FoundationModels.Instructions?) -> 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:enumSwift.Optional