Skip to content

Type Alias: GbnfJsonConstSchema

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

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

Type declaration

const

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

description?

ts
readonly optional description: string;

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.