@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
15 lines (14 loc) • 590 B
TypeScript
import type { BookParameter } from './AgentBasicInformation';
/**
* Parses parameters from text using both supported notations:
* 1. @Parameter - single word parameter starting with @
* 2. {parameterName} or {parameter with multiple words} or {parameterName: description text}
*
* Both notations represent the same syntax feature - parameters
*
* @param text - Text to extract parameters from
* @returns Array of parsed parameters with unified representation
*
* @public exported from `@promptbook/core`
*/
export declare function parseParameters(text: string): BookParameter[];