Skip to content

Type Alias: GbnfJsonConstSchema ​

ts
type GbnfJsonConstSchema = {
  const: string | number | boolean | null;
  description?: string;
};

Defined in: utils/gbnfJson/types.ts:27

Properties ​

const ​

ts
readonly const: string | number | boolean | null;

Defined in: utils/gbnfJson/types.ts:28


description? ​

ts
readonly optional description: string;

Defined in: utils/gbnfJson/types.ts:35

A description of what you expect the model to set this value to.

Only passed to the model when using function calling, and has no effect when using JSON Schema grammar directly.