- Created chatwoot-agent-bot/ with Node.js webhook server - Bot detects intent (greeting, billing, technical, features, account) - Auto-responds from FAQ knowledge base or escalates to human - FAQ-KB.md: Living knowledge base that grows with customer questions - CHATWOOT-SETUP.md: Complete deployment and configuration guide - Supports Telegram notifications on escalation - Bot runs on port 3001, ready for Chatwoot webhook integration
22 lines
703 B
JavaScript
22 lines
703 B
JavaScript
var inherits = require('util').inherits
|
|
, Readable = require('stream').Readable
|
|
, ReadableAsyncKit = require('./lib/readable_asynckit.js')
|
|
, ReadableParallel = require('./lib/readable_parallel.js')
|
|
, ReadableSerial = require('./lib/readable_serial.js')
|
|
, ReadableSerialOrdered = require('./lib/readable_serial_ordered.js')
|
|
;
|
|
|
|
// API
|
|
module.exports =
|
|
{
|
|
parallel : ReadableParallel,
|
|
serial : ReadableSerial,
|
|
serialOrdered : ReadableSerialOrdered,
|
|
};
|
|
|
|
inherits(ReadableAsyncKit, Readable);
|
|
|
|
inherits(ReadableParallel, ReadableAsyncKit);
|
|
inherits(ReadableSerial, ReadableAsyncKit);
|
|
inherits(ReadableSerialOrdered, ReadableAsyncKit);
|