From 17d87b66f7e7577ddb8b8d68d896b3748b51d625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20=C3=87ayl=C4=B1?= <38523756+kaancayli@users.noreply.github.com> Date: Thu, 25 Apr 2024 20:52:29 +0200 Subject: [PATCH] Simplify requirements list --- app/pipeline/chat/file_selector_pipeline.py | 7 ------- app/pipeline/chat/tutor_chat_pipeline.py | 8 +------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/app/pipeline/chat/file_selector_pipeline.py b/app/pipeline/chat/file_selector_pipeline.py index 525a82dd..129a241f 100644 --- a/app/pipeline/chat/file_selector_pipeline.py +++ b/app/pipeline/chat/file_selector_pipeline.py @@ -44,15 +44,8 @@ def __init__(self, callback: Optional[StatusCallback] = None): super().__init__(implementation_id="file_selector_pipeline_reference_impl") request_handler = CapabilityRequestHandler( requirements=RequirementList( - input_cost=1, - output_cost=1, gpt_version_equivalent=3.5, context_length=4096, - vendor="OpenAI", - privacy_compliance=False, - self_hosted=False, - image_recognition=False, - json_mode=False, ) ) completion_args = CompletionArguments(temperature=0, max_tokens=500) diff --git a/app/pipeline/chat/tutor_chat_pipeline.py b/app/pipeline/chat/tutor_chat_pipeline.py index 79e24e08..068818dc 100644 --- a/app/pipeline/chat/tutor_chat_pipeline.py +++ b/app/pipeline/chat/tutor_chat_pipeline.py @@ -47,15 +47,9 @@ def __init__(self, callback: TutorChatStatusCallback): # Set the langchain chat model request_handler = CapabilityRequestHandler( requirements=RequirementList( - input_cost=1, - output_cost=1, gpt_version_equivalent=3.5, context_length=4096, - vendor="OpenAI", - privacy_compliance=False, - self_hosted=False, - image_recognition=False, - json_mode=False, + privacy_compliance=True, ) ) completion_args = CompletionArguments(temperature=0.2, max_tokens=2000)