Skip to content

Type Alias: GbnfJsonFormatStringSchema

ts
type GbnfJsonFormatStringSchema = {
  type: "string";
  format: "date-time" | "time" | "date";
  description: string;
};

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

Properties

type

ts
readonly type: "string";

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


format

ts
readonly format: "date-time" | "time" | "date";

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


description?

ts
readonly optional description: string;

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

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.