UNPKG

@promptbook/azure-openai

Version:

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

9 lines (8 loc) 269 B
/** * Converts a JavaScript Object Notation (JSON) string into an object. * * Note: This is wrapper around `JSON.parse()` with better error and type handling * * @public exported from `@promptbook/utils` */ export declare function jsonParse<T>(value: string): T;