Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vyokky committed Mar 24, 2024
1 parent 5b08db3 commit 4d5a383
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Both agents leverage the multi-modal capabilities of GPT-Vision to comprehend th


## 📢 News
- 📅 2024-03-XX: New Release for v0.0.1! Check out our exciting new features:
- 📅 2024-03-25: New Release for v0.1! Check out our exciting new features:
1. Our UFO framework now support RAG from offline document and online Bing search.
2. We now support creating your help documents for each Windows app to become an app expert. Check XX for more details!
3. UFO now support more LLMs and customized models.
2. We now support creating your help documents for each Windows applications to become an app expert. Check XX for more details!
3. UFO now support more customizing GPT for AppAgent and ActAgent. You can now use text-only model (e.g. GPT-4) for each agent!
- 📅 2024-02-14: Our [technical report](https://arxiv.org/abs/2402.07939) is online!
- 📅 2024-02-10: UFO is released on GitHub🎈. Happy Chinese New year🐉!

Expand Down Expand Up @@ -184,11 +184,11 @@ If you use UFO in your research, please cite our paper:
```

## 📝 Todo List
- ⏩ Documentation.
- ⏩ Support local host GUI interaction model.
- Support more control using Win32 API.
- ⏩ RAG enhanced UFO.
- Chatbox GUI for UFO.
- [x] RAG enhanced UFO.
- [ ] Documentation.
- [ ] Support local host GUI interaction model.
- [ ] Support more control using Win32 API.
- [ ] Chatbox GUI for UFO.



Expand Down
6 changes: 3 additions & 3 deletions ufo/module/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,11 @@ def process_action_selection(self):
self.control_reannotate = executor.annotation(args, annotation_dict)
return

else:
self.control_reannotate = None

self.control_reannotate = None


# The task is finish and no further action is needed
# The task is finished and no further action is needed
if self.status.upper() == "FINISH" and not control_selected:
self.status = self.status.upper()
response_json = self.set_result_and_log("", response_json)
Expand Down
12 changes: 7 additions & 5 deletions ufo/ui_control/executor.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import time
import warnings

from ..utils import print_with_color
from .control import get_control_info
from ..config.config import load_config
import time, warnings
from .control import get_control_info
from ..utils import print_with_color


configs = load_config()

Expand All @@ -16,7 +18,7 @@ class ActionExecutor:
The action executor class.
"""

def __init__(self, control, application) -> None:
def __init__(self, control: object, application: object) -> None:
"""
Initialize the action executor.
:param control: The control element to execute the action.
Expand Down Expand Up @@ -113,7 +115,7 @@ def __set_edit_text(self, args_dict:dict):



def __texts(self, args_dict:dict):
def __texts(self, args_dict:dict) -> str:
"""
Get the text of the control element.
:param args: The arguments of the text method.
Expand Down

0 comments on commit 4d5a383

Please sign in to comment.