Dezgo

付费
通过 dezgo | 已更新 22일 전 | 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: