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

16 files changed

+19
-19
lines changed

api/gradle.properties

+1-1
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

+2-2
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

+1-1
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

+1-1
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

+2-2
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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
*/

api/src/main/java/com/theokanning/openai/embedding/EmbeddingResult.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
public class EmbeddingResult {
1515

1616
/**
17-
* The GPT-3 model used for generating embeddings
17+
* The GPTmodel used for generating embeddings
1818
*/
1919
String model;
2020

api/src/main/java/com/theokanning/openai/model/Model.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.util.List;
77

88
/**
9-
* GPT-3 model details
9+
* GPT model details
1010
*
1111
* https://beta.openai.com/docs/api-reference/models
1212
*/
@@ -23,7 +23,7 @@ public class Model {
2323
public String object;
2424

2525
/**
26-
* The owner of the GPT-3 model, typically "openai"
26+
* The owner of the model, typically "openai"
2727
*/
2828
@JsonProperty("owned_by")
2929
public String ownedBy;

api/src/main/java/com/theokanning/openai/model/Permission.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import lombok.Data;
55

66
/**
7-
* GPT-3 model permissions
7+
* Model permissions
88
* I couldn't find documentation for the specific permissions, and I've elected to leave them undocumented rather than
99
* write something incorrect.
1010
*

api/src/main/java/com/theokanning/openai/moderation/ModerationResult.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class ModerationResult {
1717
public String id;
1818

1919
/**
20-
* The GPT-3 model used.
20+
* The model used.
2121
*/
2222
public String model;
2323

client/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
POM_ARTIFACT_ID=client
22
POM_NAME=client
3-
POM_DESCRIPTION=Basic retrofit client for OpenAI's GPT-3 API
3+
POM_DESCRIPTION=Basic retrofit client for OpenAI's GPT APIs

service/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
POM_ARTIFACT_ID=service
22
POM_NAME=service
3-
POM_DESCRIPTION=Basic service to create and use a GPT-3 retrofit client
3+
POM_DESCRIPTION=Basic service to create and use an OpenAI retrofit client

0 commit comments

Comments
 (0)