devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
30 lines (29 loc) • 784 B
JavaScript
/**
* DevExtreme (esm/__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/
*/
import {
BaseCommand
} from "../../../core/ai_integration/commands/base";
export class ChangeStyleCommand extends BaseCommand {
getTemplateName() {
return "changeStyle"
}
buildPromptData(params) {
return {
system: {
writingStyle: params.writingStyle
},
user: {
text: params.text
}
}
}
parseResult(response) {
return response
}
}