Dezgo

유료
분류별 dezgo | 업데이트됨 23 days ago | Artificial Intelligence/Machine Learning
인기

9.6 / 10

지연 시간

7,433ms

서비스 수준

99%

Health Check

N/A

모든 자습서로 돌아가기 (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: