From 875773f57b267906e3764e87ce5070bcc7bf6649 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Mon, 18 Mar 2024 18:12:48 +0100 Subject: [PATCH] Fix NVCF backend --- .../components/embedders/nvidia/_nvcf_backend.py | 1 + .../components/generators/nvidia/_nvcf_backend.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/integrations/nvidia/src/haystack_integrations/components/embedders/nvidia/_nvcf_backend.py b/integrations/nvidia/src/haystack_integrations/components/embedders/nvidia/_nvcf_backend.py index d3e0d4a15..7d4b07dca 100644 --- a/integrations/nvidia/src/haystack_integrations/components/embedders/nvidia/_nvcf_backend.py +++ b/integrations/nvidia/src/haystack_integrations/components/embedders/nvidia/_nvcf_backend.py @@ -6,6 +6,7 @@ from .backend import EmbedderBackend +MAX_INPUT_STRING_LENGTH = 2048 MAX_INPUTS = 50 diff --git a/integrations/nvidia/src/haystack_integrations/components/generators/nvidia/_nvcf_backend.py b/integrations/nvidia/src/haystack_integrations/components/generators/nvidia/_nvcf_backend.py index 244000230..c0686c132 100644 --- a/integrations/nvidia/src/haystack_integrations/components/generators/nvidia/_nvcf_backend.py +++ b/integrations/nvidia/src/haystack_integrations/components/generators/nvidia/_nvcf_backend.py @@ -6,9 +6,6 @@ from .backend import GeneratorBackend -MAX_INPUT_STRING_LENGTH = 2048 -MAX_INPUTS = 50 - class NvcfBackend(GeneratorBackend): def __init__(