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 | from pydantic import Field |
| #3 | |
| #4 | from mem0.configs.rerankers.base import BaseRerankerConfig |
| #5 | |
| #6 | |
| #7 | class CohereRerankerConfig(BaseRerankerConfig): |
| #8 | """ |
| #9 | Configuration class for Cohere reranker-specific parameters. |
| #10 | Inherits from BaseRerankerConfig and adds Cohere-specific settings. |
| #11 | """ |
| #12 | |
| #13 | model: Optional[str] = Field(default="rerank-english-v3.0", description="The Cohere rerank model to use") |
| #14 | return_documents: bool = Field(default=False, description="Whether to return the document texts in the response") |
| #15 | max_chunks_per_doc: Optional[int] = Field(default=None, description="Maximum number of chunks per document") |
| #16 |