Skip to content

Commit 8daa0fe

Browse files
committed
Update embedding model names to remove 'openai/' prefix
1 parent 67e83f7 commit 8daa0fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/plugins/compat_oai/openai/openai.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ var (
130130

131131
supportedEmbeddingModels = map[string]EmbedderRef{
132132
openaiGo.EmbeddingModelTextEmbeddingAda002: {
133-
Name: "openai/text-embedding-ada-002",
133+
Name: "text-embedding-ada-002",
134134
ConfigSchema: TextEmbeddingConfig{},
135135
Dimensions: 1536,
136136
Label: "Open AI - Text Embedding ADA 002",
@@ -139,7 +139,7 @@ var (
139139
},
140140
},
141141
openaiGo.EmbeddingModelTextEmbedding3Large: {
142-
Name: "openai/text-embedding-3-large",
142+
Name: "text-embedding-3-large",
143143
ConfigSchema: TextEmbeddingConfig{},
144144
Dimensions: 3072,
145145
Label: "Open AI - Text Embedding 3 Large",
@@ -148,7 +148,7 @@ var (
148148
},
149149
},
150150
openaiGo.EmbeddingModelTextEmbedding3Small: {
151-
Name: "openai/text-embedding-3-small",
151+
Name: "text-embedding-3-small",
152152
ConfigSchema: TextEmbeddingConfig{}, // Represents the configurable options
153153
Dimensions: 1536,
154154
Label: "Open AI - Text Embedding 3 Small",

0 commit comments

Comments
 (0)