Skip to content

Commit 2bb0699

Browse files
committed
advantage usage doc
1 parent 4d165f0 commit 2bb0699

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

documents/docs/agents/evaluation_agent.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ The objective of the `EvaluationAgent` is to evaluate whether a `Session` or `Ro
55
The `EvaluationAgent` is fully LLM-driven and conducts evaluations based on the action trajectories and screenshots. It may not by 100% accurate since LLM may make mistakes.
66

77

8+
## Configuration
9+
To enable the `EvaluationAgent`, you can configure the following parameters in the `config_dev.yaml` file to evaluate the task completion status at different levels:
10+
11+
| Configuration Option | Description | Type | Default Value |
12+
|---------------------------|-----------------------------------------------|---------|---------------|
13+
| `EVA_SESSION` | Whether to include the session in the evaluation. | Boolean | True |
14+
| `EVA_ROUND` | Whether to include the round in the evaluation. | Boolean | False |
15+
| `EVA_ALL_SCREENSHOTS` | Whether to include all the screenshots in the evaluation. | Boolean | True |
16+
17+
818
## Evaluation Inputs
919
The `EvaluationAgent` takes the following inputs for evaluation:
1020

@@ -18,7 +28,7 @@ The `EvaluationAgent` takes the following inputs for evaluation:
1828
For more details on how to construct the inputs, please refer to the `EvaluationAgentPrompter` class in `ufo/prompter/eva_prompter.py`.
1929

2030
!!! tip
21-
You can configure whether to use all screenshots or only the first and last screenshot for evaluation in the `config_dev.yaml` file.
31+
You can configure whether to use all screenshots or only the first and last screenshot for evaluation in the `EVA_ALL_SCREENSHOTS` of the `config_dev.yaml` file.
2232

2333

2434
## Evaluation Outputs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Creating Your AppAgent
2+
3+
UFO provides a flexible framework and SDK for application developers to empower their applications with AI capabilities by wrapping them into an `AppAgent`. By creating an `AppAgent`, you can leverage the power of UFO to interact with your application and automate tasks.
4+
5+
To create an `AppAgent`, you can provide the following components:
6+
7+
| Component | Description | Usage Documentation |
8+
| --- | --- | --- |
9+
| [Help Documents](./help_document_provision.md) | The help documents for the application to guide the `AppAgent` in executing tasks. | [Learning from Help Documents](../advanced_usage/reinforce_appagent/learning_from_help_document.md) |
10+
| [User Demonstrations](./demonstration_provision.md) | The user demonstrations for the application to guide the `AppAgent` in executing tasks. | [Learning from User Demonstrations](../advanced_usage/reinforce_appagent/learning_from_demonstration.md) |
11+
| [Native API Wrappers](./warpping_app_native_api.md) | The native API wrappers for the application to interact with the application. | [Automator](../automator/overview.md) |

documents/docs/faq.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ A: Yes, you can host your custom LLM endpoint and configure UFO to use it. Check
2424
## Q7: Can I use non-English requests in UFO?
2525
A: It depends on the language model you are using. Most of LLMs support multiple languages, and you can specify the language in the request. However, the performance may vary for different languages.
2626

27-
## Q8: It shows the error `Error making API request: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))` when I run UFO. What should I do?
27+
## Q8: Why it shows the error `Error making API request: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))`?
2828
A: This means the LLM endpoint is not accessible. You can check the network connection (e.g. VPN) and the status of the LLM endpoint.
2929

30-
!!! tip
30+
!!! info
3131
To get more support, please submit an issue on the [GitHub Issues](https://github.com/microsoft/UFO/issues), or send an email to [[email protected]](mailto:[email protected]).

documents/mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ nav:
6868
- Icon Filtering: advanced_usage/control_filtering/icon_filtering.md
6969
- Customization: advanced_usage/customization.md
7070
- Creating Your AppAgent:
71+
- Overview: creating_app_agent/overview.md
7172
- Help Document Provision: creating_app_agent/help_document_provision.md
7273
- Demonstration Provision: creating_app_agent/demonstration_provision.md
7374
- Warpping App-Native API: creating_app_agent/warpping_app_native_api.md

0 commit comments

Comments
 (0)