Dezgo

有料
よって dezgo | 更新済み vor 23 Tagen | 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: