Updated moderation icons
This commit is contained in:
parent
c079781d18
commit
739b8f08be
|
|
@ -20,7 +20,7 @@ class OpenAIModeration implements INode {
|
|||
this.name = 'inputModerationOpenAI'
|
||||
this.version = 1.0
|
||||
this.type = 'Moderation'
|
||||
this.icon = 'openai.png'
|
||||
this.icon = 'openai.svg'
|
||||
this.category = 'Moderation'
|
||||
this.description = 'Check whether content complies with OpenAI usage policies.'
|
||||
this.baseClasses = [this.type, ...getBaseClasses(Moderation)]
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 3.9 KiB |
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M28.1536 13.4602C28.7974 11.5536 28.5757 9.46491 27.5462 7.73063C25.9979 5.07057 22.8853 3.70204 19.8455 4.34605C18.4931 2.84277 16.5502 1.98788 14.5133 2.00013C11.406 1.99313 8.64905 3.96717 7.69311 6.88448C5.69698 7.28787 3.97398 8.52077 2.96571 10.2682C1.40588 12.9212 1.76148 16.2656 3.84539 18.5406C3.2016 20.4473 3.42329 22.5359 4.45283 24.2702C6.00114 26.9303 9.11372 28.2988 12.1536 27.6548C13.505 29.1581 15.4488 30.013 17.4857 29.9999C20.5948 30.0077 23.3526 28.0319 24.3086 25.112C26.3047 24.7086 28.0277 23.4757 29.036 21.7283C30.594 19.0752 30.2376 15.7335 28.1545 13.4585L28.1536 13.4602ZM17.4875 28.1702C16.2434 28.1719 15.0383 27.7423 14.0832 26.9557C14.1266 26.9329 14.202 26.8918 14.2508 26.862L19.9013 23.642C20.1904 23.4801 20.3678 23.1765 20.366 22.8483V14.988L22.7541 16.3487C22.7798 16.3609 22.7966 16.3854 22.8002 16.4134V22.9227C22.7966 25.8173 20.421 28.1641 17.4875 28.1702ZM6.06233 23.355C5.43893 22.2927 5.21457 21.0475 5.42829 19.8391C5.46996 19.8636 5.54357 19.9083 5.59589 19.938L11.2464 23.1581C11.5328 23.3235 11.8875 23.3235 12.1749 23.1581L19.0731 19.2275V21.9488C19.0748 21.9768 19.0615 22.0039 19.0394 22.0214L13.3277 25.2756C10.7835 26.7212 7.53437 25.8619 6.06321 23.355H6.06233ZM4.57521 11.1843C5.19595 10.1203 6.17584 9.30654 7.34283 8.8839C7.34283 8.93203 7.34017 9.01691 7.34017 9.07641V15.5174C7.3384 15.8447 7.51575 16.1483 7.80395 16.3102L14.7022 20.2399L12.3141 21.6005C12.2901 21.6163 12.26 21.6189 12.2334 21.6075L6.52079 18.3507C3.98196 16.8999 3.11115 13.6948 4.57432 11.1852L4.57521 11.1843ZM24.196 15.6898L17.2978 11.7592L19.6858 10.3994C19.7098 10.3837 19.7399 10.3811 19.7665 10.3924L25.4791 13.6466C28.0224 15.0965 28.8941 18.307 27.4247 20.8165C26.8031 21.8788 25.8241 22.6926 24.658 23.1161V16.4826C24.6606 16.1553 24.4842 15.8526 24.1969 15.6898H24.196ZM26.5725 12.16C26.5308 12.1346 26.4572 12.0908 26.4049 12.0611L20.7544 8.84103C20.468 8.67565 20.1133 8.67565 19.8259 8.84103L12.9277 12.7716V10.0503C12.926 10.0223 12.9393 9.99518 12.9614 9.97768L18.6731 6.72611C21.2173 5.27795 24.47 6.13984 25.9367 8.65115C26.5566 9.71167 26.7809 10.9533 26.5707 12.16H26.5725ZM11.6295 17.0102L9.24052 15.6495C9.21481 15.6373 9.19796 15.6128 9.19441 15.5848V9.07553C9.19619 6.17747 11.5789 3.82892 14.5159 3.83067C15.7583 3.83067 16.9608 4.26118 17.9158 5.04519C17.8724 5.06795 17.7979 5.10907 17.7482 5.13882L12.0977 8.35889C11.8086 8.52077 11.6313 8.82353 11.633 9.15166L11.6295 17.0085V17.0102ZM12.9268 14.2504L15.9995 12.4995L19.0722 14.2495V17.7505L15.9995 19.5005L12.9268 17.7505V14.2504Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
|
@ -19,7 +19,7 @@ class SimplePromptModeration implements INode {
|
|||
this.name = 'inputModerationSimple'
|
||||
this.version = 1.0
|
||||
this.type = 'Moderation'
|
||||
this.icon = 'simple_moderation.png'
|
||||
this.icon = 'moderation.svg'
|
||||
this.category = 'Moderation'
|
||||
this.description = 'Check whether input consists of any text from Deny list, and prevent being sent to LLM'
|
||||
this.baseClasses = [this.type, ...getBaseClasses(Moderation)]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6 17V7.47514C6 6.76767 6.71453 6.28581 7.37139 6.54856L8.23671 6.89468C9.9777 7.59108 11.9441 7.43351 13.552 6.46878L16 5L18.448 6.46878C20.0559 7.43351 22.0223 7.59108 23.7633 6.89468L24.6286 6.54856C25.2855 6.28581 26 6.76785 26 7.47532V17C26 22 21.5228 27 16 27C10.4772 27 6 22 6 17Z" stroke="black" stroke-width="2" stroke-linejoin="round"/>
|
||||
<path d="M12 16L14.5 18.5L20 13" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 573 B |
Binary file not shown.
|
Before Width: | Height: | Size: 44 KiB |
Loading…
Reference in New Issue