annual European Simulation and Modelling Conference Fernando Tricas Garc´ ıa [email protected] https://webdiis.unizar.es/~ftricas/ October, 26th, 2023 A proposal for federated chatbots for distributed information access
IoT devices (machines, ...) ▶ We will attach a chatbot to each relevant device ▶ No modifications in the original system ▶ Very flexible way of obtaining information A proposal for federated chatbots for distributed information access
IoT devices (machines, ...) ▶ We will attach a chatbot to each relevant device ▶ No modifications in the original system ▶ Very flexible way of obtaining information ▶ Chatbots can be a good way to interact with IoT devices. ▶ Sometimes there can be good reasons to have more than one chatbot ▶ Cooperation/coordination is a good property. A proposal for federated chatbots for distributed information access
several chatbots ▶ Users interacting with them ▶ Interaction between bots ▶ Requesting actions for other bots ▶ Collecting the replies. ▶ Lightweight, and it can use public infrastructure providing an easy way to start a project with it. A proposal for federated chatbots for distributed information access
Each of them is connected to a communication channel Telegram, Slack, Discord, Gitter, IRC, ... ▶ Users can connect to some of these communication channels (or many). ▶ Adding more information sources =⇒ adding more bots. ▶ It’s up to us select the channels. A proposal for federated chatbots for distributed information access
user it will check if it can fulfil the command: ▶ If it can, it will: 1. Execute the action, 2. Write a message to the user with the reply. A proposal for federated chatbots for distributed information access
to the common channel and it will wait to see if there is a reply. fw temp ▶ The other bots will read this command and check whether they can execute it or not: 1. Do I know this command? 2. Can I execute this command with these parameters? A proposal for federated chatbots for distributed information access
to execute it, so it will: 1. Delete the message requesting the action from the channel. 2. Execute the action. 3. Write a new message in the common channel which embeds the reply. A proposal for federated chatbots for distributed information access
to execute it, so it will: 1. Delete the message requesting the action from the channel. 2. Execute the action. 3. Write a new message in the common channel which embeds the reply. A proposal for federated chatbots for distributed information access
able to read (while available) the reply and will check if: ▶ Is this reply for me? Hopefully, one of them will be the originator of the command. It will then: 1. Delete the message with the reply. 2. Write a message to the requesting user with the information. A proposal for federated chatbots for distributed information access
your own commands can be done by creating a plugin, . . . ▶ Batteries included ▶ Sharing ▶ Community A proposal for federated chatbots for distributed information access
Sharing ▶ Community ▶ Free Software // Libre Software https://github.com/errbotio/errbot/ A proposal for federated chatbots for distributed information access
plugin, using the standard mechanism. https://github.com/fernand0/err-forward ▶ Slack (Proof of concept) A proposal for federated chatbots for distributed information access
based ▶ Commands must be well thought in order to be practical and useful (easy to type, short, meaningful...) ▶ Concurrence issues have been managed ▶ Many of them delegated to the infrastructure A proposal for federated chatbots for distributed information access
several places (mainly Telegram, IRC) ▶ Easy to manage and to get access to the information (think local, use anywhere) ▶ Scalable Moreover... (not only IoT) ▶ APIs are important to access information. Web scrapping too. A proposal for federated chatbots for distributed information access