2023
Conference article  Open Access

Towards a chatbot for creating trigger-action rules based on ChatGPT and Rasa

Gallo S., Malizia A., Paternò F.

End-user development  Conversational agent  Generative pre-trained model 

In this paper, we propose a novel approach for building a conversational agent for creating trigger-action rules and controlling smart objects inside smart environments, such as a smart home. Our approach integrates ChatGPT, a state-of-the-art pre-trained language model for open-domain dialogue generation, with Rasa, a popular open-source framework for developing task-oriented chatbots. We leverage ChatGPT's abilities to perform Natural Language Processing tasks through prompting and few-shot learning, and Rasa Open Source's features to handle intents, entities, forms, and execute actions. We design Rasa custom actions that invoke ChatGPT's API to process complex customization rules, manage conversational breakdowns and answer questions about the smart environment.

Source: EMPATHY 2023 - 4th International Workshop on Empowering People in Dealing with Internet of Things Ecosystems, Cagliari, Italy, 06/06/2023



Back to previous page
BibTeX entry
@inproceedings{oai:it.cnr:prodotti:482663,
	title = {Towards a chatbot for creating trigger-action rules based on ChatGPT and Rasa},
	author = {Gallo S. and Malizia A. and Paternò F.},
	booktitle = {EMPATHY 2023 - 4th International Workshop on Empowering People in Dealing with Internet of Things Ecosystems, Cagliari, Italy, 06/06/2023},
	year = {2023}
}
CNR ExploRA

Bibliographic record

ISTI Repository

Published version Open Access

Also available from

ceur-ws.orgOpen Access