Open Ya-Ri opened 8 years ago
hmm does it throw any error when u run from npm run debug
? Or just quietly fail?
Is ROCKETCHAT_AUTH
required? Saw it on the page
yep as much as I'd like for it to be seamless to integrate any adapter, it will still takes some extra effort.
I'm currently working on distribution - using Docker, so people only need to run 1 docker command to set everything up - it's also more reliable that way without the interference with the system.
But I'll try to look at that ASAP whenever I have time :) thx for the feedback!
sorry for my late response. The deployment with docker is a good idea, people who had tested jarvis bot will be interested by an npm ready to install also. Maybe you can collaborate with this AI project also: Itsabot (https://github.com/itsabot/abot) i have posted a message on their github page to inform them about AIVA Thanks for you good works. Regards, YaRi
I'll have to do some digging but I have a working bot with the rocket chat adapter. I may or may not have a docker config too
pjmorr, from my side i didn't success to integrate AIVA with rocket.chat, how did you do that?
just looking around, I see this is closed... have rocket.chat working for me as well, using standard hubot but not yet with aiva... thats the plan, tho ;)
Reopening the issue, would love to take a look at it when I can
Hi guys, @kengz @llwp @Ya-Ri, happy to see this here, I've just made a Rocket.Chat connection, here are some tricks and tips.
in config/defaul.json
(or whatever file your using) just set the adapter like this:
"ADAPTERS": {
"ROCKETCHAT": {
"ACTIVATE": true,
"ROCKETCHAT_URL": "https://myinstance.rocket.chat",
"ROCKETCHAT_ROOM": "GENERAL",
"RESPOND_TO_DM": true,
"RESPOND_TO_LIVECHAT": true,
"ROCKETCHAT_USER": "bot_user",
"ROCKETCHAT_PASSWORD": "bot_user_password",
"ROCKETCHAT_AUTH": "password"
},
...
You see there some of the rocketchat adapter's variables, self-explained right? You put some more of those there, just check the env variables in https://github.com/RocketChat/hubot-rocketchat.
So after saved this file you need to install the adapter. In your bot directory, open the terminal and run:
npm install hubot-rocketchat
This will install RocketChat's Hubot adapter, doing this you can already start your bot and it will be connected to RocketChat!
awesome work here @kengz, we are taking some ideas to the HubotNatural project if you don't mind.
best wishes. Diego Dorgam at Rocket.Chat
Hi,
maybe you can provide a setup script depending on the chosen adapter...
i try those step without success:
ROCKETCHAT_ROOM='' LISTEN_ON_ALL_PUBLIC=true ROCKETCHAT_USER=bot ROCKETCHAT_PASSWORD=bot
to: bin/.env-aiva
i can't test your new one yet, nevertheless the Jarvis bot works. Let me know if you have successfully integrate it with hubot...
Thanks for your great work, kind regards,
YaRi