daggerai
Version:
A simple and powerful Typescript based agent framework to help businesses thrive in the AI Agent revolution.
21 lines • 631 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Input = void 0;
const helpers_1 = require("./helpers");
const node_1 = require("./node");
class Input extends node_1.Node {
type = 'input';
name;
description;
constructor(params) {
super();
this.id = params.id || '';
this.name = params.name;
this.description = params.name;
}
nodeOutput() {
return `${(0, helpers_1.convertToXmlTag)((0, helpers_1.removeDiacritics)(this.name).toLocaleLowerCase(), this.output || '')}`;
}
}
exports.Input = Input;
//# sourceMappingURL=input.js.map