File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const (
52
52
AdaCodeSearchText
53
53
BabbageCodeSearchCode
54
54
BabbageCodeSearchText
55
- AdaSimilarityV2
55
+ AdaEmbeddingV2
56
56
)
57
57
58
58
var enumToString = map [EmbeddingModel ]string {
@@ -72,7 +72,7 @@ var enumToString = map[EmbeddingModel]string{
72
72
AdaCodeSearchText : "code-search-ada-text-001" ,
73
73
BabbageCodeSearchCode : "code-search-babbage-code-001" ,
74
74
BabbageCodeSearchText : "code-search-babbage-text-001" ,
75
- AdaSimilarityV2 : "text-similarity -ada-002" ,
75
+ AdaEmbeddingV2 : "text-embedding -ada-002" ,
76
76
}
77
77
78
78
var stringToEnum = map [string ]EmbeddingModel {
@@ -92,7 +92,7 @@ var stringToEnum = map[string]EmbeddingModel{
92
92
"code-search-ada-text-001" : AdaCodeSearchText ,
93
93
"code-search-babbage-code-001" : BabbageCodeSearchCode ,
94
94
"code-search-babbage-text-001" : BabbageCodeSearchText ,
95
- "text-similarity -ada-002" : AdaSimilarityV2 ,
95
+ "text-embedding -ada-002" : AdaEmbeddingV2 ,
96
96
}
97
97
98
98
// Embedding is a special format of data representation that can be easily utilized by machine
You can’t perform that action at this time.
0 commit comments