Affiliation:
1. Jiangxi Normal University, China
2. CSIRO’s Data61, Australia
Abstract
The emergence of foundation models, such as large language models (LLMs) GPT-4 and text-to-image models DALL-E, has opened up numerous possibilities across various domains. People can now use natural language (i.e. prompts) to communicate with AI to perform tasks. While people can use foundation models through chatbots (e.g., ChatGPT), chat, regardless of the capabilities of the underlying models, is not a production tool for building reusable AI services. APIs like LangChain allow for LLM-based application development but require substantial programming knowledge, thus posing a barrier. To mitigate this, we systematically review, summarise, refine and extend the concept of AI chain by incorporating the best principles and practices that have been accumulated in software engineering for decades into AI chain engineering, to systematize AI chain engineering methodology. We also develop a no-code integrated development environment, Prompt Sapper
, which embodies these AI chain engineering principles and patterns naturally in the process of building AI chains, thereby improving the performance and quality of AI chains. With Prompt Sapper, AI chain engineers can compose prompt-based AI services on top of foundation models through chat-based requirement analysis and visual programming. Our user study evaluated and demonstrated the efficiency and correctness of Prompt Sapper.
Publisher
Association for Computing Machinery (ACM)
Reference58 articles.
1. 2023. ChatGPT Generative AI and GPT-3 Apps and use cases. https://gpt3demo.com/. Accessed: 16/06/2023. 2023. ChatGPT Generative AI and GPT-3 Apps and use cases. https://gpt3demo.com/. Accessed: 16/06/2023.
2. 2023. ChatGPT Plugins. https://openai.com/blog/chatgpt-plugins. Accessed: 16/06/2023. 2023. ChatGPT Plugins. https://openai.com/blog/chatgpt-plugins. Accessed: 16/06/2023.
3. 2023. Figma: the collaborative interface design tool.https://www.figma.com/. Accessed: 16/06/2023. 2023. Figma: the collaborative interface design tool.https://www.figma.com/. Accessed: 16/06/2023.
4. 2023. Jupyter Notebook: The Classic Notebook Interface. https://jupyter.org/. Accessed: 16/06/2023. 2023. Jupyter Notebook: The Classic Notebook Interface. https://jupyter.org/. Accessed: 16/06/2023.
5. 2023. Replit: the collaborative browser based IDE. https://replit.com/. Accessed: 16/06/2023. 2023. Replit: the collaborative browser based IDE. https://replit.com/. Accessed: 16/06/2023.
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献