UNPKG

@promptbook/azure-openai

Version:

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

14 lines (13 loc) 404 B
import type { string_token } from '../../types/typeAliases'; /** * Generates random token * * Note: This function is cryptographically secure (it uses crypto.randomBytes internally) * * @private internal helper function * @returns secure random token */ export declare function $randomToken(randomness: number): string_token; /** * TODO: Maybe use nanoid instead https://github.com/ai/nanoid */