UNPKG

vamtec

Version:

Vamtec is a multi Purpose AI Assistant, ChatBot, file generation (PDF, Excel, CSV), image uploads handling and automation library

14 lines (9 loc) 375 B
// const vamtec = require("./index"); // // vamtec(); // Starts the server setup process // vamtec.main(); const { Bot } = require('./index'); const apiKey = 'AIzaSyAAnCzdT2PiVH9Hg_CiYxztAQivqeD5toc'; const bot = new Bot(apiKey); // Default name is 'Chatbot' bot.chat(); // Supports exiting with 'exit', 'Exit', 'stop', or 'Esc' // Rename the bot // bot.rename('MyBot');