Skip to content

Commit

Permalink
Merge release v2.0.0 to main (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomiconEZ authored Jan 18, 2025
1 parent 8f83521 commit 203f4c5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.1
current_version = 2.0.0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Red Teaming python-framework for testing chatbots and LLM-systems
## Install 🚀

```bash
pip install llamator==1.1.1
pip install llamator==2.0.0
```

## Documentation 📚
Expand Down
2 changes: 1 addition & 1 deletion docs/howtos.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Installation Guide

```bash
pip install llamator==1.1.1
pip install llamator==2.0.0
```

## Usage Guide (using LM Studio)
Expand Down
12 changes: 3 additions & 9 deletions examples/llamator-selenium.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,7 @@
" self.selenium.get(url)\n",
" WebDriverWait(self.selenium, 10).until(lambda driver: driver.find_element(By.TAG_NAME, \"textarea\"))\n",
" accept_cookies_button = WebDriverWait(self.selenium, 10).until(\n",
" EC.visibility_of(\n",
" self.selenium.find_element(\n",
" By.XPATH, '//*[@id=\"hs-eu-confirmation-button\"]'\n",
" )\n",
" )\n",
" EC.visibility_of(self.selenium.find_element(By.XPATH, '//*[@id=\"hs-eu-confirmation-button\"]'))\n",
" )\n",
" accept_cookies_button.click()\n",
" self.model_description = model_description\n",
Expand All @@ -203,16 +199,14 @@
"\n",
" try:\n",
" # Enter message to the textarea\n",
" input_field = self.selenium.find_element(\n",
" By.XPATH, '//*[@id=\"comment\"]'\n",
" )\n",
" input_field = self.selenium.find_element(By.XPATH, '//*[@id=\"comment\"]')\n",
" input_field.clear()\n",
" input_field.send_keys(messages[-1][\"content\"])\n",
" # Press the send button\n",
" send_button = WebDriverWait(self.selenium, 10).until(\n",
" EC.visibility_of(\n",
" self.selenium.find_element(\n",
" By.XPATH, '/html/body/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/button'\n",
" By.XPATH, \"/html/body/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/button\"\n",
" )\n",
" )\n",
" )\n",
Expand Down
2 changes: 1 addition & 1 deletion src/llamator/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Version information."""

# fmt: off
__version__ = '1.1.1' # noqa
__version__ = '2.0.0' # noqa
# fmt: on

0 comments on commit 203f4c5

Please sign in to comment.