Skip to content

Type Alias: GbnfJsonOneOfSchema

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

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

Properties

oneOf

ts
readonly oneOf: readonly GbnfJsonSchema[];

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


description?

ts
readonly optional description: string;

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

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.