Skip to content

Type Alias: GbnfJsonOneOfSchema

ts
type GbnfJsonOneOfSchema = {
  oneOf: readonly GbnfJsonSchema[];
  description: string;
};

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

Type declaration

oneOf

ts
readonly oneOf: readonly GbnfJsonSchema[];

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.