From 436aaffbf6bb0ca75fd11627c193124bfdf26af6 Mon Sep 17 00:00:00 2001 From: amit-elbaz Date: Tue, 20 Aug 2024 12:58:30 +0000 Subject: [PATCH] make the call generation create first and last name that match the language requested. --- src/workflows/calls_generation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workflows/calls_generation.py b/src/workflows/calls_generation.py index 7c30435..2361883 100644 --- a/src/workflows/calls_generation.py +++ b/src/workflows/calls_generation.py @@ -52,8 +52,8 @@ def pipeline( "model_name": generation_model, "language": language, "fields": [ - "first_name: in spanish, no special characters", - "last_name: in spanish, no special characters", + f"first_name: in {language}, no special characters", + f"last_name: in {language}, no special characters", "phone_number", "email", "client_id",