File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ const (
52
52
AdaCodeSearchText
53
53
BabbageCodeSearchCode
54
54
BabbageCodeSearchText
55
+ AdaSimilarityV2
55
56
)
56
57
57
58
var enumToString = map [EmbeddingModel ]string {
@@ -71,6 +72,7 @@ var enumToString = map[EmbeddingModel]string{
71
72
AdaCodeSearchText : "code-search-ada-text-001" ,
72
73
BabbageCodeSearchCode : "code-search-babbage-code-001" ,
73
74
BabbageCodeSearchText : "code-search-babbage-text-001" ,
75
+ AdaSimilarityV2 : "text-similarity-ada-002" ,
74
76
}
75
77
76
78
var stringToEnum = map [string ]EmbeddingModel {
@@ -90,6 +92,7 @@ var stringToEnum = map[string]EmbeddingModel{
90
92
"code-search-ada-text-001" : AdaCodeSearchText ,
91
93
"code-search-babbage-code-001" : BabbageCodeSearchCode ,
92
94
"code-search-babbage-text-001" : BabbageCodeSearchText ,
95
+ "text-similarity-ada-002" : AdaSimilarityV2 ,
93
96
}
94
97
95
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