mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
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:
@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user