Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing typos #434

Merged
merged 39 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a4bc218
fix minor example bug
Feb 22, 2024
b9f381d
fix single typo
Feb 22, 2024
e88ffad
fix single typo in 105-logging.md
Feb 22, 2024
775913a
Merge remote-tracking branch 'upstream/main'
garyzhang99 Mar 26, 2024
5b082c4
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 1, 2024
a396b9b
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 7, 2024
ca5d3dc
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 12, 2024
67a07c9
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 18, 2024
e835e5c
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 22, 2024
5fcd43d
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 23, 2024
728743b
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 24, 2024
ba21e67
Merge remote-tracking branch 'upstream/main'
garyzhang99 Apr 26, 2024
0b936d5
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 8, 2024
b8f54de
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 9, 2024
45a0382
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 10, 2024
61de86f
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 15, 2024
3ae6e13
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 17, 2024
e2bd9ea
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 17, 2024
3cb202c
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 21, 2024
850ca1c
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 22, 2024
6658dd5
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 27, 2024
4ea7597
Merge remote-tracking branch 'upstream/main'
garyzhang99 May 31, 2024
b469348
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jun 4, 2024
bc1d5f7
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jun 6, 2024
1bbcf5f
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jun 14, 2024
dc7afcc
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jun 19, 2024
672dc28
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 2, 2024
42f54f0
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 8, 2024
c1adb7c
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 17, 2024
f10ec06
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 18, 2024
a3e915d
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 23, 2024
522d49a
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 25, 2024
56cd47c
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 29, 2024
59b22e2
Merge remote-tracking branch 'upstream/main'
garyzhang99 Jul 30, 2024
dad8f84
Merge remote-tracking branch 'upstream/main'
garyzhang99 Aug 2, 2024
5f6b1fe
Merge remote-tracking branch 'upstream/main'
garyzhang99 Aug 13, 2024
6c82527
Merge remote-tracking branch 'upstream/main'
garyzhang99 Aug 21, 2024
8c36e74
Merge remote-tracking branch 'upstream/main'
Sep 6, 2024
e7dc88f
fixing typos
Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sphinx_doc/en/source/tutorial/211-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The above functions provide basic operations for interactive web browser control
You can use them to build your own web browsing agent.

In AgentScope, the web browser is also some kind of tool functions, so you can use it together with the service toolkit module to build your own agent.
We also provide a [web browser agent](https://github.com/modelscope/agentscope/tree/main/examples/conversation_with_web_browser_agent)) in our example.
We also provide a [web browser agent](https://github.com/modelscope/agentscope/tree/main/examples/conversation_with_web_browser_agent) in our example.
You can refer to it for more details.


Expand Down
8 changes: 0 additions & 8 deletions docs/sphinx_doc/zh_CN/source/tutorial/211-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ print(browser.page_markdown)
print(browser.page_html)
```

Besides, to help vision models to understand the webpage better, we provide `set_interactive_marks` function,
which will mark all the interactive elements on the current webpage with index labels.
After calling `set_interactive_marks` function, more actions can be performed on the webpage.
For example, clicking a button, typing in a text box, etc.

此外,为了帮助视觉模型更好地理解网页,我们提供了 `set_interactive_marks` 函数,该函数会把当前网页上所有的可交互元素标记出来,并用序号标签进行标注(从0开始)。
调用 `set_interactive_marks` 函数标记网页后,我们就可以在网页上执行更多的操作,例如点击指定序号的按钮、在指定序号的文本框中进行输入等。

Expand All @@ -81,9 +76,6 @@ browser.set_interactive_marks()

上述的所有函数为交互式的 Web 浏览器控制提供了基本操作接口。开发者可以使用这些接口来构建自己的 Web 浏览代理。

In AgentScope, the web browser is also some kind of tool functions, so you can use it together with the service toolkit module to build your own agent.
We also provide a [web browser agent](https://github.com/modelscope/agentscope/tree/main/examples/conversation_with_web_browser_agent)) in our example.
You can refer to it for more details.

在 AgentScope 中,Web 浏览器也是一种工具函数,因此可以使用 `agentscope.service.ServiceToolkit` 来处理 `WebBrowser` 模块提供的函数,并构建自己的智能体。
我们在示例中提供了一个[Web 浏览器智能体](https://github.com/modelscope/agentscope/tree/main/examples/conversation_with_web_browser_agent)的样例。
Expand Down
2 changes: 1 addition & 1 deletion examples/conversation_with_web_browser_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To run this example, you need to:
2. Install the necessary Playwright packages:
- Run `pip install playwright` to set up the Python environment.
- Run `playwright install` to install the required browser for Playwright.
3. [Optional] For a better understanding of how web browsing is implemented, refer to the original code in [web_browser.py](../../src/agentscope/browser/web_browser.py) and [web_voyager_agent.py](../../src/agentscope/agents/web_voyager_agent.py).
3. [Optional] For a better understanding of how web browsing is implemented, refer to the original code in [web_browser.py](https://github.com/modelscope/agentscope/blob/main/src/agentscope/service/browser/web_browser.py) and [webact_agent.py](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_web_browser_agent/webact_agent.py).

## Running the Example

Expand Down