This article is the 10th in a series by Teacher Wang Jue introducing AIGC. For previous articles, please refer to:
-
#ai Teacher Wang Jue AIGC Educational Application Collection
When controlling large models to complete general tasks,
you only need to give instructions in natural language.
For example, in Kimi, we can directly type:
-
Help me generate a summary of a certain article/link, etc.
However, for some more complex, specific, and restrictive tasks,
it is necessary to use prompts.
How should prompts be written, and how should they be used?
Before discussing this topic,
Teacher Wang Jue will first demonstrate a “Chinese Idiom Chain Game” made with coze.
Everyone can scan the code to play first:
This mini-game is completed using coze + prompts.
(If you don’t know coze yet, you can refer to: “coze: Creating the World’s Strongest AI Agent”)
Prompts can actually control large models to do only one specific task
and can also interact with users,
establishing dependency relationships between the languages used.
It’s truly amazing!
So, how is this prompt written?
Below is a screenshot of the prompt in coze:
Some may think, Teacher Wang Jue is really impressive
to write such a long prompt…
Actually, it’s not me who is impressive, but coze!
We only need to write down our requirements in a few sentences in “Character Setup and Response Logic” (which is actually the prompt)
and then click the upper right corner “Optimize” button
Coze will automatically help you optimize the prompt.
For example, the long prompt for the “Chinese Idiom Chain”
was actually just entered with four characters “Chinese Idiom Chain”
(Of course, after coze optimized it, I added a little new requirement myself)
Coze is a powerful AI agent development tool
that can also specify large models to call “plugins” in prompts, providing richer services.
For example, this “Celebrity Database” AI Bot can provide images and video materials
after configuration.
Welcome to scan the code to experience:
—— Able to transcend language and text, using “plugins” to generate more capabilities and provide more possibilities.
This is why I recommend everyone to use coze.
General large models (including Kimi) cannot achieve this!
————————————————
Most prompts
are universal for various large models,
therefore, if needed,
we can copy the above prompt
and directly paste it into Kimi’s text box.
Kimi will immediately turn into a “Chinese Idiom Chain Dialogue Machine”:
Additionally, in Kimi,
if you want to save this prompt,
for direct use next time,
you need to click the cube button
and then click “Add Common Phrases” (which is actually the prompt).
Copy the prompt into the text box:
Don’t forget to give it a name,
so that in the future, you can call this prompt by entering “@name” in the text box.
As shown in the picture below:
Of course, if you only want to write prompts,
you don’t necessarily need to enter coze.
Kimi+ offers a powerful “Prompt Expert” feature:
(To learn about Kimi+, refer to: “Kimi+ is here, no need to write prompts anymore!“)
Just input the prompts you want to write directly into the text box
(write as many points as you think of)
Kimi’s “Prompt Expert” will automatically help us write standardized prompts according to writing norms:
Finally, a little “scoop”:
The dozens of typical “scenarios” provided in Kimi+
including “Prompt Expert” and “PPT Assistant”
are essentially built-in prompts to control large models for “specific tasks”!
If everyone has used the features of Kimi+
or experienced the two mini-games of coze today,
you will definitely realize how important prompts are for
making large models a specialized tool, and how powerful large models are as “knowledge tools”!
To facilitate communication on the application of AI technology in education and teaching, Teacher Wang Jue has created a WeChat group, welcome to join:
This article is part of Teacher Wang Jue’s training course “Essential Skills for Teachers in the AI Era”. For inquiries about introducing the above training course to your unit, please input “AI Training” in this public account to learn about contact information.
-
wk: Complete guide to micro-courses, covering design, production, and application. -
ppt: Collection of PPT tips. -
xxkx: Articles on learning science research.