Skip to content

Type Alias: GbnfJsonBasicSchema ​

ts
type GbnfJsonBasicSchema = {
  type:   | GbnfJsonSchemaImmutableType
     | readonly GbnfJsonSchemaImmutableType[];
  description?: string;
};

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

Properties ​

type ​

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


description? ​

ts
readonly optional description: string;

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

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.