Dezgo

PAID
Popularity

9.6 / 10

Latency

6,983ms

Service Level

99%

Health Check

N/A

Back to All Tutorials (6)

Prompt weighting (attention / emphasis)

It is often useful to adjust the importance of parts of the prompt. For example, you may want to make an object more or less prominent, or you may want to draw the AI’s attention to instructions it may have missed.

To do this, you can use the following simple syntax:

  • Append + to a word to increase its importance, - to decrease it:

    • photo of a pizza with pepperoni and cheese+
    • photo of a pizza with pepperoni and cheese-
  • You can add as many + or - as you like to make the word even more or less important:

    • photo of a pizza with pepperoni and cheese+++
    • photo of a pizza with pepperoni and cheese---
  • To apply weight to multiple words at once, enclose them in ():

    • photo of a pizza with (pepperoni and cheese)+
    • photo of a pizza with (pepperoni and cheese)-
  • Instead of + or -, you can also use numbers between 0 and 2 (1 being the default weight):

    • photo of a pizza with (pepperoni and cheese)0.8
    • photo of a pizza with (pepperoni and cheese)1.2

Adjusting the pepperoni / cheese ratio: