SwiftfuncPromptKitPromptKit.ChatMessagesPrompt

compactMapMessages

PromptKit.ChatMessagesPrompt.compactMapMessages((PromptKit.ChatMessagePrompt) throws -> PromptKit.ChatMessagePrompt?) 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.ChatMessagePrompt) throws -> PromptKit.ChatMessagePrompt?throws