diff --git a/CHANGELOG.md b/CHANGELOG.md index c66a05e6..8ed64342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +1.2.6 +- [x] replace: Console links with Studio links in pipelines + 1.2.5 - [x] fix: Missing dependency in chrome installation diff --git a/pyproject.toml b/pyproject.toml index aeb2fa3b..cb8ab7e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "skit-pipelines" -version = "1.2.5" +version = "1.2.6" description = "Kubeflow components for ml workflows at skit.ai." authors = ["ltbringer "] license = "MIT" diff --git a/skit_pipelines/components/upload_for_call_and_slot_tagging/__init__.py b/skit_pipelines/components/upload_for_call_and_slot_tagging/__init__.py index 6fd56f6d..fa5edf9b 100644 --- a/skit_pipelines/components/upload_for_call_and_slot_tagging/__init__.py +++ b/skit_pipelines/components/upload_for_call_and_slot_tagging/__init__.py @@ -41,15 +41,10 @@ def fetch_calls_for_slots( df["date"] = df["reftime"].apply(lambda x: parser.isoparse(x).strftime("%Y-%m-%d")) - if pipeline_constants.REGION == pipeline_constants.AP_SOUTH_1: - df["call_link"] = df["call_uuid"].apply( - lambda x: f"{pipeline_constants.CONSOLE_URL}/{org_id}/call-report/#/call?uuid={x}" - ) - else: - df["call_link"] = df.apply( - lambda x: f"{pipeline_constants.STUDIO_URL}/clients/{x.client_uuid}/voice-agents/{x.flow_uuid}/calls/{x.call_uuid}", - axis=1, - ) + df["call_link"] = df.apply( + lambda x: f"{pipeline_constants.STUDIO_URL}/clients/{x.client_uuid}/voice-agents/{x.flow_uuid}/calls/{x.call_uuid}", + axis=1, + ) df["language"] = language_code print(df.head())