UNPKG

@promptbook/langtail

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

11 lines (10 loc) 468 B
import type { string_parameter_name } from '../../types/typeAliases'; import type { string_template } from '../../types/typeAliases'; /** * Parses the task and returns the list of all parameter names * * @param template the string template with parameters in {curly} braces * @returns the list of parameter names * @public exported from `@promptbook/utils` */ export declare function extractParameterNames(template: string_template): Set<string_parameter_name>;