We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 626aa5e commit 802fa30Copy full SHA for 802fa30
1 file changed
Tool/Sources/Preferences/Types/OpenAIEmbeddingModel.swift
@@ -1,4 +1,6 @@
1
public enum OpenAIEmbeddingModel: String, CaseIterable {
2
+ case textEmbedding3Small = "text-embedding-3-small"
3
+ case textEmbedding3Large = "text-embedding-3-large"
4
case textEmbeddingAda002 = "text-embedding-ada-002"
5
}
6
@@ -7,6 +9,10 @@ public extension OpenAIEmbeddingModel {
7
9
switch self {
8
10
case .textEmbeddingAda002:
11
return 8191
12
+ case .textEmbedding3Small:
13
+ return 8191
14
+ case .textEmbedding3Large:
15
16
17
18
0 commit comments