Class: Vapi::JsonSchemaFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/vapi_server_sdk/types/json_schema_format.rb

Overview

This is the format of the string. To pass a regex, use the ‘pattern` property

instead.
OpenAI documentation:
cs/guides/structured-outputs?api-mode=chat&type-restrictions=string-restrictions

Constant Summary collapse

DATE_TIME =
"date-time"
TIME =
"time"
DATE =
"date"
DURATION =
"duration"
EMAIL =
"email"
HOSTNAME =
"hostname"
IPV_4 =
"ipv4"
IPV_6 =
"ipv6"
UUID =
"uuid"