Skip to content

Commit 2cb2e6d

Browse files
committed
feat: Support gemini embedding model
1 parent f533bb5 commit 2cb2e6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/setting/models_provider/impl/gemini_model_provider/gemini_model_provider.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
ModelTypeConst.EMBEDDING,
6565
gemini_embedding_model_credential,
6666
GeminiEmbeddingModel),
67+
ModelInfo('models/text-embedding-004', '',
68+
ModelTypeConst.EMBEDDING,
69+
gemini_embedding_model_credential,
70+
GeminiEmbeddingModel),
6771
]
6872

6973
model_info_manage = (

0 commit comments

Comments
 (0)