SwiftinitFoundationModelsFoundationModels.LanguageModelSession

init

FoundationModels.LanguageModelSession.__allocating_init<A, B, C where A: FoundationModels.LanguageModel, B: FoundationModels.DynamicInstructions, C: Collection, C.Element == FoundationModels.Transcript.Entry>(model: A, dynamicInstructions: __owned B, history: C) -> FoundationModels.LanguageModelSession

Structure

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

generic{}

ABC

req{}

param{}

  1. 0model:
    genericParameterA
  2. 1dynamicInstructions:
    genericParameterBconsuming
  3. 2history:
    genericParameterC