mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
update run readme and moudle import
This commit is contained in:
10
README.md
10
README.md
@@ -299,22 +299,22 @@ OWL supports various LLM backends, though capabilities may vary depending on the
|
||||
|
||||
```bash
|
||||
# Run with Qwen model
|
||||
python owl/run_qwen_zh.py
|
||||
python owl/examples/run_qwen_zh.py
|
||||
|
||||
# Run with Deepseek model
|
||||
python owl/run_deepseek_zh.py
|
||||
python owl/examples/run_deepseek_zh.py
|
||||
|
||||
# Run with other OpenAI-compatible models
|
||||
python owl/run_openai_compatiable_model.py
|
||||
python owl/examples/run_openai_compatiable_model.py
|
||||
|
||||
# Run with Ollama
|
||||
python owl/run_ollama.py
|
||||
python owl/examples/run_ollama.py
|
||||
```
|
||||
|
||||
For a simpler version that only requires an LLM API key, you can try our minimal example:
|
||||
|
||||
```bash
|
||||
python owl/run_mini.py
|
||||
python owl/examples/run_mini.py
|
||||
```
|
||||
|
||||
You can run OWL agent with your own task by modifying the `run.py` script:
|
||||
|
||||
@@ -303,16 +303,16 @@ OWL 支持多种 LLM 后端,但功能可能因模型的工具调用和多模
|
||||
|
||||
```bash
|
||||
# 使用 Qwen 模型运行
|
||||
python owl/run_qwen_zh.py
|
||||
python owl/examples/run_qwen_zh.py
|
||||
|
||||
# 使用 Deepseek 模型运行
|
||||
python owl/run_deepseek_zh.py
|
||||
python owl/examples/run_deepseek_zh.py
|
||||
|
||||
# 使用其他 OpenAI 兼容模型运行
|
||||
python owl/run_openai_compatiable_model.py
|
||||
python owl/examples/run_openai_compatiable_model.py
|
||||
|
||||
# 使用 Ollama 运行
|
||||
python owl/run_ollama.py
|
||||
python owl/examples/run_ollama.py
|
||||
```
|
||||
|
||||
你可以通过修改 `run.py` 脚本来运行自己的任务:
|
||||
|
||||
@@ -26,7 +26,7 @@ from camel.toolkits import (
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
from camel.logger import set_log_level
|
||||
|
||||
from utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
|
||||
from owl.utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
|
||||
|
||||
load_dotenv()
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ from camel.toolkits import (
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
|
||||
|
||||
from utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
|
||||
from owl.utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
|
||||
|
||||
from camel.logger import set_log_level
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ from camel.toolkits import (
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
from camel.configs import ChatGPTConfig
|
||||
|
||||
from utils import GAIABenchmark
|
||||
from owl.utils import GAIABenchmark
|
||||
from camel.logger import set_log_level
|
||||
|
||||
set_log_level(level="DEBUG")
|
||||
|
||||
@@ -22,7 +22,7 @@ from camel.toolkits import (
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
from camel.logger import set_log_level
|
||||
|
||||
from utils import OwlRolePlaying, run_society
|
||||
from owl.utils import OwlRolePlaying, run_society
|
||||
|
||||
load_dotenv()
|
||||
set_log_level(level="DEBUG")
|
||||
|
||||
@@ -25,7 +25,7 @@ from camel.toolkits import (
|
||||
)
|
||||
from camel.types import ModelPlatformType
|
||||
|
||||
from utils import OwlRolePlaying, run_society
|
||||
from owl.utils import OwlRolePlaying, run_society
|
||||
|
||||
from camel.logger import set_log_level
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ from camel.toolkits import (
|
||||
)
|
||||
from camel.types import ModelPlatformType
|
||||
|
||||
from utils import OwlRolePlaying, run_society
|
||||
from owl.utils import OwlRolePlaying, run_society
|
||||
|
||||
from camel.logger import set_log_level
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ from camel.models import ModelFactory
|
||||
from camel.toolkits import BrowserToolkit, SearchToolkit, FileWriteToolkit
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
|
||||
from utils import OwlRolePlaying, run_society
|
||||
from owl.utils import OwlRolePlaying, run_society
|
||||
|
||||
from camel.logger import set_log_level
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ from camel.toolkits import (
|
||||
)
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
|
||||
from utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
|
||||
from owl.utils import OwlRolePlaying, run_society, DocumentProcessingToolkit
|
||||
|
||||
from camel.logger import set_log_level
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ from camel.toolkits import (
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
from camel.logger import set_log_level
|
||||
|
||||
from utils import OwlRolePlaying, run_society
|
||||
from owl.utils import OwlRolePlaying, run_society
|
||||
|
||||
load_dotenv()
|
||||
set_log_level(level="DEBUG")
|
||||
|
||||
@@ -23,7 +23,7 @@ from camel.toolkits import (
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
from camel.logger import set_log_level
|
||||
|
||||
from utils import OwlRolePlaying, run_society
|
||||
from owl.utils import OwlRolePlaying, run_society
|
||||
|
||||
load_dotenv()
|
||||
set_log_level(level="DEBUG")
|
||||
|
||||
Reference in New Issue
Block a user