From 08b3e5011d3ec6079b461d00001089117bf91ea0 Mon Sep 17 00:00:00 2001 From: Vivek Aditya Date: Sat, 3 Aug 2024 17:33:53 +0530 Subject: [PATCH] Remove urlencode for params as request library already does it --- athina/steps/api.py | 1 - pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/athina/steps/api.py b/athina/steps/api.py index 44a5bed..09bc0d2 100644 --- a/athina/steps/api.py +++ b/athina/steps/api.py @@ -65,7 +65,6 @@ def execute(self, input_data: Any) -> Union[Dict[str, Any], None]: if self.params is not None: for key, value in self.params.items(): self.params[key] = self.env.from_string(value).render(**prepared_input_data) - self.params[key] = urllib.parse.quote(self.params[key], safe='') retries = 3 # number of retries timeout = 5 # seconds diff --git a/pyproject.toml b/pyproject.toml index cf1f5c4..2a1c9f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "athina" -version = "1.5.6" +version = "1.5.7" description = "Python SDK to configure and run evaluations for your LLM-based application" authors = ["Shiv Sakhuja ", "Akshat Gupta ", "Vivek Aditya ", "Akhil Bisht "] readme = "README.md"