Skip to content

Commit 51d16b1

Browse files
authored
Merge pull request #175 from LLAMATOR-Core/main_3_4_0
Bump version to v3.4.0
2 parents f1bd12d + 014d444 commit 51d16b1

File tree

10 files changed

+414
-190
lines changed

10 files changed

+414
-190
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.3.0
2+
current_version = 3.4.0
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Red Teaming python-framework for testing chatbots and GenAI systems
1414
## Install 🚀
1515

1616
```bash
17-
pip install llamator==3.3.0
17+
pip install llamator==3.4.0
1818
```
1919

2020
## Documentation 📚

docs/howtos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Installation Guide
1414

1515
```bash
16-
pip install llamator==3.3.0
16+
pip install llamator==3.4.0
1717
```
1818

1919
## Usage Guide (using LM Studio)

examples/llamator-api.ipynb

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,24 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": 1,
1514
"metadata": {
1615
"ExecuteTime": {
17-
"end_time": "2025-07-06T13:58:57.453098Z",
18-
"start_time": "2025-07-06T13:58:57.059519Z"
16+
"end_time": "2025-09-23T23:15:49.914432Z",
17+
"start_time": "2025-09-23T23:15:48.231631Z"
1918
}
2019
},
20+
"source": [
21+
"%pip install llamator python-dotenv requests --upgrade --quiet\n",
22+
"%pip show llamator"
23+
],
2124
"outputs": [
2225
{
2326
"name": "stdout",
2427
"output_type": "stream",
2528
"text": [
29+
"Note: you may need to restart the kernel to use updated packages.\n",
2630
"Name: llamator\r\n",
27-
"Version: 3.3.0\r\n",
31+
"Version: 3.4.0\r\n",
2832
"Summary: Framework for testing vulnerabilities of GenAI systems.\r\n",
2933
"Home-page: https://github.com/LLAMATOR-Core/llamator\r\n",
3034
"Author: Roman Neronov, Timur Nizamov, Nikita Ivanov\r\n",
@@ -37,34 +41,36 @@
3741
]
3842
}
3943
],
40-
"source": [
41-
"%pip install llamator python-dotenv requests --upgrade --quiet\n",
42-
"%pip show llamator"
43-
]
44+
"execution_count": 1
4445
},
4546
{
4647
"cell_type": "code",
47-
"execution_count": 1,
4848
"metadata": {
4949
"ExecuteTime": {
50-
"end_time": "2025-07-15T10:52:14.326798Z",
51-
"start_time": "2025-07-15T10:52:08.534205Z"
50+
"end_time": "2025-09-23T23:16:02.192727Z",
51+
"start_time": "2025-09-23T23:15:53.249841Z"
5252
}
5353
},
54-
"outputs": [],
5554
"source": [
5655
"import llamator"
57-
]
56+
],
57+
"outputs": [],
58+
"execution_count": 2
5859
},
5960
{
6061
"cell_type": "code",
61-
"execution_count": 3,
6262
"metadata": {
6363
"ExecuteTime": {
64-
"end_time": "2025-04-05T21:56:28.196836Z",
65-
"start_time": "2025-04-05T21:56:28.195091Z"
64+
"end_time": "2025-09-23T23:16:02.202719Z",
65+
"start_time": "2025-09-23T23:16:02.198275Z"
6666
}
6767
},
68+
"source": [
69+
"import os\n",
70+
"from dotenv import load_dotenv\n",
71+
"\n",
72+
"load_dotenv(\".env\") # example of environment variables in the .env.example file"
73+
],
6874
"outputs": [
6975
{
7076
"data": {
@@ -77,12 +83,7 @@
7783
"output_type": "execute_result"
7884
}
7985
],
80-
"source": [
81-
"import os\n",
82-
"from dotenv import load_dotenv\n",
83-
"\n",
84-
"load_dotenv(\".env\") # example of environment variables in the .env.example file"
85-
]
86+
"execution_count": 3
8687
},
8788
{
8889
"cell_type": "markdown",
@@ -210,13 +211,15 @@
210211
},
211212
{
212213
"cell_type": "code",
213-
"execution_count": 2,
214214
"metadata": {
215215
"ExecuteTime": {
216-
"end_time": "2025-07-15T10:52:22.481186Z",
217-
"start_time": "2025-07-15T10:52:22.474697Z"
216+
"end_time": "2025-09-23T23:16:02.720737Z",
217+
"start_time": "2025-09-23T23:16:02.716536Z"
218218
}
219219
},
220+
"source": [
221+
"llamator.print_test_preset(\"all\")"
222+
],
220223
"outputs": [
221224
{
222225
"name": "stdout",
@@ -240,6 +243,17 @@
240243
" \"num_transformations\": 5,\n",
241244
" \"sigma\": 0.4\n",
242245
" }),\n",
246+
" (\"cop\", {\n",
247+
" \"custom_dataset\": None,\n",
248+
" \"initial_principles\": None,\n",
249+
" \"language\": \"any\",\n",
250+
" \"multistage_depth\": 12,\n",
251+
" \"num_attempts\": 3,\n",
252+
" \"principle_library_size\": 12,\n",
253+
" \"similarity_penalty_threshold\": 0.8,\n",
254+
" \"similarity_penalty_weight\": 0.2,\n",
255+
" \"use_similarity_judge\": True\n",
256+
" }),\n",
243257
" (\"crescendo\", {\n",
244258
" \"custom_dataset\": None,\n",
245259
" \"language\": \"any\",\n",
@@ -261,6 +275,7 @@
261275
" \"multistage_depth\": 20,\n",
262276
" \"num_attempts\": 3\n",
263277
" }),\n",
278+
" (\"repetition_token\", { \"num_attempts\": 3, \"repeat_count\": 10 }),\n",
264279
" (\"shuffle\", {\n",
265280
" \"custom_dataset\": None,\n",
266281
" \"language\": \"any\",\n",
@@ -296,9 +311,7 @@
296311
]
297312
}
298313
],
299-
"source": [
300-
"llamator.print_test_preset(\"all\")"
301-
]
314+
"execution_count": 4
302315
},
303316
{
304317
"cell_type": "code",

0 commit comments

Comments
 (0)