{"id":27131,"date":"2024-07-22T12:00:00","date_gmt":"2024-07-22T10:00:00","guid":{"rendered":"https:\/\/salvadorvilalta.com\/?p=27131"},"modified":"2024-08-10T17:29:47","modified_gmt":"2024-08-10T15:29:47","slug":"como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts","status":"publish","type":"post","link":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/","title":{"rendered":"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"27131\" class=\"elementor elementor-27131 elementor-27055\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c824db6 e-flex e-con-boxed e-con e-parent\" data-id=\"c824db6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3ceab4a sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"3ceab4a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Prompt engineering is an essential technique for maximizing the effectiveness of language models such as GPT-4. In this article, we will explore strategies and tactics that will help you get more accurate and relevant responses from these models. This guide is useful for beginners as well as advanced users who want to improve their interactions with artificial intelligence&#8230;. <\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-fd89276 e-flex e-con-boxed e-con e-parent\" data-id=\"fd89276\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7aa24ae sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"7aa24ae\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Architecture of a prompt<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-45a5644 e-flex e-con-boxed e-con e-parent\" data-id=\"45a5644\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8113d71 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"8113d71\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>When structuring a prompt, it is necessary to be clear about the steps needed to achieve a good result.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c39d33f e-flex e-con-boxed e-con e-parent\" data-id=\"c39d33f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e031781 sc_fly_static elementor-widget elementor-widget-image\" data-id=\"e031781\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-1024x576.png\" class=\"attachment-large size-large wp-image-27090\" alt=\"\" srcset=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-1024x576.png 1024w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-300x169.png 300w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-768x432.png 768w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-1536x864.png 1536w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-2048x1152.png 2048w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-370x208.png 370w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-1290x725.png 1290w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-840x473.png 840w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-410x231.png 410w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Arquitectura-de-un-prompt-270x152.png 270w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Source: <\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b09f081 e-flex e-con-boxed e-con e-parent\" data-id=\"b09f081\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a3e1401 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"a3e1401\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the following image you have identified by color the elements that you should take into account in your prompt to achieve the best output.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5468764 e-flex e-con-boxed e-con e-parent\" data-id=\"5468764\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-01da14c sc_fly_static elementor-widget elementor-widget-image\" data-id=\"01da14c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"572\" src=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-1024x572.png\" class=\"attachment-large size-large wp-image-27092\" alt=\"El prompt perfecto para ChatGPT\" srcset=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-1024x572.png 1024w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-300x167.png 300w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-768x429.png 768w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-1536x858.png 1536w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-2048x1143.png 2048w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-370x207.png 370w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-410x229.png 410w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-840x469.png 840w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/The-perfect-prompt-270x152.png 270w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Source: therundown.ai<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ac6ae5c e-flex e-con-boxed e-con e-parent\" data-id=\"ac6ae5c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-96a1e8d sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"96a1e8d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Using Delimiters to Create Prompts<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3f929d2 e-flex e-con-boxed e-con e-parent\" data-id=\"3f929d2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1cd51d4 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"1cd51d4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>When our prompt has a certain complexity, it is necessary to structure it correctly. Delimiters can be used for this purpose. <\/p>\n<p>It is not strictly necessary to use these delimiters for all prompts, but they can be extremely useful in certain contexts. These help to structure and clarify the inputs, which can significantly improve the accuracy and relevance of model responses. Here are some situations where delimiters are particularly useful:<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-abae017 e-flex e-con-boxed e-con e-parent\" data-id=\"abae017\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cf989ed sc_fly_static elementor-widget elementor-widget-image\" data-id=\"cf989ed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"502\" src=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-1024x502.png\" class=\"attachment-large size-large wp-image-27064\" alt=\"Delimitadores ChatGPT El Blog de Salvador Vilalta\" srcset=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-1024x502.png 1024w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-300x147.png 300w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-768x377.png 768w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-1536x754.png 1536w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-370x182.png 370w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-840x412.png 840w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT-410x201.png 410w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Delimitadores-ChatGPT.png 1826w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3072507 e-flex e-con-boxed e-con e-parent\" data-id=\"3072507\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2e8cdad sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"2e8cdad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>However, we can structure our queries in different ways. In my case, I use brackets a lot to structure my Prompts. The important thing in this case is to arrange the structure of the prompt to achieve a good result.<\/p>\n<p>Let&#8217;s now look at some tricks to improve our prompts<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-48666c8 e-flex e-con-boxed e-con e-parent\" data-id=\"48666c8\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ce28d3f sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"ce28d3f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">1. Write Clear Instructions<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0cfdbb9 e-flex e-con-boxed e-con e-parent\" data-id=\"0cfdbb9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a640776 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"a640776\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Language models cannot read your mind. It is crucial to provide clear and detailed instructions to avoid misunderstandings. If you need short answers, ask for them explicitly. If you want an expert level of writing, please specify. The more information you provide, the better the result.<\/p>\n<p><b>Tactics<\/b>:<\/p>\n<ul>\n<li><span style=\"white-space: normal;\"> &#8211; Include details in your query to get more relevant answers.<\/span><\/li>\n<li><span style=\"white-space: normal;\"> &#8211; Ask the model to adopt a specific persona.<\/span><\/li>\n<li><span style=\"white-space: normal;\"> &#8211; Use delimiters to indicate different parts of the input.<\/span><\/li>\n<li><span style=\"white-space: normal;\"> &#8211; Specifies the steps required to complete a task.<\/span><\/li>\n<li><span style=\"white-space: normal;\"> &#8211; Provides clear examples.<\/span><\/li>\n<li><span style=\"white-space: normal;\"> &#8211; Specifies the desired length of the output.<\/span><\/li>\n<\/ul>\n<p><strong>Practical Example:<\/strong><\/p>\n<ul>\n<li><span style=\"white-space: normal;\"><b>Worse: <\/b>&#8220;I need help improving my website.&#8221;<\/span><\/li>\n<li><span style=\"white-space: normal;\"><b>Best: <\/b>&#8220;I am looking to improve the loading speed of my e-commerce website, can you recommend techniques to optimize images, reduce CSS and JavaScript file size, and use browser caching?&#8221;<\/span><\/li>\n<\/ul>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-aee180a e-flex e-con-boxed e-con e-parent\" data-id=\"aee180a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2baf93f sc_fly_static elementor-widget elementor-widget-video\" data-id=\"2baf93f\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/jC4v5AS4RIM?si=PD2fLKe6_tRe3Ad8&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c2803cb e-flex e-con-boxed e-con e-parent\" data-id=\"c2803cb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-61b87a9 sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"61b87a9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">2. Provides Reference Text<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d8509dc e-flex e-con-boxed e-con e-parent\" data-id=\"d8509dc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-32641a4 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"32641a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Sometimes, models can make up false answers, especially on complex topics. Providing<b> reliable reference text<\/b> can improve the accuracy of responses.<\/p>\n<p class=\"p1\"><b>Tactics:<\/b><\/p>\n<ul>\n<li class=\"p3\">Instruct the model to respond using a reference text.<\/li>\n<li class=\"p3\">Ask the model to quote specific passages from the reference text.<\/li>\n<\/ul>\n<p class=\"p1\"><b>Practical Example:<\/b><\/p>\n<ul>\n<li class=\"p3\"><b>Worse:<\/b> &#8220;What are your thoughts on the impact of climate change?&#8221;<\/li>\n<li class=\"p3\"><b>Better:<\/b> &#8220;Use the information in the following article to answer: &#8216;&#8221; Climate Change: Impact on Ecosystems and Sustainable Solutions&#8221;.&#8217; What specific measures are proposed to mitigate climate change?&#8221;<\/li>\n<\/ul>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-aacde53 e-flex e-con-boxed e-con e-parent\" data-id=\"aacde53\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-800b961 sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"800b961\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">3. Breaks Complex Tasks into Simple Subtasks<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4b2f168 e-flex e-con-boxed e-con e-parent\" data-id=\"4b2f168\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-94baf72 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"94baf72\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Complex tasks tend to have a higher error rate. Breaking a task into more manageable subtasks can reduce errors and improve accuracy.<\/p>\n<p><span style=\"font-size: 16px; text-align: var(--text-align); background-color: transparent; color: var(--theme-color-text); letter-spacing: 0px;\"><b>Tactics:<\/b><\/span><\/p>\n<ul>\n<li><span style=\"white-space: normal;\">Use the classification of intentions to identify the most relevant instructions.<\/span><\/li>\n<li><span style=\"white-space: normal;\">For dialog applications, summarize, or filter previous dialogs.<\/span><\/li>\n<li><span style=\"white-space: normal;\">Summarizes long documents in parts and builds a complete summary recursively.<\/span><\/li>\n<\/ul>\n<p><b>Practical Example:<\/b><\/p>\n<ul>\n<li><span style=\"white-space: normal;\"><b>Worse: <\/b>&#8220;Write a report on the history of artificial intelligence.&#8221;<\/span><\/li>\n<li><span style=\"white-space: normal;\"><b>Better:<\/b> &#8220;First, it summarizes the advances in artificial intelligence from 1950 to 2000. It then provides a summary of progress from 2000 to the present. Finally, it concludes with future prospects in the field of artificial intelligence.<\/span><\/li>\n<\/ul>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ec88eca e-flex e-con-boxed e-con e-parent\" data-id=\"ec88eca\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a30bc65 sc_fly_static elementor-widget elementor-widget-image\" data-id=\"a30bc65\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-1024x574.jpg\" class=\"attachment-large size-large wp-image-27111\" alt=\"\" srcset=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-1024x574.jpg 1024w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-300x168.jpg 300w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-768x430.jpg 768w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-370x207.jpg 370w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-410x230.jpg 410w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-840x471.jpg 840w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta-270x152.jpg 270w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Cerebro-iA-El-Blog-de-Salvador-Vilalta.jpg 1456w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ecdb8cf e-flex e-con-boxed e-con e-parent\" data-id=\"ecdb8cf\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0d01f29 sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"0d01f29\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">4. Give the Model Time to \"Think\".<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b730933 e-flex e-con-boxed e-con e-parent\" data-id=\"b730933\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5b9da48 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"5b9da48\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Like humans, models can make reasoning errors when they respond in haste. Asking for a &#8220;thought process&#8221; before an answer can improve accuracy.<\/p>\n<p><strong>Tactics:<\/strong><\/p>\n<ul>\n<li><span style=\"white-space: normal;\">Instruct the model to solve its own solution before reaching a conclusion.<\/span><\/li>\n<li><span style=\"white-space: normal;\">Use internal monologues or a sequence of queries to hide the reasoning process of the model.<\/span><\/li>\n<li><span style=\"white-space: normal;\">Ask the model if it omitted anything in previous passes.<\/span><\/li>\n<\/ul>\n<p><strong>Practical Example:<\/strong><\/p>\n<ul>\n<li><span style=\"white-space: normal;\"><b>Worse:<\/b> &#8220;How much is 17 times 28?&#8221;<\/span><\/li>\n<li><span style=\"white-space: normal;\"><b>Better:<\/b> &#8220;Solve the following problem step by step: How much is 17 times 28? First, write out the complete multiplication and then give the final result.&#8221;<\/span><\/li>\n<\/ul>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-73e1a47 e-flex e-con-boxed e-con e-parent\" data-id=\"73e1a47\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-aa5ff6c sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"aa5ff6c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">5. Use External Tools<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-df67911 e-flex e-con-boxed e-con e-parent\" data-id=\"df67911\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a3d4784 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"a3d4784\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>It compensates for the weaknesses of the model by feeding it with outputs from other tools. For example, a text retrieval system can provide relevant documents. A code execution engine can help with mathematical calculations.<\/p>\n<p><b>Tactics:<\/b><\/p>\n<ul>\n<li><span style=\"white-space: normal;\">Uses embeddings-based search to implement efficient knowledge retrieval.<\/span><\/li>\n<li><span style=\"white-space: normal;\">Use code execution to perform more precise calculations or call external APIs.<\/span><\/li>\n<li><span style=\"white-space: normal;\">Gives the model access to specific functions.<\/span><\/li>\n<\/ul>\n<p><b>Practical Example:<\/b><\/p>\n<ul>\n<li><span style=\"white-space: normal;\"><b>Worse:<\/b> &#8220;Calculate the square root of 256.&#8221;<\/span><\/li>\n<li><span style=\"white-space: normal;\"><b>Better:<\/b> &#8220;Use the Python function math. sqrt to calculate the square root of 256. Provides the necessary code and the result.&#8221;<\/span><\/li>\n<\/ul>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-799624b e-flex e-con-boxed e-con e-parent\" data-id=\"799624b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e48eb6b sc_fly_static elementor-widget elementor-widget-image\" data-id=\"e48eb6b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/prompting-ChatGPT.webp\" class=\"attachment-large size-large wp-image-27116\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-98f6555 e-flex e-con-boxed e-con e-parent\" data-id=\"98f6555\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3953583 sc_fly_static elementor-widget elementor-widget-heading\" data-id=\"3953583\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">6. Test Changes in a Systematic Manner<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-be05745 e-flex e-con-boxed e-con e-parent\" data-id=\"be05745\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d612c0f sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"d612c0f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>It is easier to improve performance if you can measure it. <b>Define a set of tests<\/b> (evals) representative of actual usage to evaluate modifications and ensure that the changes are positive.<\/p><p>To test changes in language models systematically, define representative test sets, such as standard verified answers, tasks of different complexities, varied formats (lists, tables, paragraphs), multiple languages, questions requiring prior context, and recent events. This ensures that the model handles diverse situations and improves its performance significantly.<br><\/p>\n<p><b>Tactics:<\/b><b>&nbsp;<\/b><\/p>\n<ul>\n<li><span style=\"white-space: normal;\">Evaluates model outputs with reference to standard responses.<\/span><\/li>\n<li><span style=\"white-space: normal;\">Performs model-based assessments for questions with multiple correct answers.<\/span><\/li>\n<\/ul>\n<p><b>Practical Example:<\/b><\/p>\n<ul>\n<li><span style=\"white-space: normal;\">Worse: &#8220;Improve this AI model.&#8221;<\/span><\/li>\n<li><span style=\"white-space: normal;\">Best: &#8220;Evaluate the performance of the AI model using the standard test suite. Compares the results to the correct answers and provides an analysis of areas for improvement.&#8221;<\/span><\/li>\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f0dfef3 e-flex e-con-boxed e-con e-parent\" data-id=\"f0dfef3\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-caf7331 sc_fly_static elementor-widget elementor-widget-image\" data-id=\"caf7331\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-1024x591.png\" class=\"attachment-large size-large wp-image-27100\" alt=\"Generador de Prompts . El Blog de Salvador Vilalta\" srcset=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-1024x591.png 1024w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-300x173.png 300w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-768x444.png 768w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-1536x887.png 1536w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-2048x1183.png 2048w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-370x214.png 370w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-840x485.png 840w, https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/Generador-de-prompts-410x237.png 410w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3a09c41 e-flex e-con-boxed e-con e-parent\" data-id=\"3a09c41\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cf4c89e sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"cf4c89e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Some tools, such as <a href=\"https:\/\/writer.hix.ai\/prompt-generator\" target=\"_blank\" rel=\"noopener\">HX.AI<\/a>, <a href=\"https:\/\/promptperfect.jina.ai\/\" target=\"_blank\" rel=\"noopener\">Promptperfect,<\/a><a href=\"https:\/\/www.taskade.com\/generate\/ai\/ai-prompt\" target=\"_blank\" rel=\"noopener\"> Taskade<\/a>, or<a href=\"https:\/\/webutility.io\/chatgpt-prompt-generator\" target=\"_blank\" rel=\"noopener\"> Webutility<\/a> and even some GPTs that you can find in the ChatGPT GPT library, allow you to generate prompts to get the best results<\/p>\n<p>To improve your prompts, you could consider these aspects in your prompts::<\/p>\n<ul>\n<li>Ask the model to ask<b> you questions <\/b>. For example, you can include in your prompt the following text &#8220;ask me any questions you consider to clarify my request so that you can provide me with the best answer&#8221;<\/li>\n<li>Ask the model to provide you with the<b> sources from which it is extracting the information<\/b>.<\/li>\n<li> Ask for the <b>specific output format<\/b> you expect &#8220;structure the information in a table&#8221;.<\/li>\n<li>Use <b>correct spelling and grammar <\/b>in your prompts.<\/li>\n<\/ul>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f4a7fd2 e-con-full e-flex e-con e-parent\" data-id=\"f4a7fd2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-88e0062 sc_fly_static elementor-widget elementor-widget-text-editor\" data-id=\"88e0062\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Do you have any questions about prompts engineering or want to share your experience? Leave me a comment and join the conversation! <\/p>\n<p>You can also suggest topics related to marketing, technology and artificial intelligence that you would like me to address in future articles.<\/p>\n<p>Have a good<span style=\"font-size: 16px; text-align: var(--text-align); background-color: transparent; color: var(--theme-color-text); letter-spacing: 0px;\">week!<\/span><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-cee04f6 e-flex e-con-boxed e-con e-parent\" data-id=\"cee04f6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b919fb8 elementor-cta--skin-classic elementor-animated-content elementor-bg-transform elementor-bg-transform-zoom-in sc_fly_static elementor-widget elementor-widget-call-to-action\" data-id=\"b919fb8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"call-to-action.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-cta\">\n\t\t\t\t\t<div class=\"elementor-cta__bg-wrapper\">\n\t\t\t\t<div class=\"elementor-cta__bg elementor-bg\" style=\"background-image: url(https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/01\/Salva_Suscribir-1024x484.png);\" role=\"img\" aria-label=\"Salvador Vilalta Blanco Suscribir\"><\/div>\n\t\t\t\t<div class=\"elementor-cta__bg-overlay\"><\/div>\n\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-cta__content\">\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<h2 class=\"elementor-cta__title elementor-cta__content-item elementor-content-item\">\n\t\t\t\t\t\t\u00bfTe ha gustado este contenido?\t\t\t\t\t<\/h2>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-cta__description elementor-cta__content-item elementor-content-item\">\n\t\t\t\t\t\tSi te ha gustado este contenido y quieres acceder a contenido exclusivo para suscriptores, <b>suscr\u00edbete ahora<\/b>. Agradezco de antemano tu confianza\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-cta__button-wrapper elementor-cta__content-item elementor-content-item \">\n\t\t\t\t\t<a class=\"elementor-cta__button elementor-button elementor-size-\" href=\"#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6MjMwNzAsInRvZ2dsZSI6ZmFsc2V9\">\n\t\t\t\t\t\tQuiero Suscribirme\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Prompt engineering is an essential technique for maximizing the effectiveness of language models such as GPT-4. In this article, we will explore strategies and tactics that will help you get&hellip;<\/p>\n","protected":false},"author":2,"featured_media":27124,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[241,229,231],"tags":[],"class_list":["post-27131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-marketing-en","category-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Get Accurate GPT-4 Answers: Prompts Engineering Guide - Salvador Vilalta<\/title>\n<meta name=\"description\" content=\"How to Get Accurate GPT-4 Answers: A Guide to Engineering Prompts. Get more accurate, relevant and useful answers,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide\" \/>\n<meta property=\"og:description\" content=\"How to Get Accurate GPT-4 Answers: A Guide to Engineering Prompts. Get more accurate, relevant and useful answers,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/\" \/>\n<meta property=\"og:site_name\" content=\"Salvador Vilalta\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-22T10:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-10T15:29:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/ai-SALVA.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Salvador Vilalta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Salvador Vilalta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/\"},\"author\":{\"name\":\"Salvador Vilalta\",\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/#\\\/schema\\\/person\\\/46bbea2a058bb4eace536ab893edc68b\"},\"headline\":\"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide\",\"datePublished\":\"2024-07-22T10:00:00+00:00\",\"dateModified\":\"2024-08-10T15:29:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/\"},\"wordCount\":1118,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/#\\\/schema\\\/person\\\/46bbea2a058bb4eace536ab893edc68b\"},\"image\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/ai-SALVA.webp\",\"articleSection\":[\"AI\",\"Marketing\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#respond\"]}]},{\"@type\":[\"WebPage\",\"ItemPage\"],\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/\",\"url\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/\",\"name\":\"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide - Salvador Vilalta\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/ai-SALVA.webp\",\"datePublished\":\"2024-07-22T10:00:00+00:00\",\"dateModified\":\"2024-08-10T15:29:47+00:00\",\"description\":\"How to Get Accurate GPT-4 Answers: A Guide to Engineering Prompts. Get more accurate, relevant and useful answers,\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/ai-SALVA.webp\",\"contentUrl\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/ai-SALVA.webp\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/\",\"name\":\"Salvador Vilalta\",\"description\":\"SV\",\"publisher\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/#\\\/schema\\\/person\\\/46bbea2a058bb4eace536ab893edc68b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/#\\\/schema\\\/person\\\/46bbea2a058bb4eace536ab893edc68b\",\"name\":\"Salvador Vilalta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/1681121698327.jpg\",\"url\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/1681121698327.jpg\",\"contentUrl\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/1681121698327.jpg\",\"width\":400,\"height\":400,\"caption\":\"Salvador Vilalta\"},\"logo\":{\"@id\":\"https:\\\/\\\/salvadorvilalta.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/1681121698327.jpg\"},\"url\":\"https:\\\/\\\/salvadorvilalta.com\\\/en\\\/author\\\/salva\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide - Salvador Vilalta","description":"How to Get Accurate GPT-4 Answers: A Guide to Engineering Prompts. Get more accurate, relevant and useful answers,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/","og_locale":"en_US","og_type":"article","og_title":"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide","og_description":"How to Get Accurate GPT-4 Answers: A Guide to Engineering Prompts. Get more accurate, relevant and useful answers,","og_url":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/","og_site_name":"Salvador Vilalta","article_published_time":"2024-07-22T10:00:00+00:00","article_modified_time":"2024-08-10T15:29:47+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/ai-SALVA.webp","type":"image\/jpeg"}],"author":"Salvador Vilalta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Salvador Vilalta","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#article","isPartOf":{"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/"},"author":{"name":"Salvador Vilalta","@id":"https:\/\/salvadorvilalta.com\/en\/#\/schema\/person\/46bbea2a058bb4eace536ab893edc68b"},"headline":"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide","datePublished":"2024-07-22T10:00:00+00:00","dateModified":"2024-08-10T15:29:47+00:00","mainEntityOfPage":{"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/"},"wordCount":1118,"commentCount":0,"publisher":{"@id":"https:\/\/salvadorvilalta.com\/en\/#\/schema\/person\/46bbea2a058bb4eace536ab893edc68b"},"image":{"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#primaryimage"},"thumbnailUrl":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/ai-SALVA.webp","articleSection":["AI","Marketing","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#respond"]}]},{"@type":["WebPage","ItemPage"],"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/","url":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/","name":"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide - Salvador Vilalta","isPartOf":{"@id":"https:\/\/salvadorvilalta.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#primaryimage"},"image":{"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#primaryimage"},"thumbnailUrl":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/ai-SALVA.webp","datePublished":"2024-07-22T10:00:00+00:00","dateModified":"2024-08-10T15:29:47+00:00","description":"How to Get Accurate GPT-4 Answers: A Guide to Engineering Prompts. Get more accurate, relevant and useful answers,","breadcrumb":{"@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#primaryimage","url":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/ai-SALVA.webp","contentUrl":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/07\/ai-SALVA.webp","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/salvadorvilalta.com\/en\/como-obtener-respuestas-precisas-de-gpt-4-guia-de-ingenieria-de-prompts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/salvadorvilalta.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to Get Accurate GPT-4 Answers: Prompts Engineering Guide"}]},{"@type":"WebSite","@id":"https:\/\/salvadorvilalta.com\/en\/#website","url":"https:\/\/salvadorvilalta.com\/en\/","name":"Salvador Vilalta","description":"SV","publisher":{"@id":"https:\/\/salvadorvilalta.com\/en\/#\/schema\/person\/46bbea2a058bb4eace536ab893edc68b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/salvadorvilalta.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/salvadorvilalta.com\/en\/#\/schema\/person\/46bbea2a058bb4eace536ab893edc68b","name":"Salvador Vilalta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/05\/1681121698327.jpg","url":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/05\/1681121698327.jpg","contentUrl":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/05\/1681121698327.jpg","width":400,"height":400,"caption":"Salvador Vilalta"},"logo":{"@id":"https:\/\/salvadorvilalta.com\/wp-content\/uploads\/2024\/05\/1681121698327.jpg"},"url":"https:\/\/salvadorvilalta.com\/en\/author\/salva\/"}]}},"_links":{"self":[{"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/posts\/27131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/comments?post=27131"}],"version-history":[{"count":17,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/posts\/27131\/revisions"}],"predecessor-version":[{"id":27303,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/posts\/27131\/revisions\/27303"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/media\/27124"}],"wp:attachment":[{"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/media?parent=27131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/categories?post=27131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salvadorvilalta.com\/en\/wp-json\/wp\/v2\/tags?post=27131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}