diff --git a/src/main/java/com/unfbx/chatgpt/entity/completions/Completion.java b/src/main/java/com/unfbx/chatgpt/entity/completions/Completion.java index b63f855..73b4995 100644 --- a/src/main/java/com/unfbx/chatgpt/entity/completions/Completion.java +++ b/src/main/java/com/unfbx/chatgpt/entity/completions/Completion.java @@ -121,7 +121,7 @@ public long tokens() { @Getter @AllArgsConstructor public enum Model { - DAVINCI_003("text-davinci-003"), + DAVINCI_003("gpt-3.5-turbo-instruct"), DAVINCI_002("text-davinci-002"), DAVINCI("davinci"), ; diff --git a/src/test/java/com/unfbx/chatgpt/OpenAiClientTest.java b/src/test/java/com/unfbx/chatgpt/OpenAiClientTest.java index 5b18ae6..c26e12f 100644 --- a/src/test/java/com/unfbx/chatgpt/OpenAiClientTest.java +++ b/src/test/java/com/unfbx/chatgpt/OpenAiClientTest.java @@ -248,8 +248,6 @@ public void completionsV3() { Completion q = Completion.builder() .prompt(question) .stop(Arrays.asList(" Human:", " Bot:")) - - .echo(true) .build(); CompletionResponse completions = v2.completions(q); String text = completions.getChoices().get(0).getText();