@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
12 lines (11 loc) • 473 B
TypeScript
import type { string_parameter_name } from '../../types/string_name';
import type { string_template } from '../../types/string_prompt';
/**
* 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>;