lazychih114
commited on
Commit
·
00999bc
1
Parent(s):
51e1cdf
update readme
Browse files- .gitignore +5 -1
- README.md +17 -0
- README_zh.md +17 -0
.gitignore
CHANGED
@@ -53,4 +53,8 @@ htmlcov/
|
|
53 |
.coverage.*
|
54 |
.cache
|
55 |
coverage.xml
|
56 |
-
*.cover
|
|
|
|
|
|
|
|
|
|
53 |
.coverage.*
|
54 |
.cache
|
55 |
coverage.xml
|
56 |
+
*.cover
|
57 |
+
|
58 |
+
owl/camel/types/__pycache__/
|
59 |
+
owl/camel/__pycache__/
|
60 |
+
owl/camel/utils/__pycache_/
|
README.md
CHANGED
@@ -142,6 +142,23 @@ Run the following minimal example:
|
|
142 |
```bash
|
143 |
python owl/run.py
|
144 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
# 🧪 Experiments
|
147 |
|
|
|
142 |
```bash
|
143 |
python owl/run.py
|
144 |
```
|
145 |
+
You can run OWL agent with your own task by modifying the `run.py` script:
|
146 |
+
|
147 |
+
```python
|
148 |
+
# Define your own task
|
149 |
+
question = "Task description here."
|
150 |
+
|
151 |
+
society = construct_society(question)
|
152 |
+
answer, chat_history, token_count = run_society(society)
|
153 |
+
|
154 |
+
logger.success(f"Answer: {answer}")
|
155 |
+
```
|
156 |
+
|
157 |
+
Example tasks you can try:
|
158 |
+
- "Find the latest stock price for Apple Inc."
|
159 |
+
- "Analyze the sentiment of recent tweets about climate change"
|
160 |
+
- "Help me debug this Python code: [your code here]"
|
161 |
+
- "Summarize the main points from this research paper: [paper URL]"
|
162 |
|
163 |
# 🧪 Experiments
|
164 |
|
README_zh.md
CHANGED
@@ -139,6 +139,23 @@ python -m pip install -r requirements.txt
|
|
139 |
python owl/run.py
|
140 |
```
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
# 🧪 实验
|
143 |
|
144 |
我们提供了一个脚本用于复现 GAIA 上的实验结果。
|
|
|
139 |
python owl/run.py
|
140 |
```
|
141 |
|
142 |
+
你可以通过修改 `run.py` 来运行自定义任务的 OWL 智能体:
|
143 |
+
|
144 |
+
```python
|
145 |
+
# Define your own task
|
146 |
+
question = "Task description here."
|
147 |
+
|
148 |
+
society = construct_society(question)
|
149 |
+
answer, chat_history, token_count = run_society(society)
|
150 |
+
|
151 |
+
logger.success(f"Answer: {answer}")
|
152 |
+
```
|
153 |
+
|
154 |
+
你可以尝试以下示例任务:
|
155 |
+
- "查询苹果公司的最新股票价格"
|
156 |
+
- "分析关于气候变化的最新推文情绪"
|
157 |
+
- "帮我调试这段 Python 代码:[在此粘贴你的代码]"
|
158 |
+
- "总结这篇研究论文的主要观点:[论文URL]"
|
159 |
# 🧪 实验
|
160 |
|
161 |
我们提供了一个脚本用于复现 GAIA 上的实验结果。
|