"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parser = exports.TagsOutputSchema = exports.TagsSchema = exports.SingleTagSchema = void 0;
const zod_1 = require("zod");
const output_parsers_1 = require("@langchain/core/output_parsers");
exports.SingleTagSchema = zod_1.z.string();
exports.TagsSchema = zod_1.z
    .array(exports.SingleTagSchema)
    .describe('The updated array of tags');
exports.TagsOutputSchema = zod_1.z.object({
    updatedTags: exports.TagsSchema,
    explanation: zod_1.z
        .string()
        .describe('A single, concise sentence summarizing all tag modifications, including the reasoning behind the changes or lack thereof.'),
});
exports.parser = output_parsers_1.StructuredOutputParser.fromZodSchema(exports.TagsOutputSchema);
//# sourceMappingURL=parser.js.map