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

Vyokky/dev Agent and automator modularization + Learning for demonstration #50

Merged
merged 49 commits into from
Apr 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
92f354e
Add record processor for the user demonstration learning
yunhao0204 Mar 26, 2024
398a778
Polish code and enable UFO Rag from user demostration
yunhao0204 Mar 27, 2024
73e91cf
Add README and related sample files
yunhao0204 Mar 27, 2024
b79e5f2
basic agent classes
vyokky Mar 28, 2024
1c5fa1d
basic classes
vyokky Mar 28, 2024
db478e9
import refine
vyokky Mar 31, 2024
db0c127
agent framework
vyokky Mar 31, 2024
a41a171
agent framework
vyokky Mar 31, 2024
d29bf1d
log and memory management
vyokky Apr 1, 2024
23e42c0
plugin
vyokky Apr 1, 2024
8a8536f
plugin
vyokky Apr 1, 2024
1c7ad6f
Enable record_processor return multiple plans to let user choose
yunhao0204 Apr 1, 2024
0ff8289
plugin basic
vyokky Apr 1, 2024
8df4178
plugin basic
vyokky Apr 1, 2024
d2ca2c4
refinement
vyokky Apr 1, 2024
fc3fb33
refinement
vyokky Apr 1, 2024
8483a1b
refinement
vyokky Apr 1, 2024
40cb6d9
app puppeteer
vyokky Apr 2, 2024
8c8f81b
app puppeteer
vyokky Apr 2, 2024
7531be5
sorted imported
vyokky Apr 2, 2024
923ee6c
name change
vyokky Apr 2, 2024
833b6e2
name change
vyokky Apr 2, 2024
3b87cca
Fix the json parse issue and update README
yunhao0204 Apr 2, 2024
654da0f
readme for offline RAG
vyokky Apr 2, 2024
d083ebf
readme for offline RAG
vyokky Apr 2, 2024
a530d84
puppeteer init
vyokky Apr 2, 2024
29c2e22
puppeteer init
vyokky Apr 2, 2024
4fb0937
Merge branch 'vyokky/dev' into demonstration
yunhao0204 Apr 2, 2024
c11b097
Merge pull request #49 from yunhao0204/demonstration
vyokky Apr 2, 2024
658a86d
agent name change
vyokky Apr 2, 2024
eb96de9
config fixed
vyokky Apr 2, 2024
9ca9b2b
config fixed
vyokky Apr 2, 2024
3c108b8
error trace
vyokky Apr 2, 2024
f89be86
rm redundant
vyokky Apr 2, 2024
5adb714
merge
vyokky Apr 2, 2024
25d5923
bug fix
vyokky Apr 2, 2024
733e282
bug fix
vyokky Apr 2, 2024
1149b02
color change
vyokky Apr 2, 2024
988f110
readme
vyokky Apr 2, 2024
86f4213
rm redundant
vyokky Apr 2, 2024
55dfb83
rm old prompt
vyokky Apr 2, 2024
591f945
sort imports
vyokky Apr 2, 2024
8b8f464
check com exist
vyokky Apr 2, 2024
c5da96f
comment and docstring
vyokky Apr 3, 2024
e7f734a
comment and docstring
vyokky Apr 3, 2024
7f5c58c
fix comment
vyokky Apr 7, 2024
123fa88
fix comment
vyokky Apr 8, 2024
718e74b
fix agent register
vyokky Apr 8, 2024
adc8b13
memory fix
vyokky Apr 8, 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
Prev Previous commit
Next Next commit
puppeteer init
  • Loading branch information
vyokky committed Apr 2, 2024
commit 29c2e2281d169919edd4e07689e93625b1191615
10 changes: 8 additions & 2 deletions ufo/automator/puppeteer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@

class AppPuppeteer():
"""
The base class for the app expert.
The class for the app puppeteer to automate the app in the Windows environment.
"""

def __init__(self, process_name, app_root_name, ui_control_interface) -> None:
def __init__(self, process_name: str, app_root_name: str, ui_control_interface) -> None:
"""
Initialize the app puppeteer.
:param process_name: The process name of the app.
:param app_root_name: The app root name, e.g., WINWORD.EXE.
:param ui_control_interface: The UI control interface instance in pywinauto.
"""

self._process_name = process_name
self._app_root_name = app_root_name
Expand Down