repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | from typing import Optional |
| #2 | |
| #3 | from pydantic import BaseModel, Field |
| #4 | |
| #5 | |
| #6 | class RerankerConfig(BaseModel): |
| #7 | """Configuration for rerankers.""" |
| #8 | |
| #9 | provider: str = Field(description="Reranker provider (e.g., 'cohere', 'sentence_transformer')", default="cohere") |
| #10 | config: Optional[dict] = Field(description="Provider-specific reranker configuration", default=None) |
| #11 | |
| #12 | model_config = {"extra": "forbid"} |
| #13 |