Interesting thing I learned today: Why is the correct prompt so important for an LLM?
I’ll use a bit of Russian here because it’s important for understanding.
Recently, on Instagram, I saw a short video where a guy said: if you ask ChatGPT to draw a picture with the prompt “Нарисуй мне комнату без котов” (“Draw a room where there is no cat”), it will still draw a room with cats. Looks like a glitch) let’s see what might happen?
During an AI course, I learned that all sentences are split into “tokens,” and some words are simply lost as meaningless (such as the, with, a, no, and, etc.). In this case, the LLM receives the following tokens: “нарисуй”, “комнату”, “котов” (“draw”, “room”, “cats”).
If you want the desired result (an empty room without cats), you should say: “Нарисуй мне комнату, где отсутствуют коты” (“Draw a room without cats”). This way, the LLM will receive the tokens: “нарисуй”, “комнату”, “отсутствуют”, “коты” (“draw”, “room”, “without”, “cats”).
Using the right prompts is crucial when working with AI Agents and LLMs 🙂
P.S. I tested this several times about a week ago, and it worked. However, today it seems like the glitch isn’t always there because LLMs are improving very fast.
