Yuhang Zhou
commited on
Commit
·
712a1ae
1
Parent(s):
9bb4c79
Update README.md
Browse files
README.md
CHANGED
@@ -64,7 +64,7 @@ Our vision is to revolutionize how AI agents collaborate to solve real-world tas
|
|
64 |
- [📋 Table of Contents](#-table-of-contents)
|
65 |
- [🔥 News](#-news)
|
66 |
- [🎬 Demo Video](#-demo-video)
|
67 |
-
- [✨️ Core Features](#-
|
68 |
- [🛠️ Installation](#️-installation)
|
69 |
- [**Clone the Github repository**](#clone-the-github-repository)
|
70 |
- [**Set up Environment**](#set-up-environment)
|
@@ -172,6 +172,21 @@ answer, chat_history, token_count = run_society(society)
|
|
172 |
logger.success(f"Answer: {answer}")
|
173 |
```
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
Example tasks you can try:
|
176 |
- "Find the latest stock price for Apple Inc."
|
177 |
- "Analyze the sentiment of recent tweets about climate change"
|
|
|
64 |
- [📋 Table of Contents](#-table-of-contents)
|
65 |
- [🔥 News](#-news)
|
66 |
- [🎬 Demo Video](#-demo-video)
|
67 |
+
- [✨️ Core Features](#-core-features)
|
68 |
- [🛠️ Installation](#️-installation)
|
69 |
- [**Clone the Github repository**](#clone-the-github-repository)
|
70 |
- [**Set up Environment**](#set-up-environment)
|
|
|
172 |
logger.success(f"Answer: {answer}")
|
173 |
```
|
174 |
|
175 |
+
For uploading files, simply provide the file path along with your question:
|
176 |
+
|
177 |
+
```python
|
178 |
+
# Task with a local file (e.g., file path: `tmp/example.docx`)
|
179 |
+
question = "What is in the given DOCX file? Here is the file path: tmp/example.docx"
|
180 |
+
|
181 |
+
society = construct_society(question)
|
182 |
+
answer, chat_history, token_count = run_society(society)
|
183 |
+
|
184 |
+
logger.success(f"Answer: {answer}")
|
185 |
+
```
|
186 |
+
|
187 |
+
OWL will then automatically invoke document-related tools to process the file and extract the answer.
|
188 |
+
|
189 |
+
|
190 |
Example tasks you can try:
|
191 |
- "Find the latest stock price for Apple Inc."
|
192 |
- "Analyze the sentiment of recent tweets about climate change"
|