File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ func main() {
141
141
ctx := context.Background ()
142
142
143
143
req := openai.CompletionRequest {
144
- Model: openai.GPT3Ada ,
144
+ Model: openai.GPT3Babbage002 ,
145
145
MaxTokens: 5 ,
146
146
Prompt: " Lorem ipsum" ,
147
147
}
@@ -174,7 +174,7 @@ func main() {
174
174
ctx := context.Background ()
175
175
176
176
req := openai.CompletionRequest {
177
- Model: openai.GPT3Ada ,
177
+ Model: openai.GPT3Babbage002 ,
178
178
MaxTokens: 5 ,
179
179
Prompt: " Lorem ipsum" ,
180
180
Stream: true ,
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ func ExampleClient_CreateCompletion() {
82
82
resp , err := client .CreateCompletion (
83
83
context .Background (),
84
84
openai.CompletionRequest {
85
- Model : openai .GPT3Ada ,
85
+ Model : openai .GPT3Babbage002 ,
86
86
MaxTokens : 5 ,
87
87
Prompt : "Lorem ipsum" ,
88
88
},
@@ -99,7 +99,7 @@ func ExampleClient_CreateCompletionStream() {
99
99
stream , err := client .CreateCompletionStream (
100
100
context .Background (),
101
101
openai.CompletionRequest {
102
- Model : openai .GPT3Ada ,
102
+ Model : openai .GPT3Babbage002 ,
103
103
MaxTokens : 5 ,
104
104
Prompt : "Lorem ipsum" ,
105
105
Stream : true ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ func main() {
13
13
resp , err := client .CreateCompletion (
14
14
context .Background (),
15
15
openai.CompletionRequest {
16
- Model : openai .GPT3Ada ,
16
+ Model : openai .GPT3Babbage002 ,
17
17
MaxTokens : 5 ,
18
18
Prompt : "Lorem ipsum" ,
19
19
},
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ func TestCreateCompletionStreamRateLimitError(t *testing.T) {
169
169
var apiErr * openai.APIError
170
170
_ , err := client .CreateCompletionStream (context .Background (), openai.CompletionRequest {
171
171
MaxTokens : 5 ,
172
- Model : openai .GPT3Ada ,
172
+ Model : openai .GPT3Babbage002 ,
173
173
Prompt : "Hello!" ,
174
174
Stream : true ,
175
175
})
You can’t perform that action at this time.
0 commit comments