Need Help? Designing Proactive AI Assistants for Programming

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Valerie, Zhu, Alan, Zhao, Sebastian, Mozannar, Hussein, Sontag, David, Talwalkar, Ameet
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909515978375168
author Chen, Valerie
Zhu, Alan
Zhao, Sebastian
Mozannar, Hussein
Sontag, David
Talwalkar, Ameet
author_facet Chen, Valerie
Zhu, Alan
Zhao, Sebastian
Mozannar, Hussein
Sontag, David
Talwalkar, Ameet
contents While current chat-based AI assistants primarily operate reactively, responding only when prompted by users, there is significant potential for these systems to proactively assist in tasks without explicit invocation, enabling a mixed-initiative interaction. This work explores the design and implementation of proactive AI assistants powered by large language models. We first outline the key design considerations for building effective proactive assistants. As a case study, we propose a proactive chat-based programming assistant that automatically provides suggestions and facilitates their integration into the programmer's code. The programming context provides a shared workspace enabling the assistant to offer more relevant suggestions. We conducted a randomized experimental study examining the impact of various design elements of the proactive assistant on programmer productivity and user experience. Our findings reveal significant benefits of incorporating proactive chat assistants into coding environments and uncover important nuances that influence their usage and effectiveness.
format Preprint
id arxiv_https___arxiv_org_abs_2410_04596
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Need Help? Designing Proactive AI Assistants for Programming
Chen, Valerie
Zhu, Alan
Zhao, Sebastian
Mozannar, Hussein
Sontag, David
Talwalkar, Ameet
Human-Computer Interaction
While current chat-based AI assistants primarily operate reactively, responding only when prompted by users, there is significant potential for these systems to proactively assist in tasks without explicit invocation, enabling a mixed-initiative interaction. This work explores the design and implementation of proactive AI assistants powered by large language models. We first outline the key design considerations for building effective proactive assistants. As a case study, we propose a proactive chat-based programming assistant that automatically provides suggestions and facilitates their integration into the programmer's code. The programming context provides a shared workspace enabling the assistant to offer more relevant suggestions. We conducted a randomized experimental study examining the impact of various design elements of the proactive assistant on programmer productivity and user experience. Our findings reveal significant benefits of incorporating proactive chat assistants into coding environments and uncover important nuances that influence their usage and effectiveness.
title Need Help? Designing Proactive AI Assistants for Programming
topic Human-Computer Interaction
url https://arxiv.org/abs/2410.04596