Feat: implement novitaAI embedding and reranking. (#8250)

### What problem does this PR solve?

Close #8227

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Kevin Hu
2025-06-13 15:42:17 +08:00
committed by GitHub
parent 6aa0b0819d
commit 65d5268439
3 changed files with 13 additions and 0 deletions

View File

@ -45,6 +45,7 @@ from .embedding_model import (
HuggingFaceEmbed,
VolcEngineEmbed,
GPUStackEmbed,
NovitaEmbed
)
from .chat_model import (
GptTurbo,
@ -128,6 +129,7 @@ from .rerank_model import (
QWenRerank,
GPUStackRerank,
HuggingfaceRerank,
NovitaRerank
)
from .sequence2txt_model import (
@ -180,6 +182,7 @@ EmbeddingModel = {
"HuggingFace": HuggingFaceEmbed,
"VolcEngine": VolcEngineEmbed,
"GPUStack": GPUStackEmbed,
"NovitaAI": NovitaEmbed
}
CvModel = {
@ -267,6 +270,7 @@ RerankModel = {
"Tongyi-Qianwen": QWenRerank,
"GPUStack": GPUStackRerank,
"HuggingFace": HuggingfaceRerank,
"NovitaAI": NovitaRerank
}
Seq2txtModel = {