UNPKG

wickr-bedrock-bot

Version:

AWS Wickr's own Bedrock Bot

20 lines (19 loc) 719 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const bot_1 = require("./lib/bot"); const llm_client_1 = require("./lib/llm-client"); const logger_1 = __importDefault(require("./lib/logger")); const { WickrIOAddon } = require("wickrio_addon"); async function main() { const wickr = new WickrIOAddon(); const llmClient = new llm_client_1.BedrockLLMClient(); const bot = new bot_1.BedrockBot(wickr, llmClient); bot.start(); } main().catch((error) => { logger_1.default.error({ error }, "Application error"); process.exit(1); });