zjrwtx commited on
Commit
40d5322
·
1 Parent(s): 29d5475

update run readme and moudle import

Browse files
README.md CHANGED
@@ -299,22 +299,22 @@ OWL supports various LLM backends, though capabilities may vary depending on the
299
 
300
  ```bash
301
  # Run with Qwen model
302
- python owl/run_qwen_zh.py
303
 
304
  # Run with Deepseek model
305
- python owl/run_deepseek_zh.py
306
 
307
  # Run with other OpenAI-compatible models
308
- python owl/run_openai_compatiable_model.py
309
 
310
  # Run with Ollama
311
- python owl/run_ollama.py
312
  ```
313
 
314
  For a simpler version that only requires an LLM API key, you can try our minimal example:
315
 
316
  ```bash
317
- python owl/run_mini.py
318
  ```
319
 
320
  You can run OWL agent with your own task by modifying the `run.py` script:
 
299
 
300
  ```bash
301
  # Run with Qwen model
302
+ python owl/examples/run_qwen_zh.py
303
 
304
  # Run with Deepseek model
305
+ python owl/examples/run_deepseek_zh.py
306
 
307
  # Run with other OpenAI-compatible models
308
+ python owl/examples/run_openai_compatiable_model.py
309
 
310
  # Run with Ollama
311
+ python owl/examples/run_ollama.py
312
  ```
313
 
314
  For a simpler version that only requires an LLM API key, you can try our minimal example:
315
 
316
  ```bash
317
+ python owl/examples/run_mini.py
318
  ```
319
 
320
  You can run OWL agent with your own task by modifying the `run.py` script:
README_zh.md CHANGED
@@ -303,16 +303,16 @@ OWL 支持多种 LLM 后端,但功能可能因模型的工具调用和多模
303
 
304
  ```bash
305
  # 使用 Qwen 模型运行
306
- python owl/run_qwen_zh.py
307
 
308
  # 使用 Deepseek 模型运行
309
- python owl/run_deepseek_zh.py
310
 
311
  # 使用其他 OpenAI 兼容模型运行
312
- python owl/run_openai_compatiable_model.py
313
 
314
  # 使用 Ollama 运行
315
- python owl/run_ollama.py
316
  ```
317
 
318
  你可以通过修改 `run.py` 脚本来运行自己的任务:
 
303
 
304
  ```bash
305
  # 使用 Qwen 模型运行
306
+ python owl/examples/run_qwen_zh.py
307
 
308
  # 使用 Deepseek 模型运行
309
+ python owl/examples/run_deepseek_zh.py
310
 
311
  # 使用其他 OpenAI 兼容模型运行
312
+ python owl/examples/run_openai_compatiable_model.py
313
 
314
  # 使用 Ollama 运行
315
+ python owl/examples/run_ollama.py
316
  ```
317
 
318
  你可以通过修改 `run.py` 脚本来运行自己的任务:
