Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

strategy-flow.svg 8.9 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
  1. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500">
  2. <!-- [Previous defs section remains the same] -->
  3. <defs>
  4. <!-- Gradients -->
  5. <linearGradient id="pluginGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  6. <stop offset="0%" style="stop-color:#4F46E5;stop-opacity:1" />
  7. <stop offset="100%" style="stop-color:#7C3AED;stop-opacity:1" />
  8. </linearGradient>
  9. <linearGradient id="payloadGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  10. <stop offset="0%" style="stop-color:#DC2626;stop-opacity:1" />
  11. <stop offset="100%" style="stop-color:#EF4444;stop-opacity:1" />
  12. </linearGradient>
  13. <linearGradient id="variantGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  14. <stop offset="0%" style="stop-color:#991B1B;stop-opacity:1" />
  15. <stop offset="100%" style="stop-color:#B91C1C;stop-opacity:1" />
  16. </linearGradient>
  17. <linearGradient id="appGradient" x1="0%" y1="0%" x2="100%" y2="0%">
  18. <stop offset="0%" style="stop-color:#059669;stop-opacity:1" />
  19. <stop offset="100%" style="stop-color:#10B981;stop-opacity:1" />
  20. </linearGradient>
  21. <!-- Arrow marker -->
  22. <marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
  23. <polygon points="0 0, 10 3.5, 0 7" fill="#6B7280"/>
  24. </marker>
  25. <!-- Drop Shadow Filter -->
  26. <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
  27. <feDropShadow dx="2" dy="2" stdDeviation="3" flood-opacity="0.3"/>
  28. </filter>
  29. </defs>
  30. <!-- Plugin Box with Stack Effect -->
  31. <g transform="translate(50, 150)">
  32. <rect width="160" height="100" rx="10" x="16" y="16" fill="#4F46E5" opacity="0.3" />
  33. <rect width="160" height="100" rx="10" x="8" y="8" fill="#4F46E5" opacity="0.5" />
  34. <rect width="160" height="100" rx="10" x="0" y="0" fill="url(#pluginGradient)" filter="url(#shadow)" />
  35. <text x="80" y="45" font-family="system-ui" font-size="16" text-anchor="middle" fill="white" font-weight="bold">Plugin</text>
  36. <text x="80" y="65" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Adversarial LLM</text>
  37. </g>
  38. <!-- Initial Payload Boxes -->
  39. <g transform="translate(300, 80)">
  40. <!-- Each payload with red gradient -->
  41. <g>
  42. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  43. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 1</text>
  44. </g>
  45. <g transform="translate(0, 100)">
  46. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  47. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 2</text>
  48. </g>
  49. <g transform="translate(0, 200)">
  50. <rect width="140" height="60" rx="8" fill="url(#payloadGradient)" filter="url(#shadow)" />
  51. <text x="70" y="35" font-family="system-ui" font-size="14" text-anchor="middle" fill="white">Payload 3</text>
  52. </g>
  53. </g>
  54. <!-- Variant Boxes -->
  55. <g transform="translate(600, 0)">
  56. <!-- [Previous variant boxes with updated y-position] -->
  57. <!-- Variants for Payload 1 -->
  58. <g>
  59. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  60. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 1.1</text>
  61. </g>
  62. <g transform="translate(0, 45)">
  63. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  64. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 1.2</text>
  65. </g>
  66. <g transform="translate(0, 90)">
  67. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  68. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 1.3</text>
  69. </g>
  70. <!-- Variants for Payload 2 -->
  71. <g transform="translate(0, 150)">
  72. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  73. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 2.1</text>
  74. </g>
  75. <g transform="translate(0, 195)">
  76. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  77. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 2.2</text>
  78. </g>
  79. <g transform="translate(0, 240)">
  80. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  81. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 2.3</text>
  82. </g>
  83. <!-- Variants for Payload 3 -->
  84. <g transform="translate(0, 300)">
  85. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  86. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 3.1</text>
  87. </g>
  88. <g transform="translate(0, 345)">
  89. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  90. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 3.2</text>
  91. </g>
  92. <g transform="translate(0, 390)">
  93. <rect width="120" height="40" rx="6" fill="url(#variantGradient)" filter="url(#shadow)" />
  94. <text x="60" y="25" font-family="system-ui" font-size="12" text-anchor="middle" fill="white">Variant 3.3</text>
  95. </g>
  96. </g>
  97. <!-- Application Box -->
  98. <g transform="translate(900, 150)">
  99. <rect width="160" height="100" rx="10" fill="url(#appGradient)" />
  100. <text x="80" y="55" font-family="system-ui" font-size="16" text-anchor="middle" fill="white" font-weight="bold">Application</text>
  101. </g>
  102. <!-- Connecting Lines -->
  103. <g>
  104. <!-- Plugin to Payloads -->
  105. <line x1="210" y1="180" x2="300" y2="110" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  106. <line x1="210" y1="190" x2="300" y2="210" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  107. <line x1="210" y1="200" x2="300" y2="310" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  108. <!-- Payloads to Variants -->
  109. <!-- Payload 1 to its variants -->
  110. <line x1="440" y1="110" x2="600" y2="20" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  111. <line x1="440" y1="110" x2="600" y2="65" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  112. <line x1="440" y1="110" x2="600" y2="110" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  113. <!-- Payload 2 to its variants -->
  114. <line x1="440" y1="210" x2="600" y2="170" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  115. <line x1="440" y1="210" x2="600" y2="215" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  116. <line x1="440" y1="210" x2="600" y2="260" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  117. <!-- Payload 3 to its variants -->
  118. <line x1="440" y1="310" x2="600" y2="320" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  119. <line x1="440" y1="310" x2="600" y2="365" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  120. <line x1="440" y1="310" x2="600" y2="410" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  121. <!-- Variants to Application -->
  122. <!-- First set -->
  123. <line x1="720" y1="20" x2="900" y2="170" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  124. <line x1="720" y1="65" x2="900" y2="180" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  125. <line x1="720" y1="110" x2="900" y2="190" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  126. <!-- Second set -->
  127. <line x1="720" y1="170" x2="900" y2="200" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  128. <line x1="720" y1="215" x2="900" y2="210" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  129. <line x1="720" y1="260" x2="900" y2="220" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  130. <!-- Third set -->
  131. <line x1="720" y1="320" x2="900" y2="230" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  132. <line x1="720" y1="365" x2="900" y2="240" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  133. <line x1="720" y1="410" x2="900" y2="250" stroke="#6B7280" stroke-width="2" marker-end="url(#arrowhead)"/>
  134. </g>
  135. </svg>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...