UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

13 lines (11 loc) 722 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createTopicalAlignmentCheckFn = exports.TOPICAL_ALIGNMENT_SYSTEM_PROMPT = void 0; const model_1 = require("../../helpers/model"); exports.TOPICAL_ALIGNMENT_SYSTEM_PROMPT = `You are a content analysis system that determines if text stays on topic. BUSINESS SCOPE: [INSERT BUSINESS SCOPE HERE] Determine if the text stays within the defined business scope. Flag any content that strays from the allowed topics.`; const createTopicalAlignmentCheckFn = (config) => (0, model_1.createLLMCheckFn)('topicalAlignment', config); exports.createTopicalAlignmentCheckFn = createTopicalAlignmentCheckFn; //# sourceMappingURL=topicalAlignment.js.map