FlowMind: Automatic Workflow Generation with LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zeng, Zhen, Watson, William, Cho, Nicole, Rahimi, Saba, Reynolds, Shayleen, Balch, Tucker, Veloso, Manuela
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917645503168512
author Zeng, Zhen
Watson, William
Cho, Nicole
Rahimi, Saba
Reynolds, Shayleen
Balch, Tucker
Veloso, Manuela
author_facet Zeng, Zhen
Watson, William
Cho, Nicole
Rahimi, Saba
Reynolds, Shayleen
Balch, Tucker
Veloso, Manuela
contents The rapidly evolving field of Robotic Process Automation (RPA) has made significant strides in automating repetitive processes, yet its effectiveness diminishes in scenarios requiring spontaneous or unpredictable tasks demanded by users. This paper introduces a novel approach, FlowMind, leveraging the capabilities of Large Language Models (LLMs) such as Generative Pretrained Transformer (GPT), to address this limitation and create an automatic workflow generation system. In FlowMind, we propose a generic prompt recipe for a lecture that helps ground LLM reasoning with reliable Application Programming Interfaces (APIs). With this, FlowMind not only mitigates the common issue of hallucinations in LLMs, but also eliminates direct interaction between LLMs and proprietary data or code, thus ensuring the integrity and confidentiality of information - a cornerstone in financial services. FlowMind further simplifies user interaction by presenting high-level descriptions of auto-generated workflows, enabling users to inspect and provide feedback effectively. We also introduce NCEN-QA, a new dataset in finance for benchmarking question-answering tasks from N-CEN reports on funds. We used NCEN-QA to evaluate the performance of workflows generated by FlowMind against baseline and ablation variants of FlowMind. We demonstrate the success of FlowMind, the importance of each component in the proposed lecture recipe, and the effectiveness of user interaction and feedback in FlowMind.
format Preprint
id arxiv_https___arxiv_org_abs_2404_13050
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FlowMind: Automatic Workflow Generation with LLMs
Zeng, Zhen
Watson, William
Cho, Nicole
Rahimi, Saba
Reynolds, Shayleen
Balch, Tucker
Veloso, Manuela
Computation and Language
Artificial Intelligence
The rapidly evolving field of Robotic Process Automation (RPA) has made significant strides in automating repetitive processes, yet its effectiveness diminishes in scenarios requiring spontaneous or unpredictable tasks demanded by users. This paper introduces a novel approach, FlowMind, leveraging the capabilities of Large Language Models (LLMs) such as Generative Pretrained Transformer (GPT), to address this limitation and create an automatic workflow generation system. In FlowMind, we propose a generic prompt recipe for a lecture that helps ground LLM reasoning with reliable Application Programming Interfaces (APIs). With this, FlowMind not only mitigates the common issue of hallucinations in LLMs, but also eliminates direct interaction between LLMs and proprietary data or code, thus ensuring the integrity and confidentiality of information - a cornerstone in financial services. FlowMind further simplifies user interaction by presenting high-level descriptions of auto-generated workflows, enabling users to inspect and provide feedback effectively. We also introduce NCEN-QA, a new dataset in finance for benchmarking question-answering tasks from N-CEN reports on funds. We used NCEN-QA to evaluate the performance of workflows generated by FlowMind against baseline and ablation variants of FlowMind. We demonstrate the success of FlowMind, the importance of each component in the proposed lecture recipe, and the effectiveness of user interaction and feedback in FlowMind.
title FlowMind: Automatic Workflow Generation with LLMs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2404.13050