SwiftfuncFoundationModelsFoundationModels.LanguageModelSession
streamResponse
FoundationModels.LanguageModelSession.streamResponse(to: String, schema: FoundationModels.GenerationSchema, options: FoundationModels.GenerationOptions, contextOptions: FoundationModels.ContextOptions, metadata: [String : FoundationModels.ConvertibleToGeneratedContent]) -> FoundationModels.LanguageModelSession.ResponseStream<FoundationModels.GeneratedContent>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0to:structSwift.String
- 1schema:
- 2options:
- 3contextOptions:
- 4metadata:structSwift.Dictionary
- argexistential
ConvertibleToGeneratedContent