From 86408279ed58abc7e0ea4574b8b61e7237e04854 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 22:01:22 +0000 Subject: [PATCH 01/11] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/sirosen/check-jsonschema: 0.28.5 → 0.28.6](https://github.com/sirosen/check-jsonschema/compare/0.28.5...0.28.6) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35b01b587..1b1b4260d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - --skip-glob - "**/migrations/*.py" - repo: https://github.com/sirosen/check-jsonschema - rev: 0.28.5 + rev: 0.28.6 hooks: - id: check-github-workflows - id: check-readthedocs From 0d9062d5c2fb54833fd7d8b879a4c803d770cf54 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:28:03 +0000 Subject: [PATCH 02/11] chore(deps): update dependency langchain to v0.2.6 --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index 804ac146c..1a85bcd31 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -92,7 +92,7 @@ html2text==2024.2.26 openpyxl==3.1.3 # LLM exvaluation -langchain==0.2.5 +langchain==0.2.6 langchain-community==0.2.5 #langchain[llms]==0.1.5 openai==1.35.3 From 9fb50dfbe5cb4622782aaafb1b9b1e0d9418a874 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 04:07:35 +0000 Subject: [PATCH 03/11] chore(deps): update dependency openai to v1.35.4 --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index 804ac146c..1e7eea4ba 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -95,6 +95,6 @@ openpyxl==3.1.3 langchain==0.2.5 langchain-community==0.2.5 #langchain[llms]==0.1.5 -openai==1.35.3 +openai==1.35.4 langchain-openai==0.1.9 tiktoken==0.7.0 From 51f429911174a89655dc4f60154d25c29a8b6fd1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 05:20:59 +0000 Subject: [PATCH 04/11] chore(deps): update dependency langchain-openai to v0.1.10 --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index 1e7eea4ba..32282fee6 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -96,5 +96,5 @@ langchain==0.2.5 langchain-community==0.2.5 #langchain[llms]==0.1.5 openai==1.35.4 -langchain-openai==0.1.9 +langchain-openai==0.1.10 tiktoken==0.7.0 From 14d13bb0311358fd825538587f793815193299ad Mon Sep 17 00:00:00 2001 From: Piotr <36678620+PiotrIw@users.noreply.github.com> Date: Wed, 26 Jun 2024 07:45:49 +0200 Subject: [PATCH 05/11] Update package-lock.json --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c34ca96a..81b4abdd7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -702,9 +702,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001636", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", - "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", + "version": "1.0.30001637", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001637.tgz", + "integrity": "sha512-1x0qRI1mD1o9e+7mBI7XtzFAP4XszbHaVWsMiGbSPLYekKTJF7K+FNk6AsXH4sUpc+qrsI3pVgf1Jdl/uGkuSQ==", "dev": true, "funding": [ { From cb4e0cfdef9dd33d2c50a21119580e3e81ec2830 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 05:58:47 +0000 Subject: [PATCH 06/11] chore(deps): update dependency langchain-community to v0.2.6 --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index 9e0dff2ff..d4d34e03f 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -93,7 +93,7 @@ openpyxl==3.1.3 # LLM exvaluation langchain==0.2.6 -langchain-community==0.2.5 +langchain-community==0.2.6 #langchain[llms]==0.1.5 openai==1.35.4 langchain-openai==0.1.10 From 57be66fea739dd8a381a365337527a48e1d250b8 Mon Sep 17 00:00:00 2001 From: Piotr <36678620+PiotrIw@users.noreply.github.com> Date: Thu, 27 Jun 2024 20:00:51 +0200 Subject: [PATCH 07/11] Update package-lock.json --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 81b4abdd7..21c2680e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -702,9 +702,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001637", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001637.tgz", - "integrity": "sha512-1x0qRI1mD1o9e+7mBI7XtzFAP4XszbHaVWsMiGbSPLYekKTJF7K+FNk6AsXH4sUpc+qrsI3pVgf1Jdl/uGkuSQ==", + "version": "1.0.30001638", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz", + "integrity": "sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==", "dev": true, "funding": [ { From 59222a4ca6116066ee91ac717717dee00ef02fcd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:01:31 +0000 Subject: [PATCH 08/11] chore(deps): update dependency sentry-sdk to v2.7.1 --- requirements/production.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/production.txt b/requirements/production.txt index 0c3d19ead..8062ad4f4 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -4,4 +4,4 @@ # Django==3.2.23 gevent==24.2.1 gunicorn==22.0.0 -sentry-sdk==2.6.0 +sentry-sdk==2.7.1 From ed33f4620926b4bac0a8ce9521b2b15465c6468d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:01:58 +0000 Subject: [PATCH 09/11] chore(deps): update dependency openai to v1.35.6 --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index d4d34e03f..255e032c1 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -95,6 +95,6 @@ openpyxl==3.1.3 langchain==0.2.6 langchain-community==0.2.6 #langchain[llms]==0.1.5 -openai==1.35.4 +openai==1.35.6 langchain-openai==0.1.10 tiktoken==0.7.0 From 8fc4ea1dcb123ede834da44f9a3f63950f1f7347 Mon Sep 17 00:00:00 2001 From: PiotrIw Date: Thu, 27 Jun 2024 18:40:13 +0000 Subject: [PATCH 10/11] chore: version bumpup --- feder/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feder/__init__.py b/feder/__init__.py index 9eb3f1773..0f075c09c 100644 --- a/feder/__init__.py +++ b/feder/__init__.py @@ -1,5 +1,5 @@ # PEP 396: The __version__ attribute's value SHOULD be a string. -__version__ = "1.5.16" +__version__ = "1.5.17" # Compatibility to eg. django-rest-framework From 71095fb5c2aabe442000d6943c037e5353749bc9 Mon Sep 17 00:00:00 2001 From: PiotrIw Date: Thu, 27 Jun 2024 18:40:40 +0000 Subject: [PATCH 11/11] fix: update model version --- feder/llm_evaluation/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feder/llm_evaluation/models.py b/feder/llm_evaluation/models.py index 727f9c627..4e61cbf25 100644 --- a/feder/llm_evaluation/models.py +++ b/feder/llm_evaluation/models.py @@ -503,7 +503,8 @@ def get_response_normalized_template(cls, monitoring): final_prompt = monitoring_response_normalized_template.format( monitoring_template=monitoring.template, ) - llm_engine = settings.OPENAI_API_ENGINE_35 + # llm_engine = settings.OPENAI_API_ENGINE_35 + llm_engine = settings.OPENAI_API_ENGINE_4 monitoring_llm_request = cls.objects.create( name=inspect.currentframe().f_code.co_name, args={"monitoring_pk": monitoring.pk},