mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-02 08:35:08 +08:00
add inputs to display to every components (#3242)
### What problem does this PR solve? #3240 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -394,6 +394,7 @@ class VoyageRerank(Base):
|
||||
rank[r.index] = r.relevance_score
|
||||
return rank, res.total_tokens
|
||||
|
||||
|
||||
class QWenRerank(Base):
|
||||
def __init__(self, key, model_name='gte-rerank', base_url=None, **kwargs):
|
||||
import dashscope
|
||||
|
||||
Reference in New Issue
Block a user