UNPKG

@promptbook/azure-openai

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

12 lines (11 loc) 664 B
import type { string_parameter_name } from '../../../types/typeAliases'; /** * Function `validateParameterName` will normalize and validate a parameter name for use in pipelines. * It removes diacritics, emojis, and quotes, normalizes to camelCase, and checks for reserved names and invalid characters. * * @param parameterName The parameter name to validate and normalize. * @returns The validated and normalized parameter name. * @throws {ParseError} If the parameter name is empty, reserved, or contains invalid characters. * @private within the repository */ export declare function validateParameterName(parameterName: string): string_parameter_name;