mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
Update schema.py
This commit is contained in:
parent
211ba3dce1
commit
2e3a73b2f9
1 changed files with 0 additions and 2 deletions
|
|
@ -121,13 +121,11 @@ class ColbertRerankConfig(BaseRankerConfig):
|
|||
|
||||
class CohereRerankConfig(BaseRankerConfig):
|
||||
model: str = Field(default="rerank-english-v3.0")
|
||||
top_n: int = Field(default=2)
|
||||
api_key: str = Field(default="YOUR_COHERE_API")
|
||||
|
||||
|
||||
class FlagEmbeddingConfig(BaseRankerConfig):
|
||||
model: str = Field(default="BAAI/bge-reranker-large", description="BAAI Reranker model name.")
|
||||
top_n: int = Field(default=2, description="Number of nodes to return sorted by score.")
|
||||
use_fp16: bool = Field(default=True, description="Whether to use fp16 for inference.")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue