SwiftfuncPromptKitPromptKit.ChatMessagesPrompt

mapSystemMessages

PromptKit.ChatMessagesPrompt.mapSystemMessages((PromptKit.ChatMessageRolePrompt.System) async throws -> PromptKit.ChatMessageRolePrompt.System) async throws -> PromptKit.ChatMessagesPrompt

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0_
    function(PromptKit.ChatMessageRolePrompt.System) async throws -> PromptKit.ChatMessageRolePrompt.Systemasyncthrows