Skip to content

Commit 173f1b0

Browse files
authored
Merge pull request #94 from RomiconEZ/main-2-3-0
Release v2.3.0 and Release v2.3.1
2 parents 0d35530 + b63268c commit 173f1b0

File tree

10 files changed

+69
-49
lines changed

10 files changed

+69
-49
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 = 2.2.0
2+
current_version = 2.3.1
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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@ Red Teaming python-framework for testing chatbots and LLM systems
1313
## Install 🚀
1414

1515
```bash
16-
pip install llamator==2.2.0
16+
pip install llamator==2.3.1
1717
```
1818

1919
## Documentation 📚
2020

2121
Documentation Link: [https://romiconez.github.io/llamator](https://romiconez.github.io/llamator/)
2222

23+
## Guides ▶️
24+
25+
* [LLM Red Teaming with LLAMATOR](https://www.youtube.com/watch?v=JGTZMJsgZJU)
26+
* [LLAMATOR: Quick Start Guide](https://www.youtube.com/watch?v=MMez57DsO1k)
27+
2328
## Examples 💡
2429

2530
* 📄 [RAG bot testing via REST API](https://github.com/RomiconEZ/llamator/blob/release/examples/llamator-api.ipynb)

assets/LL.svg

Lines changed: 21 additions & 0 deletions
Loading

assets/LLAMATOR.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/attack_descriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ The `multistage_depth` parameter for using in `history_limit` can be extracted f
183183
```
184184
</details>
185185

186-
### OWASP [LLM01:2025](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) Prompt Injection
186+
### OWASP [LLM01:2025](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) Continuous Prompt Injection
187187

188188
<details>
189189
<summary><strong>Crescendo</strong></summary>
@@ -241,4 +241,4 @@ Attacks the LLM system during a multistage conversation using the argumentum ad
241241
_Original Paper <https://arxiv.org/abs/2310.13548>_
242242

243243
<a href="https://github.com/RomiconEZ/llamator/blob/release/src/llamator/attacks/sycophancy.py">View code on GitHub</a>
244-
</details>
244+
</details>

docs/conf.py

Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,18 @@
44
# https://www.sphinx-doc.org/en/master/usage/configuration.html
55

66
# -- Project information -----------------------------------------------------
7-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8-
97
project = 'LLAMATOR'
10-
copyright = '2024, LLaMasters'
11-
author = 'Neronov Roman, Nizamov Timur, Fazlyev Albert, Ivanov Nikita, Iogan Maksim'
8+
copyright = '2025, Neronov Roman, Nizamov Timur, Ivanov Nikita'
9+
author = 'Neronov Roman, Nizamov Timur, Ivanov Nikita'
1210

1311
# -- General configuration ---------------------------------------------------
14-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
15-
1612
extensions = [
17-
"sphinx.ext.napoleon",# support for google style docstrings
18-
"sphinx.ext.autodoc", # auto* are for automatic code docs generation
19-
"sphinx.ext.autosummary", # as above
20-
"sphinx.ext.intersphinx", # allows to cross reference other sphinx documentations
13+
"sphinx.ext.napoleon", # support for google style docstrings
14+
"sphinx.ext.autodoc", # auto* are for automatic code docs generation
15+
"sphinx.ext.autosummary", # as above
16+
"sphinx.ext.intersphinx", # allows to cross reference other sphinx documentations
2117
"sphinx.ext.autosectionlabel", # each doc section gets automatic reference generated
22-
"myst_parser", # adds support for Markdown
18+
"myst_parser", # adds support for Markdown
2319
"sphinx.ext.extlinks",
2420
"sphinx.ext.mathjax",
2521
"sphinx.ext.todo",
@@ -30,58 +26,46 @@
3026
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
3127

3228
# -- Options for TODOs -------------------------------------------------------
33-
#
34-
3529
todo_include_todos = False
3630

3731
# -- Options for Markdown files ----------------------------------------------
38-
#
39-
4032
myst_enable_extensions = [
4133
"colon_fence",
4234
"deflist",
4335
]
4436
myst_heading_anchors = 3
4537

4638
# -- Options for HTML output -------------------------------------------------
47-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
48-
4939
html_theme = "furo"
5040
html_static_path = ["_static"]
51-
# Set link name generated in the top bar.
41+
42+
html_logo = "../assets/LLAMATOR.svg"
43+
5244
html_title = "LLAMATOR"
5345

5446
html_theme_options = {
5547
"light_css_variables": {
56-
# Primary background colors
5748
"color-background-primary": "#f8f5fa", # Very light pinkish purple background
5849
"color-background-secondary": "#f0ebf3", # Slightly darker pinkish purple
59-
# Text colors
6050
"color-foreground-primary": "#2d1b36", # Very dark purple for primary text
6151
"color-foreground-secondary": "#432952", # Dark purple for secondary text
62-
# Brand colors
6352
"color-brand-primary": "#2d1b36", # Very dark purple
6453
"color-brand-content": "#432952", # Dark purple
65-
# Links
6654
"color-link": "#614378", # Purple for links
6755
"color-link-hover": "#7b5696", # Lighter purple on hover
68-
# Admonitions
6956
"color-admonition-background": "#fff9fc", # Very light pink background for notes
7057
"color-admonition-title-background": "#2d1b36", # Very dark purple for the title
7158
"color-admonition-title": "#ffffff", # White text on dark background
7259
"color-admonition-border": "#2d1b36", # Very dark purple for the border
73-
# Code
7460
"color-code-background": "#f5f0f7", # Light pinkish purple background for code
7561
"color-code-foreground": "#2d1b36", # Very dark purple code text
76-
# Sidebar
7762
"color-sidebar-background": "#f5f0f7", # Light pinkish purple sidebar background
7863
"color-sidebar-item-background--hover": "#ebe4ef", # On menu item hover
7964
"color-sidebar-item-expander-background--hover": "#e0d7e6", # On hover over a drop-down element
8065
"color-sidebar-search-background": "#fff9fc", # Very light pink search background
8166
"color-sidebar-search-background--focus": "#fff9fc", # Same on focus
8267
},
8368
"dark_css_variables": {
84-
# [Leave the dark theme unchanged]
8569
"color-background-primary": "#1a1b24",
8670
"color-background-secondary": "#44475a",
8771
"color-foreground-primary": "#f8f8f2",
@@ -102,8 +86,7 @@
10286
"color-sidebar-search-background": "#44475a",
10387
"color-sidebar-search-background--focus": "#44475a",
10488
},
105-
# [The rest of the settings remain unchanged.]
106-
"sidebar_hide_name": False,
89+
"sidebar_hide_name": True,
10790
"footer_icons": [
10891
{
10992
"name": "GitHub",
@@ -123,14 +106,12 @@
123106

124107
autosectionlabel_prefix_document = True
125108

126-
# Mapping to link other documentations
127109
intersphinx_mapping = {
128110
'python': ('https://docs.python.org/3', None),
129111
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
130112
"numpy": ("https://numpy.org/doc/stable", None),
131113
}
132114

133-
134115
# Configuration for Napoleon extension
135116
napoleon_google_docstring = True
136117
napoleon_numpy_docstring = True
@@ -157,11 +138,4 @@
157138
}
158139

159140
pygments_style = "dracula"
160-
pygments_dark_style = "dracula"
161-
162-
# workaround for sphinx material issue with empty left sidebar
163-
# See: https://github.com/bashtage/sphinx-material/issues/30
164-
# uncomment below lines if you use: html_theme = "sphinx_material"
165-
# html_sidebars = {
166-
# "**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"]
167-
# }
141+
pygments_dark_style = "dracula"

docs/guides.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Guides
2+
======
3+
4+
This section contains YouTube video tutorials providing detailed guides on using LLAMATOR.
5+
6+
.. raw:: html
7+
8+
<div style="display: flex; flex-wrap: wrap; gap: 20px;">
9+
<div style="flex: 1 1 45%; min-width: 300px;">
10+
<h3 style="font-size: 20px;">LLM Red Teaming with LLAMATOR</h3>
11+
<iframe width="100%" height="315" src="https://www.youtube.com/embed/JGTZMJsgZJU" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
12+
</div>
13+
<div style="flex: 1 1 45%; min-width: 300px;">
14+
<h3 style="font-size: 20px;">LLAMATOR: Quick Start Guide</h3>
15+
<iframe width="100%" height="315" src="https://www.youtube.com/embed/MMez57DsO1k" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
16+
</div>
17+
</div>

docs/howtos.md

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

1414
```bash
15-
pip install llamator==2.2.0
15+
pip install llamator==2.3.1
1616
```
1717

1818
## Usage Guide (using LM Studio)

docs/index.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
You can adapt this file completely to your preferences, but it should at least
33
contain the root `toctree` directive.
44
5-
===============================
6-
LLAMATOR
7-
===============================
5+
.. |LLM_SECURITY_TOOLitalic| replace:: *LLM Security Tool*
6+
7+
===================================
8+
|LLM_SECURITY_TOOLitalic|
9+
===================================
810

911
.. |LLAMATOR| replace:: **llamator**
1012
.. _LLAMATOR: https://pypi.org/project/llamator/
@@ -17,6 +19,7 @@ Documentation for |LLAMATOR|_ python package.
1719

1820
project_overview
1921
howtos
22+
guides
2023
attack_descriptions
2124
code_documentation
22-
licenses
25+
licenses

src/llamator/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Version information."""
22

33
# fmt: off
4-
__version__ = '2.2.0' # noqa
4+
__version__ = '2.3.1' # noqa
55
# fmt: on

0 commit comments

Comments
 (0)