UNPKG

@llumiverse/core

Version:

Provide an universal API to LLMs. Support for existing LLMs can be added by writing a driver.

6 lines (4 loc) 231 B
import { JSONSchema } from "@llumiverse/common"; export function getJSONSafetyNotice(schema: JSONSchema) { return "The answer must be a JSON object using the following JSON Schema:\n" + JSON.stringify(schema, undefined, 2); }