Skip to content

Commit 4c41f24

Browse files
authored
Support January 25, 2024, models update. (#644)
1 parent eff8dc1 commit 4c41f24

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

completion.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ const (
2222
GPT432K = "gpt-4-32k"
2323
GPT40613 = "gpt-4-0613"
2424
GPT40314 = "gpt-4-0314"
25-
GPT4TurboPreview = "gpt-4-1106-preview"
25+
GPT4Turbo0125 = "gpt-4-0125-preview"
26+
GPT4Turbo1106 = "gpt-4-1106-preview"
27+
GPT4TurboPreview = "gpt-4-turbo-preview"
2628
GPT4VisionPreview = "gpt-4-vision-preview"
2729
GPT4 = "gpt-4"
2830
GPT3Dot5Turbo1106 = "gpt-3.5-turbo-1106"
@@ -78,6 +80,8 @@ var disabledModelsForEndpoints = map[string]map[string]bool{
7880
GPT4: true,
7981
GPT4TurboPreview: true,
8082
GPT4VisionPreview: true,
83+
GPT4Turbo1106: true,
84+
GPT4Turbo0125: true,
8185
GPT40314: true,
8286
GPT40613: true,
8387
GPT432K: true,

embeddings.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ const (
3434
BabbageCodeSearchCode EmbeddingModel = "code-search-babbage-code-001"
3535
BabbageCodeSearchText EmbeddingModel = "code-search-babbage-text-001"
3636

37-
AdaEmbeddingV2 EmbeddingModel = "text-embedding-ada-002"
37+
AdaEmbeddingV2 EmbeddingModel = "text-embedding-ada-002"
38+
SmallEmbedding3 EmbeddingModel = "text-embedding-3-small"
39+
LargeEmbedding3 EmbeddingModel = "text-embedding-3-large"
3840
)
3941

4042
// Embedding is a special format of data representation that can be easily utilized by machine

0 commit comments

Comments
 (0)