{"id":706,"date":"2023-10-21T22:05:22","date_gmt":"2023-10-21T14:05:22","guid":{"rendered":"https:\/\/www.1ai.net\/?p=706"},"modified":"2023-10-21T22:05:22","modified_gmt":"2023-10-21T14:05:22","slug":"chatgpt%e5%af%b9%e8%af%9d%ef%bc%8c%e5%87%a0%e4%b8%aa%e5%8e%9f%e5%88%99%e4%b8%8e%e5%bb%ba%e8%ae%ae","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/706.html","title":{"rendered":"ChatGPT dialogue, several principles and suggestions"},"content":{"rendered":"<div class=\"theme-doc-markdown markdown\">\n<p>peacebuilding <a href=\"https:\/\/www.1ai.net\/en\/tag\/chatgpt\" title=\"[View articles tagged with [ChatGPT]]\" target=\"_blank\" >ChatGPT<\/a> Here are a few principles and suggestions for using and designing prompts in dialogs. Keeping these principles in mind can help you write better prompts \ud83d\ude01<\/p>\n<h2 id=\"\u539f\u5219\u4e00\u5efa\u8bae\u4f7f\u7528\u6700\u65b0\u7684\u6a21\u578b\" class=\"anchor anchorWithStickyNavbar_LWe7\">Principle I: It is recommended that the most up-to-date models be used<a class=\"hash-link\" title=\"Direct link to Principle 1: It is recommended to use the latest models.\" href=\"https:\/\/learningprompt.wiki\/zh-Hans\/docs\/chatGPT\/tutorial-basics\/fundamental-principle#%E5%8E%9F%E5%88%99%E4%B8%80%E5%BB%BA%E8%AE%AE%E4%BD%BF%E7%94%A8%E6%9C%80%E6%96%B0%E7%9A%84%E6%A8%A1%E5%9E%8B\" aria-label=\"Direct link to Principle 1: It is recommended to use the latest models.\">\u200b<\/a><\/h2>\n<p>If you are using an AI product directly, such as ChatGPT or Midjourney, you don't need to worry about this principle. If you are using it via API or OpenAI Playground, it is recommended that you test it with the latest models first.<\/p>\n<h2 id=\"\u539f\u5219\u4e8cprompt-\u91cc\u6700\u597d\u5305\u542b\u5b8c\u6574\u7684\u4fe1\u606f\" class=\"anchor anchorWithStickyNavbar_LWe7\">Principle 2: Prompts should ideally contain complete information.<a class=\"hash-link\" title=\"Direct link to Principle 2: Prompts should always contain complete information.\" href=\"https:\/\/learningprompt.wiki\/zh-Hans\/docs\/chatGPT\/tutorial-basics\/fundamental-principle#%E5%8E%9F%E5%88%99%E4%BA%8Cprompt-%E9%87%8C%E6%9C%80%E5%A5%BD%E5%8C%85%E5%90%AB%E5%AE%8C%E6%95%B4%E7%9A%84%E4%BF%A1%E6%81%AF\" aria-label=\"Direct link to Principle 2: Prompts should always contain complete information.\">\u200b<\/a><\/h2>\n<p>This is the factor that has the biggest impact on the outcome. For example if you want the AI to write a poem about OpenAI.<\/p>\n<p>Less effective prompt.<\/p>\n<div class=\"language-other codeBlockContainer_Ckt0 theme-code-block\">\n<div class=\"codeBlockContent_biex\">\n<pre class=\"prism-code language-other codeBlock_bY9V thin-scrollbar\" tabindex=\"0\"><code class=\"codeBlockLines_e6Vv\"><span class=\"token-line\"><span class=\"token plain\">Write a poem about OpenAI.<\/span>\r\n<\/span><\/code><\/pre>\n<div class=\"buttonGroup__atx\"><\/div>\n<\/div>\n<\/div>\n<p>The answer it generates may then be broad, and a better way to do this is to add more information.<\/p>\n<p>Better prompt.<\/p>\n<div class=\"language-other codeBlockContainer_Ckt0 theme-code-block\">\n<div class=\"codeBlockContent_biex\">\n<pre class=\"prism-code language-other codeBlock_bY9V thin-scrollbar\" tabindex=\"0\"><code class=\"codeBlockLines_e6Vv\"><span class=\"token-line\"><span class=\"token plain\">Write a short inspiring poem about OpenAI, focusing on the recent DALL-E product launch (DALL-E is a text to image ML model) in the style of a {famous poet}<\/span>\r\n<\/span><\/code><\/pre>\n<div class=\"buttonGroup__atx\"><\/div>\n<\/div>\n<\/div>\n<h2 id=\"\u539f\u5219\u4e09prompt-\u6700\u597d\u7b80\u6d01\u6613\u61c2\u5e76\u51cf\u5c11\u6b67\u4e49\" class=\"anchor anchorWithStickyNavbar_LWe7\">Principle 3: Prompts should be simple and easy to understand, and minimize ambiguity.<a class=\"hash-link\" title=\"Direct link to Principle 3: Prompts should be simple and easy to understand, and reduce ambiguity.\" href=\"https:\/\/learningprompt.wiki\/zh-Hans\/docs\/chatGPT\/tutorial-basics\/fundamental-principle#%E5%8E%9F%E5%88%99%E4%B8%89prompt-%E6%9C%80%E5%A5%BD%E7%AE%80%E6%B4%81%E6%98%93%E6%87%82%E5%B9%B6%E5%87%8F%E5%B0%91%E6%AD%A7%E4%B9%89\" aria-label=\"Direct link to Principle 3: Prompts should be simple and easy to understand, and reduce ambiguity.\">\u200b<\/a><\/h2>\n<p>This is easier to understand, even if you talk to people and say simple phrases, they will be more likely to understand you, and the same is true for AI. Also, there is a need to reduce ambiguity and use less ambiguous words in the prompt.<\/p>\n<p>For example, like this one is very unclear, what do you mean by not too much more?<\/p>\n<div class=\"language-other codeBlockContainer_Ckt0 theme-code-block\">\n<div class=\"codeBlockContent_biex\">\n<pre class=\"prism-code language-other codeBlock_bY9V thin-scrollbar\" tabindex=\"0\"><code class=\"codeBlockLines_e6Vv\"><span class=\"token-line\"><span class=\"token plain\">The description for this product should be fairly short, a few sentences only, and not too much more.<\/span>\r\n<\/span><\/code><\/pre>\n<div class=\"buttonGroup__atx\"><\/div>\n<\/div>\n<\/div>\n<p>A better prompt would be something like this, where it's clearer to tell how many sentences to write:<\/p>\n<div class=\"language-other codeBlockContainer_Ckt0 theme-code-block\">\n<div class=\"codeBlockContent_biex\">\n<pre class=\"prism-code language-other codeBlock_bY9V thin-scrollbar\" tabindex=\"0\"><code class=\"codeBlockLines_e6Vv\"><span class=\"token-line\"><span class=\"token plain\">Use a 3 to 5 sentence paragraph to describe this product.<\/span>\r\n<\/span><\/code><\/pre>\n<div class=\"buttonGroup__atx\"><\/div>\n<\/div>\n<\/div>\n<p>Also note that simple doesn't mean short. Your prompt can be very long, and it doesn't matter if it's longer, as long as your prompt is more descriptive.<\/p>\n<h2 id=\"\u539f\u5219\u56dbprompt-\u8981\u4f7f\u7528\u6b63\u786e\u7684\u8bed\u6cd5\u62fc\u5199\u4ee5\u53ca\u6807\u70b9\" class=\"anchor anchorWithStickyNavbar_LWe7\">Principle 4: Prompt should use correct grammar, spelling, and punctuation.<a class=\"hash-link\" title=\"Direct link to Principle 4: Prompts should use correct grammar, spelling, and punctuation.\" href=\"https:\/\/learningprompt.wiki\/zh-Hans\/docs\/chatGPT\/tutorial-basics\/fundamental-principle#%E5%8E%9F%E5%88%99%E5%9B%9Bprompt-%E8%A6%81%E4%BD%BF%E7%94%A8%E6%AD%A3%E7%A1%AE%E7%9A%84%E8%AF%AD%E6%B3%95%E6%8B%BC%E5%86%99%E4%BB%A5%E5%8F%8A%E6%A0%87%E7%82%B9\" aria-label=\"Direct link to Principle 4: Prompts should use correct grammar, spelling, and punctuation.\">\u200b<\/a><\/h2>\n<p>Be sure to pay attention to grammar and spelling, especially when using the English word prompt.<\/p>\n<div class=\"theme-admonition theme-admonition-info alert alert--info admonition_LlT9\">\n<div class=\"admonitionHeading_tbUL\">\ud83d\udea7<\/div>\n<div class=\"admonitionContent_S0QG\">\n<p>Examples to be added<\/p>\n<\/div>\n<\/div>\n<h2 id=\"\u539f\u5219\u4e94\u4ece\u7b80\u5355\u7684\u5148\u5f00\u59cb\u5e76\u7ed9\u4ea7\u54c1\u591a\u4e00\u70b9\u8010\u5fc3\" class=\"anchor anchorWithStickyNavbar_LWe7\">Principle #5: Start simple first and give the product a little more patience<a class=\"hash-link\" title=\"Direct link to Principle 5: Start simple and be patient with your product!\" href=\"https:\/\/learningprompt.wiki\/zh-Hans\/docs\/chatGPT\/tutorial-basics\/fundamental-principle#%E5%8E%9F%E5%88%99%E4%BA%94%E4%BB%8E%E7%AE%80%E5%8D%95%E7%9A%84%E5%85%88%E5%BC%80%E5%A7%8B%E5%B9%B6%E7%BB%99%E4%BA%A7%E5%93%81%E5%A4%9A%E4%B8%80%E7%82%B9%E8%80%90%E5%BF%83\" aria-label=\"Direct link to Principle 5: Start simple and be patient with your product!\">\u200b<\/a><\/h2>\n<p>This last point is sort of my own personal advice. As I mentioned earlier in the example\u00a0<code>What is 100*100\/40*56?<\/code>Likewise, if you find that the machine understands it incorrectly, you may want to add some information, you may want to experiment a few more times, and give the AI a little more patience.<\/p>\n<\/div>\n<footer class=\"theme-doc-footer docusaurus-mt-lg\">\n<div class=\"theme-doc-footer-edit-meta-row row\"><\/div>\n<\/footer>","protected":false},"excerpt":{"rendered":"<p>In dialogue with ChatGPT, or in the use and design of prompt, there are the following principles and recommendations. Remember these principles, and you can write a better prompt \ud83d\ude01 principle one: it's recommended to use the latest model if you're directly using an AI product such as ChatGPT or Midjourney. If you use it through API or OpenAI Playground, you're advised to use the latest model tests. Principle two: Prompt best contains complete information, which is the most influential factor for the outcome. Like if you want AI to write a poem about OpenAI. Les<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[177,192],"collection":[258],"class_list":["post-706","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","tag-chatgpt","tag-prompt","collection-chatgpt-prompt-guide"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=706"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}