devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
34 lines (33 loc) • 943 B
JavaScript
/**
* DevExtreme (cjs/__internal/core/ai_integration/commands/changeStyle.js)
* Version: 25.1.3
* Build date: Wed Jun 25 2025
*
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ChangeStyleCommand = void 0;
var _base = require("../../../core/ai_integration/commands/base");
class ChangeStyleCommand extends _base.BaseCommand {
getTemplateName() {
return "changeStyle"
}
buildPromptData(params) {
return {
system: {
writingStyle: params.writingStyle
},
user: {
text: params.text
}
}
}
parseResult(response) {
return response
}
}
exports.ChangeStyleCommand = ChangeStyleCommand;