Skip to content

Commit b887663

Browse files
committed
Update everywhere
1 parent 2431374 commit b887663

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ provider = OpenAI.OpenAIProvider(
5757
)
5858
response = create_chat(
5959
provider,
60-
"gpt-3.5-turbo",
60+
"gpt-40-mini",
6161
[Dict("role" => "user", "content" => "Write some ancient Greek poetry")]
6262
)
6363
```

src/OpenAI.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ For more details about the endpoint and additional arguments, visit <https://pla
312312
## Example:
313313
314314
```julia
315-
julia> CC = create_chat("..........", "gpt-3.5-turbo",
315+
julia> CC = create_chat("..........", "gpt-40-mini",
316316
[Dict("role" => "user", "content"=> "What is the OpenAI mission?")]
317317
);
318318
@@ -330,7 +330,7 @@ The response body will reflect the chunked nature of the response, so some reass
330330
message returned by the API.
331331
332332
```julia
333-
julia> CC = create_chat(key, "gpt-3.5-turbo",
333+
julia> CC = create_chat(key, "gpt-40-mini",
334334
[Dict("role" => "user", "content"=> "What continent is New York in? Two word answer.")],
335335
streamcallback = x->println(Dates.now()));
336336
2023-03-27T12:34:50.428

test/assistants.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
# Set API/model
3434
api_key = ENV["OPENAI_API_KEY"]
35-
test_model = "gpt-3.5-turbo"
35+
test_model = "gpt-40-mini"
3636

3737
# Test functions for the assistant generation/modification/etc.
3838
@testset "Assistants" begin

test/chatcompletion.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@testset "chatcompletion" begin
22
r = create_chat(ENV["OPENAI_API_KEY"],
3-
"gpt-3.5-turbo",
3+
"gpt-40-mini",
44
[Dict("role" => "user", "content" => "What is the OpenAI mission?")])
55
println(r.response["choices"][begin]["message"]["content"])
66
if !=(r.status, 200)
@@ -9,7 +9,7 @@
99

1010
# with http kwargs (with default values)
1111
r = create_chat(ENV["OPENAI_API_KEY"],
12-
"gpt-3.5-turbo",
12+
"gpt-40-mini",
1313
[
1414
Dict("role" => "user",
1515
"content" => "Summarize HTTP.jl package in a short sentence."),
@@ -23,7 +23,7 @@ end
2323

2424
@testset "chatcompletion - streaming" begin
2525
r = create_chat(ENV["OPENAI_API_KEY"],
26-
"gpt-3.5-turbo",
26+
"gpt-40-mini",
2727
[
2828
Dict("role" => "user",
2929
"content" => "What continent is New York in? Two word answer."),

0 commit comments

Comments
 (0)