search
HomeTechnology peripheralsAIReally 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. .

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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.

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

2.4. Select and run an application.

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

2.5. Edit and compile the application.

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

3. APP Example

3.1. Travel Planning Master

APP code:

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

Automatically generated APP interface and running results:

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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)

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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.

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

Then the App automatically calls Dalle to generate the picture based on the drawing prompt output by GPT.

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

The following figure shows the final image generation result image.

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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:

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

Automatically generated APP interface and operation results:

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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).

Really low code! PromptAppGPT, the first natural language development framework based on ChatGPT: fully automatic compilation, operation, and interface generation

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!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
Are You At Risk Of AI Agency Decay? Take The Test To Find OutAre You At Risk Of AI Agency Decay? Take The Test To Find OutApr 21, 2025 am 11:31 AM

This article explores the growing concern of "AI agency decay"—the gradual decline in our ability to think and decide independently. This is especially crucial for business leaders navigating the increasingly automated world while retainin

How to Build an AI Agent from Scratch? - Analytics VidhyaHow to Build an AI Agent from Scratch? - Analytics VidhyaApr 21, 2025 am 11:30 AM

Ever wondered how AI agents like Siri and Alexa work? These intelligent systems are becoming more important in our daily lives. This article introduces the ReAct pattern, a method that enhances AI agents by combining reasoning an

Revisiting The Humanities In The Age Of AIRevisiting The Humanities In The Age Of AIApr 21, 2025 am 11:28 AM

"I think AI tools are changing the learning opportunities for college students. We believe in developing students in core courses, but more and more people also want to get a perspective of computational and statistical thinking," said University of Chicago President Paul Alivisatos in an interview with Deloitte Nitin Mittal at the Davos Forum in January. He believes that people will have to become creators and co-creators of AI, which means that learning and other aspects need to adapt to some major changes. Digital intelligence and critical thinking Professor Alexa Joubin of George Washington University described artificial intelligence as a “heuristic tool” in the humanities and explores how it changes

Understanding LangChain Agent FrameworkUnderstanding LangChain Agent FrameworkApr 21, 2025 am 11:25 AM

LangChain is a powerful toolkit for building sophisticated AI applications. Its agent architecture is particularly noteworthy, allowing developers to create intelligent systems capable of independent reasoning, decision-making, and action. This expl

What are the Radial Basis Functions Neural Networks?What are the Radial Basis Functions Neural Networks?Apr 21, 2025 am 11:13 AM

Radial Basis Function Neural Networks (RBFNNs): A Comprehensive Guide Radial Basis Function Neural Networks (RBFNNs) are a powerful type of neural network architecture that leverages radial basis functions for activation. Their unique structure make

The Meshing Of Minds And Machines Has ArrivedThe Meshing Of Minds And Machines Has ArrivedApr 21, 2025 am 11:11 AM

Brain-computer interfaces (BCIs) directly link the brain to external devices, translating brain impulses into actions without physical movement. This technology utilizes implanted sensors to capture brain signals, converting them into digital comman

Insights on spaCy, Prodigy and Generative AI from Ines MontaniInsights on spaCy, Prodigy and Generative AI from Ines MontaniApr 21, 2025 am 11:01 AM

This "Leading with Data" episode features Ines Montani, co-founder and CEO of Explosion AI, and co-developer of spaCy and Prodigy. Ines offers expert insights into the evolution of these tools, Explosion's unique business model, and the tr

A Guide to Building Agentic RAG Systems with LangGraphA Guide to Building Agentic RAG Systems with LangGraphApr 21, 2025 am 11:00 AM

This article explores Retrieval Augmented Generation (RAG) systems and how AI agents can enhance their capabilities. Traditional RAG systems, while useful for leveraging custom enterprise data, suffer from limitations such as a lack of real-time dat

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.