mirror of
https://github.com/camel-ai/owl.git
synced 2025-12-26 10:07:51 +08:00
update
This commit is contained in:
parent
ce322143d3
commit
24d0661faf
10
README.md
10
README.md
@ -122,7 +122,7 @@ https://private-user-images.githubusercontent.com/55657767/420212194-e813fc05-13
|
||||
- **Browser Automation**: Utilize the Playwright framework for simulating browser interactions, including scrolling, clicking, input handling, downloading, navigation, and more.
|
||||
- **Document Parsing**: Extract content from Word, Excel, PDF, and PowerPoint files, converting them into text or Markdown format.
|
||||
- **Code Execution**: Write and execute Python code using interpreter.
|
||||
- **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, WebToolkit, and many more for specialized tasks.
|
||||
- **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.
|
||||
|
||||
# 🛠️ Installation
|
||||
|
||||
@ -362,7 +362,7 @@ OWL supports various toolkits that can be customized by modifying the `tools` li
|
||||
```python
|
||||
# Configure toolkits
|
||||
tools = [
|
||||
*WebToolkit(headless=False).get_tools(), # Browser automation
|
||||
*BrowserToolkit(headless=False).get_tools(), # Browser automation
|
||||
*VideoAnalysisToolkit(model=models["video"]).get_tools(),
|
||||
*AudioAnalysisToolkit().get_tools(), # Requires OpenAI Key
|
||||
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
||||
@ -381,7 +381,7 @@ tools = [
|
||||
Key toolkits include:
|
||||
|
||||
### Multimodal Toolkits (Require multimodal model capabilities)
|
||||
- **WebToolkit**: Browser automation for web interaction and navigation
|
||||
- **BrowserToolkit**: Browser automation for web interaction and navigation
|
||||
- **VideoAnalysisToolkit**: Video processing and content analysis
|
||||
- **ImageAnalysisToolkit**: Image analysis and interpretation
|
||||
|
||||
@ -399,11 +399,11 @@ To customize available tools:
|
||||
|
||||
```python
|
||||
# 1. Import toolkits
|
||||
from camel.toolkits import WebToolkit, SearchToolkit, CodeExecutionToolkit
|
||||
from camel.toolkits import BrowserToolkit, SearchToolkit, CodeExecutionToolkit
|
||||
|
||||
# 2. Configure tools list
|
||||
tools = [
|
||||
*WebToolkit(headless=True).get_tools(),
|
||||
*BrowserToolkit(headless=True).get_tools(),
|
||||
SearchToolkit().search_wiki,
|
||||
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
||||
]
|
||||
|
||||
10
README_zh.md
10
README_zh.md
@ -123,7 +123,7 @@ https://private-user-images.githubusercontent.com/55657767/420212194-e813fc05-13
|
||||
- **浏览器操作**:借助Playwright框架开发浏览器模拟交互,支持页面滚动、点击、输入、下载、历史回退等功能
|
||||
- **文件解析**:word、excel、PDF、PowerPoint信息提取,内容转文本/Markdown
|
||||
- **代码执行**:编写python代码,并使用解释器运行
|
||||
- **丰富工具包**:提供丰富的工具包,包括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(天气查询)、WebToolkit(网页交互)等多种专业工具,满足各类特定任务需求。
|
||||
- **丰富工具包**:提供丰富的工具包,包括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(网页交互)等多种专业工具,满足各类特定任务需求。
|
||||
|
||||
# 🛠️ 安装
|
||||
|
||||
@ -356,7 +356,7 @@ OWL支持多种工具包,可通过修改脚本中的`tools`列表进行自定
|
||||
```python
|
||||
# 配置工具包
|
||||
tools = [
|
||||
*WebToolkit(headless=False).get_tools(), # 浏览器自动化
|
||||
*BrowserToolkit(headless=False).get_tools(), # 浏览器自动化
|
||||
*VideoAnalysisToolkit(model=models["video"]).get_tools(),
|
||||
*AudioAnalysisToolkit().get_tools(), # 需要OpenAI API密钥
|
||||
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
||||
@ -375,7 +375,7 @@ tools = [
|
||||
关键工具包包括:
|
||||
|
||||
### 多模态工具包(需要模型具备多模态能力)
|
||||
- **WebToolkit**:浏览器自动化,用于网页交互和导航
|
||||
- **BrowserToolkit**:浏览器自动化,用于网页交互和导航
|
||||
- **VideoAnalysisToolkit**:视频处理和内容分析
|
||||
- **ImageAnalysisToolkit**:图像分析和解释
|
||||
|
||||
@ -393,11 +393,11 @@ tools = [
|
||||
|
||||
```python
|
||||
# 1. 导入工具包
|
||||
from camel.toolkits import WebToolkit, SearchToolkit, CodeExecutionToolkit
|
||||
from camel.toolkits import BrowserToolkit, SearchToolkit, CodeExecutionToolkit
|
||||
|
||||
# 2. 配置工具列表
|
||||
tools = [
|
||||
*WebToolkit(headless=True).get_tools(),
|
||||
*BrowserToolkit(headless=True).get_tools(),
|
||||
SearchToolkit().search_wiki,
|
||||
*CodeExecutionToolkit(sandbox="subprocess").get_tools(),
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user