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.

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

Gallo S;Paternò F
2023

Abstract

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.
2023
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Inglese
Bellucci A., De Russis L., Diaz P., Mørch A., Fogli D., Paternò F.
WWDD@IS-EUD 2023 Workshops, Work in Progress Demos and Doctoral Consortium at IS-EUD 2023
EMPATHY 2023 - 4th International Workshop on Empowering People in Dealing with Internet of Things Ecosystems
6
https://ceur-ws.org/Vol-3408/
06/06/2023
Cagliari, Italy
End-user development
Conversational agent
Generative pre-trained model
3
open
Gallo, S; Malizia, A; Paternò, F
273
info:eu-repo/semantics/conferenceObject
04 Contributo in convegno::04.01 Contributo in Atti di convegno
File in questo prodotto:
File Dimensione Formato  
prod_482663-doc_199607.pdf

accesso aperto

Descrizione: Towards a chatbot for creating trigger-action rules based on ChatGPT and Rasa
Tipologia: Versione Editoriale (PDF)
Dimensione 560.38 kB
Formato Adobe PDF
560.38 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/461846
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 5
  • ???jsp.display-item.citation.isi??? ND
social impact