Skip to content

Type Alias: GbnfJsonFormatStringSchema ​

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

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

Properties ​

type ​

ts
readonly type: "string";

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


format ​

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

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


description? ​

ts
readonly optional description: string;

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

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.