You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (ObjectUtils.isNotEmpty(this.model) && maxTokens > completeModel.getMaxTokens()) {
128
+
thrownewParamException(String.format("Invalid maxTokens: %s, Cannot be larger than the model default configuration %s", maxTokens, completeModel.getMaxTokens()));
Copy file name to clipboardExpand all lines: src/main/java/org/devlive/sdk/openai/model/CompleteModel.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,11 @@ public enum CompleteModel
5
5
TEXT_DAVINCI_003("text-davinci-003",
6
6
"Most capable model in the GPT-3 series. Can perform any task the other GPT-3 models can, often with higher quality, longer output and better instruction-following. It can process up to 4,000 tokens per request.",
7
7
"Complex intent, cause and effect, creative generation, search, summarization for audience",
8
-
4096);
8
+
4096),
9
+
TEXT_CURIE_001("text-curie-001",
10
+
"Very capable, but faster and lower cost than text-davinci-003.",
0 commit comments