Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit bf74874

Browse files
authored
Remove references to specific GPT models (#227)
All of the GPT-3 comments are out of date now
1 parent 08e7c01 commit bf74874

File tree

16 files changed

+19
-19
lines changed

16 files changed

+19
-19
lines changed

api/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
POM_ARTIFACT_ID=api
22
POM_NAME=api
3-
POM_DESCRIPTION=Basic java objects for the OpenAI GPT-3 API
3+
POM_DESCRIPTION=Basic java objects for the OpenAI GPT APIs

api/src/main/java/com/theokanning/openai/completion/CompletionChoice.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import lombok.Data;
44

55
/**
6-
* A completion generated by GPT-3
6+
* A completion generated by OpenAI
77
*
88
* https://beta.openai.com/docs/api-reference/completions/create
99
*/
@@ -25,7 +25,7 @@ public class CompletionChoice {
2525
LogProbResult logprobs;
2626

2727
/**
28-
* The reason why GPT-3 stopped generating, for example "length".
28+
* The reason why GPT stopped generating, for example "length".
2929
*/
3030
String finish_reason;
3131
}

api/src/main/java/com/theokanning/openai/completion/CompletionChunk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class CompletionChunk {
2626
long created;
2727

2828
/**
29-
* The GPT-3 model used.
29+
* The model used.
3030
*/
3131
String model;
3232

api/src/main/java/com/theokanning/openai/completion/CompletionResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class CompletionResult {
2929
long created;
3030

3131
/**
32-
* The GPT-3 model used.
32+
* The GPT model used.
3333
*/
3434
String model;
3535

api/src/main/java/com/theokanning/openai/completion/chat/ChatCompletionChoice.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import lombok.Data;
55

66
/**
7-
* A chat completion generated by GPT-3.5
7+
* A chat completion generated by OpenAI
88
*/
99
@Data
1010
public class ChatCompletionChoice {
@@ -21,7 +21,7 @@ public class ChatCompletionChoice {
2121
ChatMessage message;
2222

2323
/**
24-
* The reason why GPT-3 stopped generating, for example "length".
24+
* The reason why GPT stopped generating, for example "length".
2525
*/
2626
@JsonProperty("finish_reason")
2727
String finishReason;

api/src/main/java/com/theokanning/openai/completion/chat/ChatCompletionChunk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ChatCompletionChunk {
2424
long created;
2525

2626
/**
27-
* The GPT-3.5 model used.
27+
* The model used.
2828
*/
2929
String model;
3030

api/src/main/java/com/theokanning/openai/completion/chat/ChatCompletionRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
public class ChatCompletionRequest {
1717

1818
/**
19-
* ID of the model to use. Currently, only gpt-3.5-turbo and gpt-3.5-turbo-0301 are supported.
19+
* ID of the model to use.
2020
*/
2121
String model;
2222

api/src/main/java/com/theokanning/openai/completion/chat/ChatCompletionResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class ChatCompletionResult {
2626
long created;
2727

2828
/**
29-
* The GPT-3.5 model used.
29+
* The GPT model used.
3030
*/
3131
String model;
3232

api/src/main/java/com/theokanning/openai/edit/EditChoice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import lombok.Data;
44

55
/**
6-
* An edit generated by GPT-3
6+
* An edit generated by OpenAi
77
*
88
* https://beta.openai.com/docs/api-reference/edits/create
99
*/

api/src/main/java/com/theokanning/openai/edit/EditResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.util.List;
77

88
/**
9-
* A list of edits generated by GPT-3
9+
* A list of edits generated by OpenAI
1010
*
1111
* https://beta.openai.com/docs/api-reference/edits/create
1212
*/

0 commit comments

Comments
 (0)