UNPKG

@promptbook/azure-openai

Version:

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

23 lines (22 loc) 690 B
/** * Semantic helper for camelCase strings * * @example 'helloWorld' * @example 'iLovePromptbook' * @public exported from `@promptbook/utils` */ export type string_camelCase = string; /** * Normalizes a given text to camelCase format. * * @param text The text to be normalized. * @param _isFirstLetterCapital Whether the first letter should be capitalized. * @returns The camelCase formatted string. * @example 'helloWorld' * @example 'iLovePromptbook' * @public exported from `@promptbook/utils` */ export declare function normalizeTo_camelCase(text: string, _isFirstLetterCapital?: boolean): string_camelCase; /** * TODO: [🌺] Use some intermediate util splitWords */