SwiftfuncPromptKitPromptKit.PromptRequest.PromptVariant.ChatPrompt
mapSystemMessages
PromptKit.PromptRequest.PromptVariant.ChatPrompt.mapSystemMessages((PromptKit.ChatMessageRolePrompt.System) async throws -> PromptKit.ChatMessageRolePrompt.System) async throws -> PromptKit.PromptRequest.PromptVariant.ChatPrompt
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0_function
(PromptKit.ChatMessageRolePrompt.System) async throws -> PromptKit.ChatMessageRolePrompt.Systemasyncthrows