Sitemap
Level Up Coding

Coding tutorials and news. The developer homepage gitconnected.com && skilled.dev && levelup.dev

Member-only story

Improve ChatGPT Performance with Prompt Engineering

How to Ask Questions to ChatGPT to Maximize the Chances of a Successful Answer

8 min readApr 4, 2023

--

Press enter or click to view image in full size
Image by Brett Jordan inUnsplash

ChatGPT generates responses using a technique called autoregression, which involves predicting the most likely next word in a sequence based on the previous words. But, if you try ChatGPT, you will soon realize that the quality of a given answer also depends on the quality of the question.

The secret for getting back the best possible answer is to understand how ChatGPT will generate it, and formulate the question accordingly.

In this article, we will discuss a few tricks to write good ChatGPT prompts so that you can maximize its outcome for your desired task.

⚠️ Terminology Recap: The technical name for a question is prompt, and putting some thoughts on the question we ask to maximize ChatGPT’s outcome is known as prompt engineering.

Model Capabilities Depend on the Context

When starting with ChatGPT, one common mistake is to believe that its capabilities are fixed across all contexts.

For example, if ChatGPT is capable of successfully answer a concrete question or do a certain task, we may think it might be capable of answering also a question in…

--

--

Andrea Valenzuela
Andrea Valenzuela

Written by Andrea Valenzuela

AI Researcher 🚀 | Writing about Artificial Intelligence & Large Language Models 👩🏻‍💻 | Sharing tricks and experiences✨