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
GPT is a model that can be used to generate text in a conversational style. You can use it to [generate a response](https://platform.openai.com/docs/api-reference/chat/create) to a sequence of [messages](https://platform.openai.com/docs/guides/chat/introduction):
@@ -398,7 +382,7 @@ end
398
382
response =
399
383
client.chat(
400
384
parameters: {
401
-
model:"gpt-3.5-turbo-0613",
385
+
model:"gpt-3.5-turbo",
402
386
messages: [
403
387
{
404
388
"role": "user",
@@ -462,7 +446,7 @@ Hit the OpenAI API for a completion using other GPT-3 models:
462
446
```ruby
463
447
response = client.completions(
464
448
parameters: {
465
-
model:"text-davinci-001",
449
+
model:"gpt-3.5-turbo",
466
450
prompt:"Once upon a time",
467
451
max_tokens:5
468
452
})
@@ -608,7 +592,7 @@ You can then use this file ID to create a fine tuning job:
608
592
response = client.finetunes.create(
609
593
parameters: {
610
594
training_file: file_id,
611
-
model:"gpt-3.5-turbo-0613"
595
+
model:"gpt-3.5-turbo"
612
596
})
613
597
fine_tune_id = response["id"]
614
598
```
@@ -1014,7 +998,7 @@ HTTP errors can be caught like this:
0 commit comments