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{}
- 0_function
(PromptKit.ChatMessagePrompt) throws -> PromptKit.ChatMessagePrompt?throws