Prompt Sapper: LLM-Empowered Software Engineering Infrastructure for AI-Native Services

Zhenchang Xing,Qing Huang,Yu Cheng,Liming Zhu,Qinghua Lu,Xiwei Xu
2023-06-04
Abstract:Foundation models, such as GPT-4, DALL-E have brought unprecedented AI "operating system" effect and new forms of human-AI interaction, sparking a wave of innovation in AI-native services, where natural language prompts serve as executable "code" directly (prompt as executable code), eliminating the need for programming language as an intermediary and opening up the door to personal AI. Prompt Sapper has emerged in response, committed to support the development of AI-native services by AI chain engineering. It creates a large language model (LLM) empowered software engineering infrastructure for authoring AI chains through human-AI collaborative intelligence, unleashing the AI innovation potential of every individual, and forging a future where everyone can be a master of AI innovation. This article will introduce the R\&D motivation behind Prompt Sapper, along with its corresponding AI chain engineering methodology and technical practices.
Software Engineering
What problem does this paper attempt to address?
The paper aims to address the following issues: 1. **Bottlenecks of Personal AI**: Foundational models (such as GPT-4, DALL-E) have brought about an unprecedented AI "operating system" effect, but the development of personal AI is still limited by traditional programming methods, making it difficult for non-technical personnel to participate in the development of AI services. 2. **Transparency and Maintainability of AI Service Development**: Existing AI services based on prompt engineering lack transparency, are difficult to test, reuse, and maintain, similar to the state of disordered programming 55 years ago. The paper proposes a solution called "Prompt Sapper," which aims to support the development of AI-native services through AI chain engineering. Specifically, it creates a software engineering infrastructure driven by large language models (LLM), making it possible to intelligently write AI chains through human-machine collaboration, thereby unleashing everyone's AI innovation capabilities and building a future where everyone can become an AI innovation master. Additionally, the paper introduces the motivation behind the development of Prompt Sapper, the corresponding AI chain engineering methods, and technical practices.