UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

25 lines 794 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.openaiResponseFormatSchema = void 0; const jsonSchema_1 = require("../../jsonSchema"); const zod_1 = __importDefault(require("zod")); /* * * Reponse format zod schemas * */ /** * OpenAI response format schema */ exports.openaiResponseFormatSchema = zod_1.default.object({ type: zod_1.default.literal("json_schema"), json_schema: zod_1.default.object({ name: zod_1.default.string(), description: zod_1.default.string().optional(), schema: jsonSchema_1.jsonSchemaZodSchema, }), }); //# sourceMappingURL=responseFormatSchema.js.map