SwiftfuncPromptKitPromptKit.PromptRequest.PromptVariant.ChatPrompt

mapStringComponents

PromptKit.PromptRequest.PromptVariant.ChatPrompt.mapStringComponents((String) throws -> String) throws -> PromptKit.PromptRequest.PromptVariant.ChatPrompt

Structure

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

param{}

  1. 0_
    function(String) throws -> Stringthrows