3. Being clear and direct

The most important technique: communicating your needs clearly and directly. Most problems with AIs arise from ambiguous prompts.

The power of clarity

AIs don't read your mind. They only know what you explicitly tell them. Don't assume the AI has context about your situation.

Practical examples

Initial prompt:

Write a haiku about robots.

Typical response:

Here's a haiku about robots:

Shining metals silent workers a near future

If you don't want that preamble, ask for it directly:

Improved prompt:

Write a haiku about robots. Go straight to the poem, no introduction.

Specify the format from the start

Without specifying:

Give me information about the planets in the solar system.

With format:

Give me information about the planets in a table with these columns: Name, Distance from the Sun, Diameter, Number of moons.

Ask for exactly what you need

Generic:

Write about the benefits of sleep.

Specific:

Write a 500-word article about the benefits of sleep for university students. Include 3 science-backed benefits, a motivating tone, and 2 practical tips. Don't use complex medical language.

Avoid assumptions

With assumptions:

Write an email to explain the project delay.

Without assumptions:

I'm a software developer. I need to write an email to my client explaining that their website will be delayed 10 days due to problems with the payment system. The client is a small family business, professional but warm tone. Include an apology, an explanation, the new deadline, and compensation (3 months of free maintenance).

Clarity is your best ally. Specify exactly what you need, in what format, and without taking anything for granted. The more precise you are, the better results you will get.

But clarity alone is not enough. AIs work much better when they understand the full picture and can adopt a specific perspective. In the next lesson you will see how providing context and assigning roles turns generic responses into personalized and relevant solutions.

Building SPAs with Django and HTML Over the Wire: Learn to build real-time single page applications with Python

Building SPAs with Django and HTML Over the Wire: Learn to build real-time single page applications with Python

The HTML over WebSockets approach simplifies single-page application (SPA) development and lets you bypass learning a JavaScript rendering framework such as React, Vue, or Angular, moving the logic to Python. This web application development book provides you with all the Django tools you need to simplify your developments with real-time results.

Buy the book

Help me keep writing

Every coffee gives me a push toward the next article.

Comments

There are no comments yet.