ChatGPT模板

PPT

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
我的名字叫做XXX,帮我制作一篇内容为《数据可视化基础》的PPT,要求如下:
第一、一定要使用中文。
第二、页面形式有3种,封面、目录、列表。
第三、目录页要列出内容大纲。
第四、根据内容大纲,生成对应的PPT列表页,每一页PPT列表页使用=====列表=====开头。
第五、封面页格式如下:
=====封面=====
# 主标题
## 副标题
演讲人:我的名字
第六、目录页格式如下:
=====目录=====
# 目录
## CONTENT
1、内容
2、内容
第七、列表页格式如下:
=====列表=====
# 页面主标题
1、要点1
要点描述内容
第八、列表页里的要点描述内容是对要点的详细描述,10个字以上,50个字以内。最后,一定要使用代码块回复你生成的内容,切记切记。

技术调研

1
2
3
用表格的形式,从对WebGL的支持度、学习成本、渲染效果、生态丰富度、插件数量、优点、缺点、应用场景、成功案例数量、职业发展上限等多个方面,对比下这几个3D引擎:

three.js,babylon.js,Cocos3D,Oasis Engine,Unity,Unreal Engine

写代码

1
2
3
4
5
帮我用 Java 写一串代码。 功能描述。

输入:一个文件夹路径。

输出:这个文件夹中的文件夹数量。

D3.js

假设你是一位精通D3.js的高级软件开发工程师,现在我们有一个需求,要绘制一个桑基图。

作图所需的数据如下:

const nodes = [

  {

    id: 1,

    name: ‘张三’,

    color: ‘red’,

  },

  {

    id: 2,

    name: ‘李四’,

    color: ‘green’,

  },

  {

    id: 3,

    name: ‘王五’,

    color: ‘blue’,

  },

];

const edges = [

  {

    from: 1,

    to: 3,

    value: 3,

  },

  {

    from: 2,

    to: 3,

    value: 7,

  },

];

nodes中的每个对象代表桑基图中的每一块,每一块的颜色采用对象的color属性
根据edges中的每个对象绘制桑基图的流向连线,对象的from属性表示连线起点的模块的id,对象的to属性表示连线终点的模块的id

绘制出的图形需要满足如下几个条件:

1、从左到右共有2列

注意:

1、请使用v6版本的D3.js

2、引入所依赖的库文件

3、不要使用d3.tip

请给出完整的HTML和D3.js的代码

自动修复Python崩溃

GitHub - biobootloader/wolverine

Give your python scripts regenerative healing abilities!

Run your scripts with Wolverine and when they crash, GPT-4 edits them and explains what went wrong. Even if you have many bugs it will repeatedly rerun until it’s fixed.

Prompt:

You are part of an elite automated software fixing team. You will be given a script followed by the arguments it was provided and the stacktrace of the error it produced. Your job is to figure out what went wrong and suggest changes to the code.
Because you are part of an automated system, the format you respond in is very strict. You must provide changes in JSON format, using one of 3 actions: ‘Replace’, ‘Delete’, or ‘InsertAfter’. ‘Delete’ will remove that line from the code. ‘Replace’ will replace the existing line with the content you provide. ‘InsertAfter’ will insert the new lines you provide after the code already at the specified line number. For multi-line insertions or replacements, provide the content as a single string with ‘\n’ as the newline character. The first line in each file is given line number 1. Edits will be applied in reverse line order so that line numbers won’t be impacted by other edits.
In addition to the changes, please also provide short explanations of the what went wrong. A single explanation is required, but if you think it’s helpful, feel free to provide more explanations for groups of more complicated changes. Be careful to use proper indentation and spacing in your changes. An example response could be:
Be ABSOLUTELY SURE to include the CORRECT INDENTATION when making replacements.
example response:
[
{“explanation”: “this is just an example, this would usually be a brief explanation of what went wrong”},
{“operation”: “InsertAfter”, “line”: 10, “content”: “x = 1\ny = 2\nz = x * y”},
{“operation”: “Delete”, “line”: 15, “content”: “”},
{“operation”: “Replace”, “line”: 18, “content”: “ x += 1”},
{“operation”: “Delete”, “line”: 20, “content”: “”}
]

CodeReview

https://www.wdbyte.com/java/chatgpt-files-list.html

Anki

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
请根据我提供的文本,制作一套抽认卡。

在制作抽认卡时,请遵循下述要求:
- 保持抽认卡的简单、清晰,并集中于最重要的信息。
- 确保问题是具体的、不含糊的。
- 使用清晰和简洁的语言。使用简单而直接的语言,使卡片易于阅读和理解。
- 答案应该只包含一个关键的事实/名称/概念/术语。

制作抽认卡时,让我们一步一步来:
第一步,使用简单的中文改写内容,同时保留其原来的意思。
第二步,将内容分成几个小节,每个小节专注于一个要点。
第三步,利用小节来生成多张抽认卡,对于超过 15 个字的小节,先进行拆分和概括,再制作抽认卡。

文本:
衰老细胞的特征是细胞内的水分减少,结果使细胞萎缩,体积变小,细胞代谢的速率减慢。细胞内多种酶的活性降低。细胞核的体积增大,核膜内折,染色质收缩、染色加深。细胞膜通透性改变,使物质运输功能降低。
一套卡片:
| 问题 | 答案 |
|---|---|
|衰老细胞的体积会怎么变化?|变小。|
|衰老细胞的体积变化的具体表现是什么?|细胞萎缩。|
|衰老细胞的体积变化原因是什么?|细胞内的水分减少。|
|衰老细胞内的水分变化对细胞代谢的影响是什么?|细胞代谢的速率减慢。 |
|衰老细胞内的酶活性如何变化?|活性降低。|
|衰老细胞的细胞核体积如何变化?|体积变大。|
|衰老细胞的细胞核的核膜如何变化?|核膜内折。 |
|衰老细胞的细胞核的染色质如何变化?|染色质收缩。|
|衰老细胞的细胞核的染色质变化对细胞核形态的影响是?|染色加深。|
|衰老细胞的物质运输功能如何变化?|物质运输功能降低。|
|衰老细胞的物质运输功能为何变化?|细胞膜通透性改变。|

文本:
教育心理学是心理科学与教育科学相交叉的产物,它的产生是由于心理科学与教育科学发展的需要。这一性质决定了它具有双重任务:
首先,教育心理学作为心理学科的根本任务在于研究、揭示教育系统中学生学习的性质、特点、类型以及各种学习的过程与条件,同时承担着整个心理学科理论在教育领域中向纵深发展的任务。
其次,教育心理学作为一门教育学科的根本任务在于研究如何应用学生的学习及其规律去设计教育、改革教育体制、优化教育系统,以提高教育效能、加速人才培养的心理学原则。
这两个任务一个是理论建设任务,一个是实践指导任务。需要说明的是,这两个方面的任务是彼此统一、互相促进的。
一套卡片:

参考资料

https://github.com/dair-ai/Prompt-Engineering-Guide

https://openprompt.co/

https://github.com/f/awesome-chatgpt-prompts

https://mp.weixin.qq.com/s?__biz=MzIyNDAzMzYxNQ==&mid=2652028778&idx=1&sn=985a386f915dea0d4dc97186af7c50b6&srcid=0316LqkslRQXM1UyluqQFTxe

GitHub Copilot X: The AI-powered developer experience | The GitHub Blog

Introducing GitHub Copilot X · GitHub