Observed since 20 Oct, 21:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
agentforge-reranker-cohere
Cohere managed-API reranker for AgentForge
Cohere managed-API reranker for the AgentForge framework.
Implements the Reranker ABC from agentforge-core.
Registers as agentforge.rerankers:cohere.
pip install agentforge-reranker-cohere[cohere]
from agentforge_reranker_cohere import CohereReranker
reranker = CohereReranker.from_config(
api_key="...",
model="rerank-english-v3.0",
)
Or via agentforge.yaml:
retrieval:
reranker:
name: cohere
config:
api_key: ${COHERE_API_KEY}
model: rerank-english-v3.0
The reranker forwards (query, candidate_text) pairs to
Cohere's Rerank API, normalises the returned scores to
[0, 1] (Cohere already does this — the clamp is
defensive), sorts descending, and truncates to top_k.
Apache-2.0.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
agentforge-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.13",
"evaluation": "NOT_EVALUATED"
} | agentforge-core~=0.4.0 | runtime |
cohereEnvironment{
"extras": "",
"marker": "extra == \"cohere\"",
"requires_python": ">=3.13",
"evaluation": "NOT_EVALUATED"
} | cohere>=5.0; extra == "cohere" | runtime |
bdist_wheel · 9.86 KB · Python py3
sdist · 9.25 KB · Python source
Observed since 20 Oct, 21:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:9df5ffc5b5ee22aba3e86506657fa87ba9a0777d3a0b816ca3cbe56e800a9504