UNPKG

@superagent-ai/reag

Version:
16 lines (15 loc) 522 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RESPONSE_SCHEMA = void 0; const zod_1 = require("zod"); exports.RESPONSE_SCHEMA = zod_1.z.object({ content: zod_1.z .string() .describe("The source of the information, relevant passage"), reasoning: zod_1.z .string() .describe("The reasoning behind why the source is relevant"), isIrrelevant: zod_1.z .boolean() .describe("Whether the source is relevant to the question"), });