Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs base rerank config

Ishaan Jaff3a6dba8853b0
diff --git a/docs/my-website/docs/adding_provider/new_rerank_provider.md b/docs/my-website/docs/adding_provider/new_rerank_provider.md
index 9438d13f8ed..84c363261cd 100644
--- a/docs/my-website/docs/adding_provider/new_rerank_provider.md
+++ b/docs/my-website/docs/adding_provider/new_rerank_provider.md
@@ -4,7 +4,7 @@ LiteLLM **follows the Cohere Rerank API format** for all rerank providers. Here'
## 1. Create a transformation.py file
-Create a config class named `<Provider><Endpoint>Config` that inherits from `BaseRerankConfig`:
+Create a config class named `<Provider><Endpoint>Config` that inherits from [`BaseRerankConfig`](https://github.com/BerriAI/litellm/blob/main/litellm/llms/base_llm/rerank/transformation.py):
```python
from litellm.types.rerank import OptionalRerankParams, RerankRequest, RerankResponse