From c181bbf4753e8f2dab2e27883dbc60b030c7c9ae Mon Sep 17 00:00:00 2001 From: Anil Maharjan <1720245+dejavu1987@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:39:46 +0200 Subject: [PATCH 1/2] Add "gpt-3.5-turbo-16k" model chat_completion.rs I needed this 16k context model but saw it is not added. --- src/v1/chat_completion.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v1/chat_completion.rs b/src/v1/chat_completion.rs index 2e64167..185cedb 100644 --- a/src/v1/chat_completion.rs +++ b/src/v1/chat_completion.rs @@ -6,6 +6,7 @@ use crate::impl_builder_methods; use crate::v1::common; pub const GPT3_5_TURBO: &str = "gpt-3.5-turbo"; +pub const GPT3_5_TURBO_16K: &str = ""gpt-3.5-turbo-16k""; pub const GPT3_5_TURBO_0301: &str = "gpt-3.5-turbo-0301"; pub const GPT3_5_TURBO_0613: &str = "gpt-3.5-turbo-0613"; From 9d563920c16d1530d950747fad171866978d17b1 Mon Sep 17 00:00:00 2001 From: Anil Maharjan <1720245+dejavu1987@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:52:49 +0200 Subject: [PATCH 2/2] Fix quotes --- src/v1/chat_completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v1/chat_completion.rs b/src/v1/chat_completion.rs index 185cedb..fe5e7ec 100644 --- a/src/v1/chat_completion.rs +++ b/src/v1/chat_completion.rs @@ -6,7 +6,7 @@ use crate::impl_builder_methods; use crate::v1::common; pub const GPT3_5_TURBO: &str = "gpt-3.5-turbo"; -pub const GPT3_5_TURBO_16K: &str = ""gpt-3.5-turbo-16k""; +pub const GPT3_5_TURBO_16K: &str = "gpt-3.5-turbo-16k"; pub const GPT3_5_TURBO_0301: &str = "gpt-3.5-turbo-0301"; pub const GPT3_5_TURBO_0613: &str = "gpt-3.5-turbo-0613";