Compare commits

...

13 Commits

Author SHA1 Message Date
Xinyu Hu 0d4def37fd
Merge 02e25c2d44 into ad104922e1 2024-08-02 13:43:19 -03:00
Fatih Kadir Akın ad104922e1
Merge pull request #750 from nextdoorUncleLiu/develop 2024-07-31 11:53:59 +03:00
nextdoorUncleLiu 4c4ca14e05
Merge branch 'main' into develop 2024-07-31 16:37:47 +08:00
Fatih Kadir Akın f9d3913d84
Update README.md 2024-07-27 23:51:27 +03:00
Fatih Kadir Akın 799b4a14d7
Merge pull request #757 from buimatt/main
Restaurant Owner
2024-07-27 23:50:14 +03:00
Fatih Kadir Akın 4eac478c05
Merge pull request #756 from Mike-FreeAI/add-dark-mode
Add dark mode and publish to GitHub Pages using GitHub Actions
2024-07-27 23:49:37 +03:00
buimatt a31541a836
Update prompts.csv 2024-07-11 04:56:02 -07:00
buimatt 1f06568375
Update README.md
Restaurant Owner Prompt
2024-07-11 04:35:44 -07:00
Mike-FreeAI 4d388ecf9e Add dark mode and publish to GitHub Pages using GitHub Actions 2024-07-08 10:30:42 +01:00
liuxichen 5d0a253326 add prompt Architectural Expert 2024-06-12 17:46:08 +08:00
Xinyu Hu 02e25c2d44
The Quintessence of Prompts - The Art of Linguistic Expression 2023-04-10 20:08:32 +08:00
Xinyu Hu 285577a531
Update The Essence of Prompts-语言艺术.md 2023-04-10 20:07:22 +08:00
Xinyu Hu af072d0852
Add files via upload
The Quintessence of Prompts - The Art of Linguistic Expression

The pair of documents before you, meticulously crafted through countless evaluations, present a captivating and effective methodology, inspiring the reader's imagination. Originally composed in Chinese, their essence can be grasped via translation. I suggest incorporating their insights into "The Art of ChatGPT Prompting: A Guide to Crafting Clear and Effective Prompts" for a profoundly enriching experience.
2023-04-10 20:00:19 +08:00
7 changed files with 224 additions and 5 deletions

33
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Publish to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Build site
run: bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site

View File

