From 32fea94642cab7045b351b0ab5e22750cecd6634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20W=C4=85troba?= <markowanga@gmail.com> Date: Tue, 17 Aug 2021 20:36:29 +0200 Subject: [PATCH] Fix embedding API --- .../service_core/embedding/embedding_base_processor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sziszapangma/integration/service_core/embedding/embedding_base_processor.py b/sziszapangma/integration/service_core/embedding/embedding_base_processor.py index 00a2c2e..358299c 100644 --- a/sziszapangma/integration/service_core/embedding/embedding_base_processor.py +++ b/sziszapangma/integration/service_core/embedding/embedding_base_processor.py @@ -28,6 +28,7 @@ class EmbeddingBaseProcessor(ABC): def process_embeddings(self, language: str): words = request.json + print(words) if words is not List[str]: raise Exception("Incorrect body") return jsonify( -- GitLab