From ddabf7852f6a064933c565e7048b75f209a45420 Mon Sep 17 00:00:00 2001 From: Pradeep Kumar <61448614+pradytpk@users.noreply.github.com> Date: Wed, 21 Feb 2024 00:26:59 +0900 Subject: [PATCH 1/2] New model addition in the gpt-3.5 turbo --- gpt3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gpt3.go b/gpt3.go index 7a28983..8404bdd 100644 --- a/gpt3.go +++ b/gpt3.go @@ -33,6 +33,7 @@ const ( GPT3Dot5Turbo = "gpt-3.5-turbo" GPT3Dot5Turbo0301 = "gpt-3.5-turbo-0301" GPT3Dot5Turbo0613 = "gpt-3.5-turbo-0613" + GPT3Dot5TurboInstruct = "gpt-3.5-turbo-instruct" TextSimilarityAda001 = "text-similarity-ada-001" TextSimilarityBabbage001 = "text-similarity-babbage-001" TextSimilarityCurie001 = "text-similarity-curie-001" From eb63db05e4d060b6e8b5baf4d0cb08abee15ae22 Mon Sep 17 00:00:00 2001 From: Pradeep Kumar <61448614+pradytpk@users.noreply.github.com> Date: Tue, 20 Feb 2024 16:07:33 +0000 Subject: [PATCH 2/2] open ai deprecated model update --- gpt3.go | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/gpt3.go b/gpt3.go index 8404bdd..6a9708e 100644 --- a/gpt3.go +++ b/gpt3.go @@ -14,17 +14,9 @@ import ( // Engine Types const ( - TextAda001Engine = "text-ada-001" - TextBabbage001Engine = "text-babbage-001" - TextCurie001Engine = "text-curie-001" - TextDavinci001Engine = "text-davinci-001" - TextDavinci002Engine = "text-davinci-002" - TextDavinci003Engine = "text-davinci-003" - AdaEngine = "ada" - BabbageEngine = "babbage" - CurieEngine = "curie" - DavinciEngine = "davinci" - DefaultEngine = DavinciEngine + Baggage002Engine = "babbage-002" + Davinci002Engine = "davinci-002" + DefaultEngine = Davinci002Engine ) type EmbeddingEngine string