


Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation
Recently, Zhang Changwang, a member of the CCF Theoretical Computer Science and Technology Committee, developed a rapid application development framework PromptAppGPT based on low-code prompts, which can realize rapid application development of natural language based on GPT.
PromptAppGPT includes functions such as: low-code prompt (Prompt) application development, GPT text generation, DALL-E image generation, online code editor compiler runner, automatic user interface generation, support for plug-in extensions, etc. .
Project website: https://www.php.cn/link/fac05328668f599efe18e76cdb284aab
Project code: https://github.com/mleoking/ PromptAppGPT
PromptAppGPT provides multi-task condition triggering, result verification and failure retry capabilities, which can turn manual generation tasks that originally require multiple steps into automatic completion.
At the same time, users no longer need to memorize and enter tedious prompt spells by themselves. They can easily complete the task by only entering the core necessary information of the task.
1. Project features
- Low code prompt (Prompt) rapid application development
- Support GPT3/4 executor For text generation
- Support Dalle executor for image generation
- Support the use of executor (plug-in) extensions
- Built-in online code editor, compiler and runner
- Automatically generate user interface
- Bilingual user interface in English and Chinese
2. Quick Start
2.1. Obtain the API key of OpenAI.
2.2. Visit the PromptAppGPT website and select network startup or download the program:
https://www.php.cn/link/fac05328668f599efe18e76cdb284aab
2.3. Set OpenAI key/OpenAI Api Proxy/OpenAI GPT model.
OpenAI Key: API key obtained from OpenAI.
OpenAI Api Proxy: You can access the proxy website of OpenAI API. For example, you can use https://api.openai-proxy.com in China. It is best to have a proxy website built by yourself.
OpenAI GPT model: gpt-4/gpt-3.5-turbo
2.4. Select and run an application.
2.5. Edit and compile the application.
3. APP Example
3.1. Travel Planning Master
APP code:
Automatically generated APP interface and running results:
Successfully generated a detailed Hainan travel plan
3.2. Intelligent image generator
APP code: (Contains two steps of using GPT to generate drawing Prompt and using Dalle to draw)
Using PromptAppGPT can make manual images that originally require two steps Build tasks become automated. At the same time, users do not need to enter cumbersome prompt spells themselves. Users only need to enter the drawing description they care about.
Automatically generated APP interface and running results:
App first uses GPT to generate the Paint Prompt image.
Then the App automatically calls Dalle to generate the picture based on the drawing prompt output by GPT.
The following figure shows the final image generation result image.
GPT helped expand the original simple description "a giant panda" into a lot of detailed English descriptions, such as the panda sitting on the bamboo leaves, in the forest, the panda has a round shape Ears and so on.
These expanded descriptions allow subsequent DALL-E drawings to contain more details and be more vivid.
3.3. Multi-language translation
APP code:
Automatically generated APP interface and operation results:
Successfully translated Chinese into English
4. Application development
PromptAppGPT application is developed based on YAML format for low-code development.
The following is a sample application code:
---author: Leoname: 旅游规划大师description: 旅游规划大师gptRound: singlefailedRetries: 2sysTask:userTask: - executor: gptprompt: |我想去 [$i{旅游目的地:@input}] 玩,请你以专业导游的身份,帮我做一份为期 [$i{旅游天数:@select#1/2/3/4/5/6/7}] 天的旅游攻略。另外,我希望整个流程不用太紧凑,我更偏向于安静的地方,可以简单的游玩逛逛。我的预算在 [$i{旅游预算(元):@select#1000/2000/3000/4000/5000/6000/7000}] 元左右。extra:
The author part is the name of the author; the name part is the name of the application; the description part is the description of the application; the gptRound part determines whether to use gpt for single Round (single) or multi-round (multiple) dialogue, for most applications, its value should be single; the failedRetries part sets the number of retries when it fails or the output is invalid.
The sysTask part is a collection of tasks separated by -, which sets the behavior of the executor (gpt). For many applications, this field can be left blank.
The userTask section contains user-defined tasks, separated by -. Each task must define the prompt and executor attributes, while the trigger, output and validator attributes are optional. The application cycles through the user's tasks in order, using the output of the previous task to match each task's trigger. The first task matched by a trigger is the currently running task.
Introduction to the author
Zhang Changwang, senior researcher, member of CCF Theoretical Computer Science and Technology Committee. Served as a member of the Senior Program Committee (SPC) of the 37th AAAI Artificial Intelligence Conference (AAAI-23).
He received his master's degree and PhD degree from University College London (UCL) in 2011 and 2015, respectively. From 2016 to 2017, he worked in LBS data mining at Alibaba, and from 2018 to 2022, he worked in advertising recommendation and user profiling at Tencent.
The current research direction is the research and application of information retrieval (search promotion), natural language processing, and big data mining.
Reference materials: https://github.com/mleoking/PromptAppGPT
The above is the detailed content of Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation. For more information, please follow other related articles on the PHP Chinese website!

Harness the Power of On-Device AI: Building a Personal Chatbot CLI In the recent past, the concept of a personal AI assistant seemed like science fiction. Imagine Alex, a tech enthusiast, dreaming of a smart, local AI companion—one that doesn't rely

Their inaugural launch of AI4MH took place on April 15, 2025, and luminary Dr. Tom Insel, M.D., famed psychiatrist and neuroscientist, served as the kick-off speaker. Dr. Insel is renowned for his outstanding work in mental health research and techno

"We want to ensure that the WNBA remains a space where everyone, players, fans and corporate partners, feel safe, valued and empowered," Engelbert stated, addressing what has become one of women's sports' most damaging challenges. The anno

Introduction Python excels as a programming language, particularly in data science and generative AI. Efficient data manipulation (storage, management, and access) is crucial when dealing with large datasets. We've previously covered numbers and st

Before diving in, an important caveat: AI performance is non-deterministic and highly use-case specific. In simpler terms, Your Mileage May Vary. Don't take this (or any other) article as the final word—instead, test these models on your own scenario

Building a Standout AI/ML Portfolio: A Guide for Beginners and Professionals Creating a compelling portfolio is crucial for securing roles in artificial intelligence (AI) and machine learning (ML). This guide provides advice for building a portfolio

The result? Burnout, inefficiency, and a widening gap between detection and action. None of this should come as a shock to anyone who works in cybersecurity. The promise of agentic AI has emerged as a potential turning point, though. This new class

Immediate Impact versus Long-Term Partnership? Two weeks ago OpenAI stepped forward with a powerful short-term offer, granting U.S. and Canadian college students free access to ChatGPT Plus through the end of May 2025. This tool includes GPT‑4o, an a


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

Atom editor mac version download
The most popular open source editor

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Mac version
God-level code editing software (SublimeText3)