owl/examples/run.py CHANGED
@@ -26,7 +26,7 @@ from camel.toolkits import (
26
  from camel.types import ModelPlatformType, ModelType
27
  from camel.logger import set_log_level
28
 
29
- from utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
30
 
31
  load_dotenv()
32
 
 
26
  from camel.types import ModelPlatformType, ModelType
27
  from camel.logger import set_log_level
28
 
29
+ from owl.utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
30
 
31
  load_dotenv()
32
 
owl/examples/run_deepseek_zh.py CHANGED
@@ -31,7 +31,7 @@ from camel.toolkits import (
31
  from camel.types import ModelPlatformType, ModelType
32
 
33
 
34
- from utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
35
 
36
  from camel.logger import set_log_level
37
 
 
31
  from camel.types import ModelPlatformType, ModelType
32
 
33
 
34
+ from owl.utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
35
 
36
  from camel.logger import set_log_level
37
 
owl/examples/run_gaia_roleplaying.py CHANGED
@@ -32,7 +32,7 @@ from camel.toolkits import (
32
  from camel.types import ModelPlatformType, ModelType
33
  from camel.configs import ChatGPTConfig
34
 
35
- from utils import GAIABenchmark
36
  from camel.logger import set_log_level
37
 
38
  set_log_level(level="DEBUG")
 
32
  from camel.types import ModelPlatformType, ModelType
33
  from camel.configs import ChatGPTConfig
34
 
35
+ from owl.utils import GAIABenchmark
36
  from camel.logger import set_log_level
37
 
38
  set_log_level(level="DEBUG")
owl/examples/run_mini.py CHANGED
@@ -22,7 +22,7 @@ from camel.toolkits import (
22
  from camel.types import ModelPlatformType, ModelType
23
  from camel.logger import set_log_level
24
 
25
- from utils import OwlRolePlaying, run_society
26
 
27
  load_dotenv()
28
  set_log_level(level="DEBUG")
 
22
  from camel.types import ModelPlatformType, ModelType
23
  from camel.logger import set_log_level
24
 
25
+ from owl.utils import OwlRolePlaying, run_society
26
 
27
  load_dotenv()
28
  set_log_level(level="DEBUG")
owl/examples/run_ollama.py CHANGED
@@ -25,7 +25,7 @@ from camel.toolkits import (
25
  )
26
  from camel.types import ModelPlatformType
27
 
28
- from utils import OwlRolePlaying, run_society
29
 
30
  from camel.logger import set_log_level
31
 
 
25
  )
26
  from camel.types import ModelPlatformType
27
 
28
+ from owl.utils import OwlRolePlaying, run_society
29
 
30
  from camel.logger import set_log_level
31
 
owl/examples/run_openai_compatiable_model.py CHANGED
@@ -25,7 +25,7 @@ from camel.toolkits import (
25
  )
26
  from camel.types import ModelPlatformType
27
 
28
- from utils import OwlRolePlaying, run_society
29
 
30
  from camel.logger import set_log_level
31
 
 
25
  )
26
  from camel.types import ModelPlatformType
27
 
28
+ from owl.utils import OwlRolePlaying, run_society
29
 
30
  from camel.logger import set_log_level
31
 
owl/examples/run_qwen_mini_zh.py CHANGED
@@ -22,7 +22,7 @@ from camel.models import ModelFactory
22
  from camel.toolkits import BrowserToolkit, SearchToolkit, FileWriteToolkit
23
  from camel.types import ModelPlatformType, ModelType
24
 
25
- from utils import OwlRolePlaying, run_society
26
 
27
  from camel.logger import set_log_level
28
 
 
22
  from camel.toolkits import BrowserToolkit, SearchToolkit, FileWriteToolkit
23
  from camel.types import ModelPlatformType, ModelType
24
 
25
+ from owl.utils import OwlRolePlaying, run_society
26
 
27
  from camel.logger import set_log_level
28
 
owl/examples/run_qwen_zh.py CHANGED
@@ -29,7 +29,7 @@ from camel.toolkits import (
29
  )
30
  from camel.types import ModelPlatformType, ModelType
31
 
32
- from utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
33
 
34
  from camel.logger import set_log_level
35
 
 
29
  )
30
  from camel.types import ModelPlatformType, ModelType
31
 
32
+ from owl.utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
33
 
34
  from camel.logger import set_log_level
35
 
owl/examples/run_terminal.py CHANGED
@@ -23,7 +23,7 @@ from camel.toolkits import (
23
  from camel.types import ModelPlatformType, ModelType
24
  from camel.logger import set_log_level
25
 
26
- from utils import OwlRolePlaying, run_society
27
 
28
  load_dotenv()
29
  set_log_level(level="DEBUG")
 
23
  from camel.types import ModelPlatformType, ModelType
24
  from camel.logger import set_log_level
25
 
26
+ from owl.utils import OwlRolePlaying, run_society
27
 
28
  load_dotenv()
29
  set_log_level(level="DEBUG")
owl/examples/run_terminal_zh.py CHANGED
@@ -23,7 +23,7 @@ from camel.toolkits import (
23
  from camel.types import ModelPlatformType, ModelType
24
  from camel.logger import set_log_level
25
 
26
- from utils import OwlRolePlaying, run_society
27
 
28
  load_dotenv()
29
  set_log_level(level="DEBUG")
 
23
  from camel.types import ModelPlatformType, ModelType
24
  from camel.logger import set_log_level
25
 
26
+ from owl.utils import OwlRolePlaying, run_society
27
 
28
  load_dotenv()
29
  set_log_level(level="DEBUG")