add rerank check when doing mutil-retrieval (#9998)
This commit is contained in:
parent
5ad5d0cff4
commit
9ebd453b87
2 changed files with 32 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from enum import Enum
|
||||
|
||||
|
||||
class RerankMode(Enum):
|
||||
class RerankMode(str, Enum):
|
||||
RERANKING_MODEL = "reranking_model"
|
||||
WEIGHTED_SCORE = "weighted_score"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue