enkryptai-sdk 1.0.11__py3-none-any.whl → 1.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- enkryptai_sdk/red_team.py +4 -12
- {enkryptai_sdk-1.0.11.dist-info → enkryptai_sdk-1.0.12.dist-info}/METADATA +1 -1
- {enkryptai_sdk-1.0.11.dist-info → enkryptai_sdk-1.0.12.dist-info}/RECORD +6 -6
- {enkryptai_sdk-1.0.11.dist-info → enkryptai_sdk-1.0.12.dist-info}/WHEEL +0 -0
- {enkryptai_sdk-1.0.11.dist-info → enkryptai_sdk-1.0.12.dist-info}/licenses/LICENSE +0 -0
- {enkryptai_sdk-1.0.11.dist-info → enkryptai_sdk-1.0.12.dist-info}/top_level.txt +0 -0
enkryptai_sdk/red_team.py
CHANGED
|
@@ -106,9 +106,7 @@ class RedTeamClient(BaseClient):
|
|
|
106
106
|
# "async": config.async_enabled,
|
|
107
107
|
"dataset_name": config.dataset_name,
|
|
108
108
|
"test_name": config.test_name,
|
|
109
|
-
"redteam_test_configurations":
|
|
110
|
-
k: v.to_dict() for k, v in test_configs.items()
|
|
111
|
-
},
|
|
109
|
+
"redteam_test_configurations": test_configs,
|
|
112
110
|
}
|
|
113
111
|
|
|
114
112
|
if config.target_model_configuration:
|
|
@@ -153,9 +151,7 @@ class RedTeamClient(BaseClient):
|
|
|
153
151
|
# "async": config.async_enabled,
|
|
154
152
|
"dataset_name": config.dataset_name,
|
|
155
153
|
"test_name": config.test_name,
|
|
156
|
-
"redteam_test_configurations":
|
|
157
|
-
k: v.to_dict() for k, v in test_configs.items()
|
|
158
|
-
},
|
|
154
|
+
"redteam_test_configurations": test_configs,
|
|
159
155
|
}
|
|
160
156
|
|
|
161
157
|
headers = {
|
|
@@ -196,9 +192,7 @@ class RedTeamClient(BaseClient):
|
|
|
196
192
|
payload = {
|
|
197
193
|
# "async": config.async_enabled,
|
|
198
194
|
"test_name": config.test_name,
|
|
199
|
-
"redteam_test_configurations":
|
|
200
|
-
k: v.to_dict() for k, v in test_configs.items()
|
|
201
|
-
},
|
|
195
|
+
"redteam_test_configurations": test_configs,
|
|
202
196
|
}
|
|
203
197
|
|
|
204
198
|
if config.dataset_configuration:
|
|
@@ -252,9 +246,7 @@ class RedTeamClient(BaseClient):
|
|
|
252
246
|
payload = {
|
|
253
247
|
# "async": config.async_enabled,
|
|
254
248
|
"test_name": config.test_name,
|
|
255
|
-
"redteam_test_configurations":
|
|
256
|
-
k: v.to_dict() for k, v in test_configs.items()
|
|
257
|
-
},
|
|
249
|
+
"redteam_test_configurations": test_configs,
|
|
258
250
|
}
|
|
259
251
|
|
|
260
252
|
if config.dataset_configuration:
|
|
@@ -9,7 +9,7 @@ enkryptai_sdk/evals.py,sha256=BywyEgIT7xdJ58svO_sDNOMVowdB0RTGoAZPEbCnDVo,2595
|
|
|
9
9
|
enkryptai_sdk/guardrails.py,sha256=NluimOA0gM9N3S_q47LTUeG97t9PlYqPHlZahDPkJvI,16365
|
|
10
10
|
enkryptai_sdk/guardrails_old.py,sha256=SgzPZkTzbAPD9XfmYNG6M1-TrzbhDHpAkI3FjnVWS_s,6434
|
|
11
11
|
enkryptai_sdk/models.py,sha256=EA2jwdoYqOjQ8GuRawsZ3syIvVinwhvodTLQlvt51Mo,11399
|
|
12
|
-
enkryptai_sdk/red_team.py,sha256=
|
|
12
|
+
enkryptai_sdk/red_team.py,sha256=A1b6R5d3dtZMfb5npBrSu4RX2X-C9V4hubyO9g3BZlA,18441
|
|
13
13
|
enkryptai_sdk/response.py,sha256=43JRubzgGCpoVxYNzBZY0AlUgLbfcXD_AwD7wU3qY9o,4086
|
|
14
14
|
enkryptai_sdk/dto/__init__.py,sha256=wHgIv_OCnVMJOys-vqImF59ifogDrMcgxVRmfNayVvc,2761
|
|
15
15
|
enkryptai_sdk/dto/ai_proxy.py,sha256=clwMN4xdH8Zr55dnhilHbs-qaHRlCOrLPrij0Zd1Av0,11283
|
|
@@ -20,8 +20,8 @@ enkryptai_sdk/dto/deployments.py,sha256=Aw4b8tDA3FYIomqDvCjblCXTagL4bT8Fx91X0SFX
|
|
|
20
20
|
enkryptai_sdk/dto/guardrails.py,sha256=wfKm2R0uJAq9nljLBPuuT05tj1nBqZraga-5lMHd3n8,49812
|
|
21
21
|
enkryptai_sdk/dto/models.py,sha256=08ilpQkp_tpUDzM5Jt-mrWdHlbBgYst0plzzT4G-Gds,14184
|
|
22
22
|
enkryptai_sdk/dto/red_team.py,sha256=UNqiPxKqk8TJ-hLtBCWRvtoXyGCFiz3X7bKpx8sTQxo,18298
|
|
23
|
-
enkryptai_sdk-1.0.
|
|
24
|
-
enkryptai_sdk-1.0.
|
|
25
|
-
enkryptai_sdk-1.0.
|
|
26
|
-
enkryptai_sdk-1.0.
|
|
27
|
-
enkryptai_sdk-1.0.
|
|
23
|
+
enkryptai_sdk-1.0.12.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
+
enkryptai_sdk-1.0.12.dist-info/METADATA,sha256=i6FJiWp2gJs3mZZ4YkQWGIvmHKCyD6PLpvvHzGNUKLQ,62092
|
|
25
|
+
enkryptai_sdk-1.0.12.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
26
|
+
enkryptai_sdk-1.0.12.dist-info/top_level.txt,sha256=s2X9UJJwvJamNmr6ZXWyyQe60sXtQGWFuaBYfhgHI_4,14
|
|
27
|
+
enkryptai_sdk-1.0.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|