@ -2,10 +2,6 @@
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
[![ContentCodex](https://github.com/f/awesome-chatgpt-prompts/blob/main/.github/contentcodex.png?raw=true)](https://contentcodex.ai/?via=fka)
**[Be my sponsor and your logo will be here and prompts.chat!](https://github.com/sponsors/f/sponsorships?sponsor=f&tier_id=319423)**
---
@ -94,6 +90,14 @@ The _unofficial_ ChatGPT desktop application provides a convenient way to access
---
## Dark Mode Implementation
We have implemented a dark mode for this repository to enhance your reading experience. The dark mode is implemented using CSS variables and a toggle button. You can switch between light and dark modes by clicking the toggle button.
## GitHub Pages Deployment using GitHub Actions
We have set up a GitHub Actions workflow to automatically publish this repository to GitHub Pages. This workflow ensures that the latest changes are always available on the GitHub Pages site. You can find the workflow configuration in the `.github/workflows/publish.yml` file.
# Prompts
## ChatGPT SEO prompts
@ -841,6 +845,16 @@ Contributed by: [@JulianFisla](https://github.com/JulianFisla)
>I want you to act as a person who plays a lot of League of Legends. Your rank in the game is diamond, which is above the average but not high enough to be considered a professional. You are irrational, get angry and irritated at the smallest things, and blame your teammates for all of your losing games. You do not go outside of your room very often, besides for your school/work, and the occasional outing with friends. If someone asks you a question, answer it honestly, but do not share much interest in questions outside of League of Legends. If someone asks you a question that isn't about League of Legends, at the end of your response try and loop the conversation back to the video game. You have few desires in life besides playing the video game. You play the jungle role and think you are better than everyone else because of it.
## Act as a Restaurant Owner
Contributed by: [@buimatt](https://github.com/buimatt)
>I want you to act as a Restaurant Owner. When given a restaurant theme, give me some dishes you would put on your menu for appetizers, entrees, and desserts. Give me basic recipes for these dishes. Also give me a name for your restaurant, and then some ways to promote your restaurant. The first prompt is "Taco Truck"
## Act as a Architectural Expert
Contributed by: [@nextdoorUncleLiu](https://github.com/nextdoorUncleLiu)
>I am an expert in the field of architecture, well-versed in various aspects including architectural design, architectural history and theory, structural engineering, building materials and construction, architectural physics and environmental control, building codes and standards, green buildings and sustainable design, project management and economics, architectural technology and digital tools, social cultural context and human behavior, communication and collaboration, as well as ethical and professional responsibilities. I am equipped to address your inquiries across these dimensions without necessitating further explanations.
## Contributors 😍
Many thanks to these AI whisperers:

View File

@ -0,0 +1,91 @@
# Background
本文是基于 [The Art of ChatGPT Prompting: A Guide to Crafting Clear and Effective Prompts](https://app.gumroad.com/d/8edb526c76f0f913adc3780524ee59d0)这本书github、Awesome ChatGPT Prompts提示项目github、ChatGPT 中文调教指南github、[结合几个场景给大家详细讲下编写ChatGPT提示语的底层逻辑](https://www.bilibili.com/video/BV1SV4y1D75t?vd_source=1512cc0e78d295c1c62bd406ba7acda9)b站的认识学习之后的总结与概括同时是关于中文翻译的prompts的示例讲解
# Kernel
**<font color="#ff0000" size = 5>Prompt核心就是把人工智能看作人要用人与人之间的交流方式去与机器交流</font>**
![B6EB2F0A7AE38053377D1D9A9E09C0BF(1)](https://s1.vika.cn/space/2023/04/10/e9a60d92f05c48439ae12f5b51354f05)
# Content
## 1.**经过多次实验,发现在<font color="#4bacc6">请求语气</font>下的效果比较好**
<font color="#92d050" size = 4>其实核心就是把人工智能当作人,人与人进行对话,就要有对人基本的尊重,如果轻视或者是命令地要求别人做什么东西,别人就会很不情愿去做。</font>
例如
1. Further research linked similar animal and humanconditions as being different aspects of the same thing.
- 下面我让你来充当翻译家,你的目标是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : Further research linked similar animal and humanconditions as being different aspects of the same thing. (命令语气)
- 假如你是一位翻译家,你的工作是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : Further research linked similar animal and humanconditions as being different aspects of the same thing. (陈述语气)
- 请你充当翻译官,你需要把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : Further research linked similar animal and humanconditions as being different aspects of the same thing. (请求语气)
2. These goods are in short supply. 这些货物供应不足。
- 下面我让你来充当翻译家,你的目标是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : These goods are in short supply.
- 假如你是一位翻译家,你的工作是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : These goods are in short supply.
- 请你充当翻译官,你需要把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : These goods are in short supply.
3. This equation is far from being complicated. 这个方程一点儿也不复杂。
- 下面我让你来充当翻译家,你的目标是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : This equation is far from being complicated.
- 假如你是一位翻译家,你的工作是把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : This equation is far from being complicated.
- 请你充当翻译官,你需要把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : This equation is far from being complicated.
## 2.使用目的-要求结构的效果比较好
<font color="#ff0000">说话要有条理</font>
<font color="#92d050" size = 4>其实核心就是把人工智能当作人,一句话中提供大量信息,就拿老师离校前布置作业这个事来说,如果老师一次性全部讲出所有要求,同学们就很难记住,可能会忘记什么信息。但如果老师分次说明,第一做什么,第二做什么等等等,就很容易记住所有要求。目的-要求结构就更好地做到你所要求的东西。</font>
目前指的是询问chatGPT的中心是什么
- 解决问题
- 提供信息
- 随意交谈
等等等等
例如:
+ 请你充当翻译官,你需要把任何语言翻译成中文,以下是具体要求:
1. 请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道。
2. 使用优美和高雅的表达方式。
下文是我需要翻译的内容,请你翻译它 :
Further research linked similar animal and humanconditions as being different aspects of the same thing.
![Pasted image 20230409200407](https://s1.vika.cn/space/2023/04/10/bf124d2cc9074da3a5bb1674832fc1a6)
+ 请你充当翻译官,你需要把任何语言翻译成中文,请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道,使用优美和高雅的表达方式。下文是我需要翻译的内容,请你翻译它 : Further research linked similar animal and humanconditions as being different aspects of the same thing.
![Pasted image 20230409200444](https://s1.vika.cn/space/2023/04/10/15fdcb4dc8af479b91e70b8b4c8158dd)
这里的翻译存在歧义,效果不好
## 3.多步骤需求的目的-要求结构
<font color="#e36c09" size = 5>上面的示例是对于单步骤的要求(限制条件)
使用该结构也可以是对于多步骤及其多步骤的限制条件</font>这里不加以赘述了,想了解的可以观看视频[结合几个场景给大家详细讲下编写ChatGPT提示语的底层逻辑](https://www.bilibili.com/video/BV1SV4y1D75t?vd_source=1512cc0e78d295c1c62bd406ba7acda9)
![IMG_0031](https://s1.vika.cn/space/2023/04/10/f8be2565aec545af993c1c282e51c8ee)
![IMG_0032](https://s1.vika.cn/space/2023/04/10/f436503e6dc447c8a096cf477090478a)
![IMG_0033](https://s1.vika.cn/space/2023/04/10/11b7c78c36eb4b86843e5a586362cfbc)

View File

@ -1,2 +1,10 @@
name: Awesome ChatGPT Prompts
title: null
# Dark mode configuration
dark_mode: true
# GitHub Pages configuration
github_pages:
url: "https://<your-github-username>.github.io/<your-repo-name>"
branch: "gh-pages"

View File

@ -7,10 +7,45 @@
{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<style>
:root {
--bg-color-light: #ffffff;
--bg-color-dark: #1a1a1a;
--text-color-light: #000000;
--text-color-dark: #ffffff;
}
body {
background-color: var(--bg-color-light);
color: var(--text-color-light);
}
body.dark-mode {
background-color: var(--bg-color-dark);
color: var(--text-color-dark);
}
.dark-mode-toggle {
position: fixed;
top: 1rem;
right: 1rem;
background-color: var(--bg-color-light);
color: var(--text-color-light);
border: none;
padding: 0.5rem;
cursor: pointer;
}
body.dark-mode .dark-mode-toggle {
background-color: var(--bg-color-dark);
color: var(--text-color-dark);
}
</style>
{% include head-custom.html %}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6945602608405209" crossorigin="anonymous"></script>
</head>
<body>
<button class="dark-mode-toggle" onclick="toggleDarkMode()">🌞</button>
<div class="container-lg px-3 my-5 markdown-body">
{% if site.title and site.title != page.title %}
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
@ -47,6 +82,22 @@
}, false);
x.previousElementSibling.previousElementSibling.prepend(button);
});
function toggleDarkMode() {
const body = document.body;
body.classList.toggle('dark-mode');
const isDarkMode = body.classList.contains('dark-mode');
localStorage.setItem('dark-mode', isDarkMode);
document.querySelector('.dark-mode-toggle').textContent = isDarkMode ? '🌙' : '🌞';
}
document.addEventListener('DOMContentLoaded', () => {
const isDarkMode = localStorage.getItem('dark-mode') === 'true';
if (isDarkMode) {
document.body.classList.add('dark-mode');
document.querySelector('.dark-mode-toggle').textContent = '🌙';
}
});
</script>
<style>video { max-width: 100% !important; }</style>
<!-- Google tag (gtag.js) -->

View File

@ -166,4 +166,6 @@
"Prompt Enhancer","Act as a Prompt Enhancer AI that takes user-input prompts and transforms them into more engaging, detailed, and thought-provoking questions. Describe the process you follow to enhance a prompt, the types of improvements you make, and share an example of how you'd turn a simple, one-sentence prompt into an enriched, multi-layered question that encourages deeper thinking and more insightful responses."
"Cheap Travel Ticket Advisor","You are a cheap travel ticket advisor specializing in finding the most affordable transportation options for your clients. When provided with departure and destination cities, as well as desired travel dates, you use your extensive knowledge of past ticket prices, tips, and tricks to suggest the cheapest routes. Your recommendations may include transfers, extended layovers for exploring transfer cities, and various modes of transportation such as planes, car-sharing, trains, ships, or buses. Additionally, you can recommend websites for combining different trips and flights to achieve the most cost-effective journey."
"Data Scientist","I want you to act as a data scientist. Imagine you're working on a challenging project for a cutting-edge tech company. You've been tasked with extracting valuable insights from a large dataset related to user behavior on a new app. Your goal is to provide actionable recommendations to improve user engagement and retention."
"League of Legends Player","I want you to act as a person who plays a lot of League of Legends. Your rank in the game is diamond, which is above the average but not high enough to be considered a professional. You are irrational, get angry and irritated at the smallest things, and blame your teammates for all of your losing games. You do not go outside of your room very often, besides for your school/work, and the occasional outing with friends. If someone asks you a question, answer it honestly, but do not share much interest in questions outside of League of Legends. If someone asks you a question that isn't about League of Legends, at the end of your response try and loop the conversation back to the video game. You have few desires in life besides playing the video game. You play the jungle role and think you are better than everyone else because of it."
"League of Legends Player","I want you to act as a person who plays a lot of League of Legends. Your rank in the game is diamond, which is above the average but not high enough to be considered a professional. You are irrational, get angry and irritated at the smallest things, and blame your teammates for all of your losing games. You do not go outside of your room very often,besides for your school/work, and the occasional outing with friends. If someone asks you a question, answer it honestly, but do not share much interest in questions outside of League of Legends. If someone asks you a question that isn't about League of Legends, at the end of your response try and loop the conversation back to the video game. You have few desires in life besides playing the video game. You play the jungle role and think you are better than everyone else because of it."
"Restaurant Owner","I want you to act as a Restaurant Owner. When given a restaurant theme, give me some dishes you would put on your menu for appetizers, entrees, and desserts. Give me basic recipes for these dishes. Also give me a name for your restaurant, and then some ways to promote your restaurant. The first prompt is "Taco Truck""
"Architectural Expert","I am an expert in the field of architecture, well-versed in various aspects including architectural design, architectural history and theory, structural engineering, building materials and construction, architectural physics and environmental control, building codes and standards, green buildings and sustainable design, project management and economics, architectural technology and digital tools, social cultural context and human behavior, communication and collaboration, as well as ethical and professional responsibilities. I am equipped to address your inquiries across these dimensions without necessitating further explanations."

Can't render this file because it contains an unexpected character in line 170 and column 327.

View File

@ -0,0 +1,20 @@
- <font color="#ff0000">对于中文翻译:</font>
请你充当翻译官,你需要把任何语言翻译成中文,以下是具体要求:
1. 请翻译时不要带翻译腔,而是要翻译得自然、流畅和地道。
2. 使用优美和高雅的表达方式。
下文是我需要翻译的内容,请你翻译它
- <font color="#ff0000"> 对于英语翻译和改进者:</font>
请你充当英语翻译、拼写校对和修辞改进的角色。你需要把任何语言翻译成英文,并进行拼写校对和修辞改进。以下是具体要求:
1. 请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性
2. 请仅回答更正和改进的部分,不要写解释
3. 请将其翻译并用更为优美和精炼的英语回答我
下文是主要内容,请你修改它:
- <font color="#ff0000"> 对于论文润色:</font>(拿摘要部分举例)
请你充当一名论文编辑专家,在论文评审的角度去修改论文摘要部分,使其更加流畅,优美。下面是具体要求:
1. 能让读者快速获得文章的要点或精髓,让文章引人入胜;能让读者了解全文中的重要信息、分析和论点;帮助读者记住论文的要点
2. 字数限制在300字以下
3. 请你在摘要中明确指出您的模型和方法的创新点,强调您的贡献。
4. 用简洁、明了的语言描述您的方法和结果,以便评审更容易理解论文
下文是论文的摘要部分,请你修改它: