SwiftfuncFoundationModelsFoundationModels.LanguageModelSession
streamResponse
FoundationModels.LanguageModelSession.streamResponse(to: FoundationModels.Prompt, schema: FoundationModels.GenerationSchema, includeSchemaInPrompt: Bool, options: FoundationModels.GenerationOptions) -> FoundationModels.LanguageModelSession.ResponseStream<FoundationModels.GeneratedContent>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0to:structFoundationModels.Prompt
- 1schema:
- 2includeSchemaInPrompt:structSwift.Bool
- 3options: