From fd9314dc55fbc14f4c7e4f70e7657d649b790d68 Mon Sep 17 00:00:00 2001 From: Anastasiia Solop <35258279+anastasiya1155@users.noreply.github.com> Date: Fri, 15 Dec 2023 06:42:02 -0500 Subject: [PATCH 1/2] use gpt-4 model for answer generation --- client/src/components/Chat/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Chat/index.tsx b/client/src/components/Chat/index.tsx index e9a4387171..5fbb2e3e34 100644 --- a/client/src/components/Chat/index.tsx +++ b/client/src/components/Chat/index.tsx @@ -130,7 +130,7 @@ const Chat = () => { : '' }&answer_model=${ preferredAnswerSpeed === 'normal' - ? 'gpt-4-turbo-24k' + ? 'gpt-4' : 'gpt-3.5-turbo-finetuned' }`; console.log(url); From 03ddd59d283012aed8dba22954a84b3fe5d3fc6a Mon Sep 17 00:00:00 2001 From: Anastasiia Solop <35258279+anastasiya1155@users.noreply.github.com> Date: Fri, 15 Dec 2023 06:44:40 -0500 Subject: [PATCH 2/2] lint fix --- client/src/components/Chat/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/components/Chat/index.tsx b/client/src/components/Chat/index.tsx index 5fbb2e3e34..69a659188e 100644 --- a/client/src/components/Chat/index.tsx +++ b/client/src/components/Chat/index.tsx @@ -129,9 +129,7 @@ const Chat = () => { }` : '' }&answer_model=${ - preferredAnswerSpeed === 'normal' - ? 'gpt-4' - : 'gpt-3.5-turbo-finetuned' + preferredAnswerSpeed === 'normal' ? 'gpt-4' : 'gpt-3.5-turbo-finetuned' }`; console.log(url); const eventSource = new EventSource(url);