From 3213c7d5ffb9a707ea764135e64e55bb6d3430c9 Mon Sep 17 00:00:00 2001 From: LeeJaehyung <540900@naver.com> Date: Thu, 10 Oct 2024 19:23:03 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#181=20Open=20AI=20API=20=EB=B2=84?= =?UTF-8?q?=EC=A0=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- genti-api/src/main/resources/application-common.yaml | 2 +- .../com/gt/genti/openai/dto/PromptAdvancementRequestDto.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/genti-api/src/main/resources/application-common.yaml b/genti-api/src/main/resources/application-common.yaml index 7fd845c9..d5672a2b 100644 --- a/genti-api/src/main/resources/application-common.yaml +++ b/genti-api/src/main/resources/application-common.yaml @@ -9,7 +9,7 @@ spring: open-in-view: false openai: - model: gpt-3.5-turbo + model: gpt-4o-mini schedule: delay: diff --git a/genti-external/src/main/java/com/gt/genti/openai/dto/PromptAdvancementRequestDto.java b/genti-external/src/main/java/com/gt/genti/openai/dto/PromptAdvancementRequestDto.java index 9fc59937..ecb337e7 100644 --- a/genti-external/src/main/java/com/gt/genti/openai/dto/PromptAdvancementRequestDto.java +++ b/genti-external/src/main/java/com/gt/genti/openai/dto/PromptAdvancementRequestDto.java @@ -35,7 +35,7 @@ public static class Message { public static PromptAdvancementRequestDto of(String prompt) { return PromptAdvancementRequestDto.builder() - .model("gpt-3.5-turbo") + .model("gpt-4o-mini") .messages(getMessageList(prompt)) .temperature(1) .maxTokens(300)