Skip to content

Type Alias: GbnfJsonBasicSchema

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

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

Type declaration

type

ts
readonly type: 
  | GbnfJsonSchemaImmutableType
  | readonly GbnfJsonSchemaImmutableType[];

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.