Skip to content

Type Alias: GbnfJsonFormatStringSchema

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

Type declaration

type

ts
readonly type: "string";

format

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

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.

Defined in

utils/gbnfJson/types.ts:70