From 55e2674b9e80e39e2aa50e6f049e3067d802da32 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Thu, 9 May 2024 15:56:44 +0530 Subject: [PATCH 1/5] Update _cm.json --- script/get-generic-python-lib/_cm.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/get-generic-python-lib/_cm.json b/script/get-generic-python-lib/_cm.json index fa84d62fa..fe6b09184 100644 --- a/script/get-generic-python-lib/_cm.json +++ b/script/get-generic-python-lib/_cm.json @@ -734,6 +734,14 @@ "CM_STREAMLIT_VERSION" ] }, + "openai": { + "env": { + "CM_GENERIC_PYTHON_PACKAGE_NAME": "openai" + }, + "new_env_keys": [ + "CM_OPENAI_VERSION" + ] + }, "streamlit_option_menu": { "env": { "CM_GENERIC_PYTHON_PACKAGE_NAME": "streamlit_option_menu" From 5b83b256cc33a244e4a94d3658c2a55bfbdcc7c4 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Thu, 9 May 2024 21:24:23 +0530 Subject: [PATCH 2/5] Added anthropic support for LLM --- script/get-generic-python-lib/_cm.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/get-generic-python-lib/_cm.json b/script/get-generic-python-lib/_cm.json index fe6b09184..34b86cfb0 100644 --- a/script/get-generic-python-lib/_cm.json +++ b/script/get-generic-python-lib/_cm.json @@ -742,6 +742,14 @@ "CM_OPENAI_VERSION" ] }, + "anthropic": { + "env": { + "CM_GENERIC_PYTHON_PACKAGE_NAME": "anthropic" + }, + "new_env_keys": [ + "CM_ANTHROPIC_VERSION" + ] + }, "streamlit_option_menu": { "env": { "CM_GENERIC_PYTHON_PACKAGE_NAME": "streamlit_option_menu" From 4f3833fc73f510d6af3e3ebc2f64959714c38ab8 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Sat, 11 May 2024 22:52:26 +0530 Subject: [PATCH 3/5] added support for wget library --- script/get-generic-sys-util/_cm.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index 5fa723b24..9809a532d 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -142,6 +142,16 @@ } } }, + "wget":{ + "env":{ + "CM_SYS_UTIL_NAME" : "wget" + }, + "state":{ + "wget":{ + "apt": "wget" + } + } + }, "ninja-build": { "env": { "CM_SYS_UTIL_NAME": "ninja-build" From 1ee1d330deabd130483ec58f062297110eeeded7 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Sat, 11 May 2024 22:56:09 +0530 Subject: [PATCH 4/5] Added dependency - wget --- script/get-dataset-squad/_cm.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/get-dataset-squad/_cm.json b/script/get-dataset-squad/_cm.json index 1f54ea40e..db342171c 100644 --- a/script/get-dataset-squad/_cm.json +++ b/script/get-dataset-squad/_cm.json @@ -8,6 +8,9 @@ "deps": [ { "tags": "get,sys-utils-cm" + }, + { + "tags": "get,sys-utils,generic,generic-sys-util,_wget" } ], "env": { From b96f1b168db8fba448baa7a8a54172d320829a42 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Sat, 11 May 2024 23:20:19 +0530 Subject: [PATCH 5/5] fixed typo --- script/get-dataset-squad/_cm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/get-dataset-squad/_cm.json b/script/get-dataset-squad/_cm.json index db342171c..1a46db06b 100644 --- a/script/get-dataset-squad/_cm.json +++ b/script/get-dataset-squad/_cm.json @@ -10,7 +10,7 @@ "tags": "get,sys-utils-cm" }, { - "tags": "get,sys-utils,generic,generic-sys-util,_wget" + "tags": "get,sys-util,generic,generic-sys-util,_wget" } ], "env": {