Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Auto-update documentation after merge

camel-docs-bot23c593cf118a
diff --git a/docs/mintlify/reference/camel.toolkits.jina_reranker_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.jina_reranker_toolkit.mdx
index 46fde1415..cc16f31e1 100644
--- a/docs/mintlify/reference/camel.toolkits.jina_reranker_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.jina_reranker_toolkit.mdx
@@ -22,7 +22,7 @@ based on their relevance to a given query using the Jina Reranker model.
def __init__(
self,
timeout: Optional[float] = None,
- model_name: Optional[str] = 'jinaai/jina-reranker-m0',
+ model_name: str = 'jinaai/jina-reranker-m0',
device: Optional[str] = None,
use_api: bool = True
):
@@ -33,7 +33,7 @@ Initializes a new instance of the JinaRerankerToolkit class.
**Parameters:**
- **timeout** (Optional[float]): The timeout value for API requests in seconds. If None, no timeout is applied. (default: :obj:`None`)
-- **model_name** (Optional[str]): The reranker model name. If None, will use the default model. (default: :obj:`None`)
+- **model_name** (str): The reranker model name. (default: :obj:`"jinaai/jina-reranker-m0"`)
- **device** (Optional[str]): Device to load the model on. If None, will use CUDA if available, otherwise CPU. Only effective when use_api=False. (default: :obj:`None`)
- **use_api** (bool): A flag to switch between local model and API. (default: :obj:`True`)