cloudonix-js
Version:
A JavaScript library for building and serving Cloudonix Voice Application XML (CXML) documents with support for AI voice agents, media streaming, and advanced telephony features
20 lines (18 loc) • 473 B
JavaScript
/**
* @file System noun implementation for Converse verb
* @copyright 2025 Nir Simionovich, nirs@cloudonix.io
* @license MIT
* @module cloudonix-js/verbs/converseNouns/system
* @description Implements the System noun for Converse verb
*/
;
module.exports = {
/**
* Create a System element
* @param {string} text - The system prompt text
* @returns {Object} - The System element
*/
create: (text) => {
return { '#text': text };
}
};