Skip to content

Type Alias: GbnfJsonConstSchema

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

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

Properties

const

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

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


description?

ts
readonly optional description: string;

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

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.