Commit
·
f580792
1
Parent(s):
f8259c2
update
Browse files- README.md +5 -5
- README_zh.md +5 -5
README.md
CHANGED
@@ -122,7 +122,7 @@ https://private-user-images.githubusercontent.com/55657767/420212194-e813fc05-13
|
|
122 |
- **Browser Automation**: Utilize the Playwright framework for simulating browser interactions, including scrolling, clicking, input handling, downloading, navigation, and more.
|
123 |
- **Document Parsing**: Extract content from Word, Excel, PDF, and PowerPoint files, converting them into text or Markdown format.
|
124 |
- **Code Execution**: Write and execute Python code using interpreter.
|
125 |
-
- **Built-in Toolkits**: Access to a comprehensive set of built-in toolkits including ArxivToolkit, AudioAnalysisToolkit, CodeExecutionToolkit, DalleToolkit, DataCommonsToolkit, ExcelToolkit, GitHubToolkit, GoogleMapsToolkit, GoogleScholarToolkit, ImageAnalysisToolkit, MathToolkit, NetworkXToolkit, NotionToolkit, OpenAPIToolkit, RedditToolkit, SearchToolkit, SemanticScholarToolkit, SymPyToolkit, VideoAnalysisToolkit, WeatherToolkit,
|
126 |
|
127 |
# 🛠️ Installation
|
128 |
|
@@ -362,7 +362,7 @@ OWL supports various toolkits that can be customized by modifying the `tools` li
|
|
362 |
```python
|
363 |
# Configure toolkits
|
364 |
tools = [
|
365 |
-
*
|
366 |
*VideoAnalysisToolkit(model=models["video"]).get_tools(),
|
367 |
*AudioAnalysisToolkit().get_tools(), # Requires OpenAI Key
|
368 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
@@ -381,7 +381,7 @@ tools = [
|
|
381 |
Key toolkits include:
|
382 |
|
383 |
### Multimodal Toolkits (Require multimodal model capabilities)
|
384 |
-
- **
|
385 |
- **VideoAnalysisToolkit**: Video processing and content analysis
|
386 |
- **ImageAnalysisToolkit**: Image analysis and interpretation
|
387 |
|
@@ -399,11 +399,11 @@ To customize available tools:
|
|
399 |
|
400 |
```python
|
401 |
# 1. Import toolkits
|
402 |
-
from camel.toolkits import
|
403 |
|
404 |
# 2. Configure tools list
|
405 |
tools = [
|
406 |
-
*
|
407 |
SearchToolkit().search_wiki,
|
408 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
409 |
]
|
|
|
122 |
- **Browser Automation**: Utilize the Playwright framework for simulating browser interactions, including scrolling, clicking, input handling, downloading, navigation, and more.
|
123 |
- **Document Parsing**: Extract content from Word, Excel, PDF, and PowerPoint files, converting them into text or Markdown format.
|
124 |
- **Code Execution**: Write and execute Python code using interpreter.
|
125 |
+
- **Built-in Toolkits**: Access to a comprehensive set of built-in toolkits including ArxivToolkit, AudioAnalysisToolkit, CodeExecutionToolkit, DalleToolkit, DataCommonsToolkit, ExcelToolkit, GitHubToolkit, GoogleMapsToolkit, GoogleScholarToolkit, ImageAnalysisToolkit, MathToolkit, NetworkXToolkit, NotionToolkit, OpenAPIToolkit, RedditToolkit, SearchToolkit, SemanticScholarToolkit, SymPyToolkit, VideoAnalysisToolkit, WeatherToolkit, BrowserToolkit, and many more for specialized tasks.
|
126 |
|
127 |
# 🛠️ Installation
|
128 |
|
|
|
362 |
```python
|
363 |
# Configure toolkits
|
364 |
tools = [
|
365 |
+
*BrowserToolkit(headless=False).get_tools(), # Browser automation
|
366 |
*VideoAnalysisToolkit(model=models["video"]).get_tools(),
|
367 |
*AudioAnalysisToolkit().get_tools(), # Requires OpenAI Key
|
368 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
|
|
381 |
Key toolkits include:
|
382 |
|
383 |
### Multimodal Toolkits (Require multimodal model capabilities)
|
384 |
+
- **BrowserToolkit**: Browser automation for web interaction and navigation
|
385 |
- **VideoAnalysisToolkit**: Video processing and content analysis
|
386 |
- **ImageAnalysisToolkit**: Image analysis and interpretation
|
387 |
|
|
|
399 |
|
400 |
```python
|
401 |
# 1. Import toolkits
|
402 |
+
from camel.toolkits import BrowserToolkit, SearchToolkit, CodeExecutionToolkit
|
403 |
|
404 |
# 2. Configure tools list
|
405 |
tools = [
|
406 |
+
*BrowserToolkit(headless=True).get_tools(),
|
407 |
SearchToolkit().search_wiki,
|
408 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
409 |
]
|
README_zh.md
CHANGED
@@ -123,7 +123,7 @@ https://private-user-images.githubusercontent.com/55657767/420212194-e813fc05-13
|
|
123 |
- **浏览器操作**:借助Playwright框架开发浏览器模拟交互,支持页面滚动、点击、输入、下载、历史回退等功能
|
124 |
- **文件解析**:word、excel、PDF、PowerPoint信息提取,内容转文本/Markdown
|
125 |
- **代码执行**:编写python代码,并使用解释器运行
|
126 |
-
- **丰富工具包**:提供丰富的工具包,包括ArxivToolkit(学术论文检索)、AudioAnalysisToolkit(音频分析)、CodeExecutionToolkit(代码执行)、DalleToolkit(图像生成)、DataCommonsToolkit(数据共享)、ExcelToolkit(Excel处理)、GitHubToolkit(GitHub交互)、GoogleMapsToolkit(地图服务)、GoogleScholarToolkit(学术搜索)、ImageAnalysisToolkit(图像分析)、MathToolkit(数学计算)、NetworkXToolkit(图形分析)、NotionToolkit(Notion交互)、OpenAPIToolkit(API操作)、RedditToolkit(Reddit交互)、SearchToolkit(搜索服务)、SemanticScholarToolkit(语义学术搜索)、SymPyToolkit(符号计算)、VideoAnalysisToolkit(视频分析)、WeatherToolkit(天气查询)、
|
127 |
|
128 |
# 🛠️ 安装
|
129 |
|
@@ -356,7 +356,7 @@ OWL支持多种工具包,可通过修改脚本中的`tools`列表进行自定
|
|
356 |
```python
|
357 |
# 配置工具包
|
358 |
tools = [
|
359 |
-
*
|
360 |
*VideoAnalysisToolkit(model=models["video"]).get_tools(),
|
361 |
*AudioAnalysisToolkit().get_tools(), # 需要OpenAI API密钥
|
362 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
@@ -375,7 +375,7 @@ tools = [
|
|
375 |
关键工具包包括:
|
376 |
|
377 |
### 多模态工具包(需要模型具备多模态能力)
|
378 |
-
- **
|
379 |
- **VideoAnalysisToolkit**:视频处理和内容分析
|
380 |
- **ImageAnalysisToolkit**:图像分析和解释
|
381 |
|
@@ -393,11 +393,11 @@ tools = [
|
|
393 |
|
394 |
```python
|
395 |
# 1. 导入工具包
|
396 |
-
from camel.toolkits import
|
397 |
|
398 |
# 2. 配置工具列表
|
399 |
tools = [
|
400 |
-
*
|
401 |
SearchToolkit().search_wiki,
|
402 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
403 |
]
|
|
|
123 |
- **浏览器操作**:借助Playwright框架开发浏览器模拟交互,支持页面滚动、点击、输入、下载、历史回退等功能
|
124 |
- **文件解析**:word、excel、PDF、PowerPoint信息提取,内容转文本/Markdown
|
125 |
- **代码执行**:编写python代码,并使用解释器运行
|
126 |
+
- **丰富工具包**:提供丰富的工具包,包括ArxivToolkit(学术论文检索)、AudioAnalysisToolkit(音频分析)、CodeExecutionToolkit(代码执行)、DalleToolkit(图像生成)、DataCommonsToolkit(数据共享)、ExcelToolkit(Excel处理)、GitHubToolkit(GitHub交互)、GoogleMapsToolkit(地图服务)、GoogleScholarToolkit(学术搜索)、ImageAnalysisToolkit(图像分析)、MathToolkit(数学计算)、NetworkXToolkit(图形分析)、NotionToolkit(Notion交互)、OpenAPIToolkit(API操作)、RedditToolkit(Reddit交互)、SearchToolkit(搜索服务)、SemanticScholarToolkit(语义学术搜索)、SymPyToolkit(符号计算)、VideoAnalysisToolkit(视频分析)、WeatherToolkit(天气查询)、BrowserToolkit(网页交互)等多种专业工具,满足各类特定任务需求。
|
127 |
|
128 |
# 🛠️ 安装
|
129 |
|
|
|
356 |
```python
|
357 |
# 配置工具包
|
358 |
tools = [
|
359 |
+
*BrowserToolkit(headless=False).get_tools(), # 浏览器自动化
|
360 |
*VideoAnalysisToolkit(model=models["video"]).get_tools(),
|
361 |
*AudioAnalysisToolkit().get_tools(), # 需要OpenAI API密钥
|
362 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
|
|
375 |
关键工具包包括:
|
376 |
|
377 |
### 多模态工具包(需要模型具备多模态能力)
|
378 |
+
- **BrowserToolkit**:浏览器自动化,用于网页交互和导航
|
379 |
- **VideoAnalysisToolkit**:视频处理和内容分析
|
380 |
- **ImageAnalysisToolkit**:图像分析和解释
|
381 |
|
|
|
393 |
|
394 |
```python
|
395 |
# 1. 导入工具包
|
396 |
+
from camel.toolkits import BrowserToolkit, SearchToolkit, CodeExecutionToolkit
|
397 |
|
398 |
# 2. 配置工具列表
|
399 |
tools = [
|
400 |
+
*BrowserToolkit(headless=True).get_tools(),
|
401 |
SearchToolkit().search_wiki,
|
402 |
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
403 |
]
|