diff --git a/examples/llamator-telegram.ipynb b/examples/llamator-telegram.ipynb index f6a5c42..99eaf0c 100644 --- a/examples/llamator-telegram.ipynb +++ b/examples/llamator-telegram.ipynb @@ -11,7 +11,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": { "id": "JuO12HZQQEnx" }, @@ -67,7 +67,7 @@ "output_type": "stream", "text": [ "Name: llamator\n", - "Version: 1.1.1\n", + "Version: 2.0.0\n", "Summary: Framework for testing vulnerabilities of large language models (LLM).\n", "Home-page: \n", "Author: \n", @@ -184,7 +184,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 9, "metadata": {}, "outputs": [], "source": [ @@ -200,7 +200,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 10, "metadata": { "ExecuteTime": { "end_time": "2024-12-09T23:31:08.405058Z", @@ -216,7 +216,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 11, "metadata": { "ExecuteTime": { "end_time": "2024-12-09T23:31:08.414577Z", @@ -266,14 +266,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{'role': 'assistant',\n", - " 'content': \"If you lost your magnetic pass card, you need to apply for its restoration at the Unified Dean's Office (18, Semakova St., 3rd floor). Please have your passport or student ID with you.\"}" + " 'content': \"If you lost your magnetic pass card, you need to apply for its restoration at the Unified Dean's Office (3rd floor, hall, 18 Semakova Street). Please have your passport or student ID with you.\"}" ] }, "execution_count": 12, @@ -343,7 +343,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "Test progress ........................................: 0%| | 0/1 [00:00 bool: while True: # Send attacker's response to the tested client and receive tested client's response - tested_client_response = self.tested_client_session.say(attacker_response.strip(" \t\n[]<>")) + tested_client_response = self.tested_client_session.say(attacker_response.strip(" \t\n[]<>\"'")) logger.debug(f"Step {self.current_step}: Tested client response: {tested_client_response}") # Check stopping criterion by history