Type Alias: GbnfJsonEnumSchema
ts
type GbnfJsonEnumSchema = {
enum: readonly (string | number | boolean | null)[];
description: string;
};
Defined in: utils/gbnfJson/types.ts:25
Properties
enum
ts
readonly enum: readonly (string | number | boolean | null)[];
Defined in: utils/gbnfJson/types.ts:26
description?
ts
readonly optional description: string;
Defined in: utils/gbnfJson/types.ts:33
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.