@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
11 lines (10 loc) • 484 B
TypeScript
import type { UncertainNumber } from '../UncertainNumber';
/**
* Make UncertainNumber
*
* @param value value of the uncertain number, if `NaN` or `undefined`, it will be set to 0 and `isUncertain=true`
* @param isUncertain if `true`, the value is uncertain, otherwise depends on the value
*
* @private utility for initializating UncertainNumber
*/
export declare function uncertainNumber(value?: number | typeof NaN | undefined | null, isUncertain?: boolean): UncertainNumber;