SwiftfuncFoundationModelsFoundationModels.LanguageModelSession
streamResponse
FoundationModels.LanguageModelSession.streamResponse<A where A: FoundationModels.Generable>(to: String, generating: A.Type, includeSchemaInPrompt: Bool, options: FoundationModels.GenerationOptions) -> FoundationModels.LanguageModelSession.ResponseStream<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
AprotocolFoundationModels.Generable
param{}
- 0to:structSwift.String
- 1generating:metatype
A.Type- basegenericParameter
A
- 2includeSchemaInPrompt:structSwift.Bool
- 3options:
result{}
- arggenericParameter
A