Add copilot-plus-large embedding model (#1107)

This commit is contained in:
Logan Yang 2025-01-25 20:26:46 -08:00 committed by GitHub
parent 012289518b
commit 2fbd2a4489
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,6 +149,7 @@ export enum EmbeddingModels {
COHEREAI_EMBED_MULTILINGUAL_LIGHT_V3_0 = "embed-multilingual-light-v3.0",
GOOGLE_ENG = "text-embedding-004",
COPILOT_PLUS_SMALL = "copilot-plus-small",
COPILOT_PLUS_LARGE = "copilot-plus-large",
COPILOT_PLUS_MULTILINGUAL = "copilot-plus-multilingual",
}
@ -161,6 +162,14 @@ export const BUILTIN_EMBEDDING_MODELS: CustomModel[] = [
isEmbeddingModel: true,
core: true,
},
{
name: EmbeddingModels.COPILOT_PLUS_LARGE,
provider: EmbeddingModelProviders.COPILOT_PLUS,
enabled: true,
isBuiltIn: true,
isEmbeddingModel: true,
core: true,
},
{
name: EmbeddingModels.COPILOT_PLUS_MULTILINGUAL,
provider: EmbeddingModelProviders.COPILOT_PLUS_JINA,