diff --git a/pages/docs/configuration/dotenv.mdx b/pages/docs/configuration/dotenv.mdx index 22bdb8d38..927b70076 100644 --- a/pages/docs/configuration/dotenv.mdx +++ b/pages/docs/configuration/dotenv.mdx @@ -288,6 +288,7 @@ For detailed configuration and customization options, see: [Web Search Configura ['FIRECRAWL_API_URL', 'string', 'Custom Firecrawl API URL (optional). Only needed for custom Firecrawl instances.', '# FIRECRAWL_API_URL='], ['JINA_API_KEY', 'string', 'API key for Jina reranker service. Get your key from https://jina.ai/api-dashboard/', '# JINA_API_KEY='], ['COHERE_API_KEY', 'string', 'API key for Cohere reranker service. Get your key from https://dashboard.cohere.com/welcome/login', '# COHERE_API_KEY='], + ['COHERE_BASE_URL', 'string', 'Custom Cohere API base URL (optional). Only needed for custom Cohere endpoints or proxies.', '# COHERE_BASE_URL='], ]} /> diff --git a/pages/docs/configuration/librechat_yaml/object_structure/web_search.mdx b/pages/docs/configuration/librechat_yaml/object_structure/web_search.mdx index 5ece6555b..9912cba76 100644 --- a/pages/docs/configuration/librechat_yaml/object_structure/web_search.mdx +++ b/pages/docs/configuration/librechat_yaml/object_structure/web_search.mdx @@ -28,6 +28,7 @@ webSearch: # Reranker Configuration jinaApiKey: "${JINA_API_KEY}" cohereApiKey: "${COHERE_API_KEY}" + cohereApiUrl: "${COHERE_BASE_URL}" rerankerType: "jina" # Options: "jina", "cohere" # General Settings @@ -295,6 +296,16 @@ webSearch: **Note:** Get your API key from [Cohere Dashboard](https://dashboard.cohere.com/welcome/login) +### cohereApiUrl + + + +**Note:** This is optional and only needed if you're using a custom Cohere endpoint or proxy. + ### rerankerType