UNPKG

@microsoft/teams-ai

Version:

SDK focused on building AI based applications for Microsoft Teams.

26 lines 801 B
"use strict"; /** * @module teams-ai */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SystemMessage = void 0; const TemplateSection_1 = require("./TemplateSection"); /** * A system message. */ class SystemMessage extends TemplateSection_1.TemplateSection { /** * Creates a new 'SystemMessage' instance. * @param {string} template Template to use for this section. * @param {number} tokens Optional. Sizing strategy for this section. Defaults to `auto`. */ constructor(template, tokens = -1) { super(template, 'system', tokens, true, '\n', ''); } } exports.SystemMessage = SystemMessage; //# sourceMappingURL=SystemMessage.js.map