SwiftfuncPromptKitPromptKit.PromptRequest.PromptVariant.ChatPrompt
mapToolDefinitions
PromptKit.PromptRequest.PromptVariant.ChatPrompt.mapToolDefinitions((GenerativeFunctionsFoundation.ToolDefinition) throws -> GenerativeFunctionsFoundation.ToolDefinition) 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
(GenerativeFunctionsFoundation.ToolDefinition) throws -> GenerativeFunctionsFoundation.ToolDefinitionthrows