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 [skip ci]

camel-docs-bot2bd676438b9c
diff --git a/docs/mintlify/reference/camel.toolkits.search_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.search_toolkit.mdx
index 2526a5d43..74601b1fb 100644
--- a/docs/mintlify/reference/camel.toolkits.search_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.search_toolkit.mdx
@@ -21,7 +21,8 @@ search engines like Google, DuckDuckGo, Wikipedia and Wolfram Alpha, Brave.
def __init__(
self,
timeout: Optional[float] = None,
- number_of_result_pages: int = 10
+ number_of_result_pages: int = 10,
+ exclude_domains: Optional[List[str]] = None
):
```
@@ -32,6 +33,7 @@ and delay.
- **timeout** (float): Timeout for API requests in seconds. (default: :obj:`None`)
- **number_of_result_pages** (int): The number of result pages to retrieve. (default: :obj:`10`)
+- **exclude_domains** (Optional[List[str]]): List of domains to exclude from search results. Currently only supported by the `search_google` function. (default: :obj:`None`)
<a id="camel.toolkits.search_toolkit.SearchToolkit.search_wiki"></a>
@@ -166,12 +168,7 @@ for more details.
### search_google
```python
-def search_google(
- self,
- query: str,
- search_type: str = 'web',
- exclude_domains: Optional[List[str]] = None
-):
+def search_google(self, query: str, search_type: str = 'web'):
```
Use Google search engine to search information for the given query.
@@ -180,7 +177,6 @@ Use Google search engine to search information for the given query.
- **query** (str): The query to be searched.
- **search_type** (str): The type of search to perform. Either "web" for web pages or "image" for image search. (default: "web")
-- **exclude_domains** (Optional[List[str]]): A list of domains to exclude from the search results. If provided, the query will be modified. (default: :obj:`None`)
**Returns:**