Skip to content

Commit

Permalink
Merge branch 'fix/pywinauto' of https://github.com/KrishPatel13/OpenA…
Browse files Browse the repository at this point in the history
…dapt into fix/pywinauto
  • Loading branch information
Krish Patel committed Jun 21, 2023
2 parents ee0a8e2 + 224cde1 commit fc9755f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

# OpenAdapt: AI-First Process Automation with Transformers

<img width="1512" alt="image" src="https://github.com/MLDSAI/OpenAdapt/assets/774615/60a85160-7b07-41b0-9295-2d1bfa6a0994">
### Enormous volumes of mental labor are wasted on repetitive GUI workflows.

### Foundation Models (e.g. [GPT-4](https://openai.com/research/gpt-4), [ACT-1](https://www.adept.ai/blog/act-1)) are powerful automation tools.

### OpenAdapt connects Foundation Models to GUIs:

<img width="1473" alt="image" src="https://github.com/MLDSAI/OpenAdapt/assets/774615/5a760e4a-c596-4604-b1a4-a9563dce0fe7">


([Slides](https://t.ly/7RGr))

Expand Down
1 change: 0 additions & 1 deletion openadapt/strategies/mixins/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ def get_summary(
parser = PlaintextParser.from_string(text, Tokenizer("english"))
summarized = self.summarizer(parser.document, num_sentences)
return summarized

Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
"""
Tests the get_summary function in summary_mixin.py
Tests the summarization function in summary.py
"""
from fuzzywuzzy import fuzz

from openadapt.strategies.demo import DemoReplayStrategy
from openadapt.strategies.mixins.summary import SummaryReplayStrategyMixin
from openadapt.models import Recording


RECORDING = Recording()
REPLAY = DemoReplayStrategy(RECORDING)


class SummaryReplayStrategy(SummaryReplayStrategyMixin):
"""Custom Replay Strategy to solely test the Summary Mixin."""

def __init__(self, recording: Recording):
super().__init__(recording)

def get_next_action_event(self):
pass


REPLAY = SummaryReplayStrategy(RECORDING)


def test_summary_empty():
empty_text = ""
Expand Down

0 comments on commit fc9755f

Please sign in to comment.