diff --git a/OpenAI_API/Model/Model.cs b/OpenAI_API/Model/Model.cs index bdeeb2b..f344f55 100644 --- a/OpenAI_API/Model/Model.cs +++ b/OpenAI_API/Model/Model.cs @@ -153,11 +153,21 @@ public Model() /// public static Model GPT4_32k_Context => new Model("gpt-4-32k") { OwnedBy = "openai" }; - /// - /// Stable text moderation model that may provide lower accuracy compared to TextModerationLatest. - /// OpenAI states they will provide advanced notice before updating this model. - /// - public static Model TextModerationStable => new Model("text-moderation-stable") { OwnedBy = "openai" }; + /// + /// Same capabilities as the base gpt-3.5-turbo mode but with function calling. + /// + public static Model GPT3_5_0613 => new Model("gpt-3.5-turbo-0613") { OwnedBy = "openai" }; + + /// + /// Same capabilities as the base gpt-4 mode but with function calling. + /// + public static Model GPT4_0613 => new Model("gpt-4-0613") { OwnedBy = "openai" }; + + /// + /// Stable text moderation model that may provide lower accuracy compared to TextModerationLatest. + /// OpenAI states they will provide advanced notice before updating this model. + /// + public static Model TextModerationStable => new Model("text-moderation-stable") { OwnedBy = "openai" }; /// /// The latest text moderation model. This model will be automatically upgraded over time. diff --git a/OpenAI_Tests/ChatEndpointTests.cs b/OpenAI_Tests/ChatEndpointTests.cs index 0c5f1bb..ae27e46 100644 --- a/OpenAI_Tests/ChatEndpointTests.cs +++ b/OpenAI_Tests/ChatEndpointTests.cs @@ -124,8 +124,10 @@ public void SimpleCompletion() } [TestCase("gpt-3.5-turbo")] - [TestCase("gpt-4")] - public void ChatBackAndForth(string model) + [TestCase("gpt-3.5-turbo-0613")] + [TestCase("gpt-4")] + [TestCase("gpt-4-0613")] + public void ChatBackAndForth(string model) { var api = new OpenAI_API.OpenAIAPI();