SwiftfuncFoundationModelsFoundationModels.LanguageModelSession
respond
FoundationModels.LanguageModelSession.respond(to: FoundationModels.Prompt, schema: FoundationModels.GenerationSchema, includeSchemaInPrompt: Bool, options: FoundationModels.GenerationOptions) async throws -> FoundationModels.LanguageModelSession.Response<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: