Commit Graph

176 Commits

Author SHA1 Message Date
magmueller
0bbb32902f Draft example to apply for job 2024-11-18 19:45:36 +01:00
magmueller
e78ecc6ff0 Simplify browser access 2024-11-18 19:45:28 +01:00
magmueller
0bb488a01a Extent description for extract page 2024-11-18 14:28:57 +01:00
magmueller
3b047656f0 Fixed bug for empty parameters 2024-11-18 14:28:37 +01:00
magmueller
beef18c597 Merge remote-tracking branch 'origin/main' into fix-href-cap 2024-11-18 13:49:18 +01:00
magmueller
add855e5ee Dont cap urls 2024-11-18 13:46:22 +01:00
Magnus Müller
a70854af63 Merge pull request #24 from gregpr07/Demos
Example files
2024-11-17 23:27:31 +01:00
Magnus Müller
9693df217d Merge pull request #25 from gregpr07/scrolling-function
Core function to scroll up and down on page
2024-11-17 23:25:29 +01:00
magmueller
1e9dee081b Core function to scroll up and down on page 2024-11-17 16:43:54 +01:00
magmueller
d01e723660 Merge remote-tracking branch 'origin/main' into Demos 2024-11-17 16:15:09 +01:00
magmueller
f869a3fd7d Included example functions 2024-11-17 15:06:06 +01:00
magmueller
eacd575548 Included examples to run 2024-11-17 15:05:36 +01:00
Magnus Müller
a746f0e4ae Merge pull request #23 from gofenix/main
format JobDetails in readme
2024-11-17 13:38:05 +01:00
magmueller
e95a1162a4 Merge remote-tracking branch 'origin/main' into Demos 2024-11-17 09:57:31 +01:00
gofenix
8baca6d1bf format JobDetails in readme 2024-11-17 16:41:17 +08:00
Gregor Žunič
4f74170685 Added anonymized posthog telemetry (#22)
* added anonymized telemetry

* collect data with posthog readme
0.1.4
2024-11-17 01:17:01 +01:00
magmueller
46b22eb5a7 Removed videos 2024-11-16 01:17:08 +01:00
magmueller
3d726c618d Test display techniques 2024-11-16 01:12:51 +01:00
magmueller
bf5d55f4c7 Included video link from issue 2024-11-16 01:07:28 +01:00
magmueller
58e3f7f11f Include job search demo in readme 2024-11-16 00:48:01 +01:00
magmueller
b875727398 Add jobs_extraction and amazon using Git LFS 2024-11-16 00:43:24 +01:00
Gregor Žunič
95d73b1b94 reverted back to pyproject requirments 0.1.3 2024-11-16 00:33:28 +01:00
Gregor Žunič
7b2162f310 remove unecesary demos 0.1.1 2024-11-15 21:46:47 +01:00
Gregor Žunič
66c00f4873 added demos 2024-11-15 21:46:00 +01:00
Gregor Žunič
89c63fdd63 Added custom actions registry and fixed extraction layer (#20)
* Validator

* Test mind2web

* Cleaned up logger

* Pytest logger

* Cleaned up logger

* Disable flag for human input

* Multiple clicks per button

* Multiple clicks per button

* More structured system prompt

* Fields with description

* System prompt example

* One logger

* Cleaner logging

* Log step in step function

* Fix critical clicking error - wrong argument used

* Improved thought process of agent

* Improve system prompt

* Remove human input message

* Custome action registration

* Pydantic model for custom actions

* Pydantic model for custome output

* Runs through, model outputs functions, but not called yet

* Work in progress - description for custome actions

* Description works, but schema not yet

* Model can call the right action - but is not executed

* Seperate is_controller_action  and is_custom_action

* Works! Model can call custom function

* Use registry for action, but result is not feed back to model

* Include result in messages

* Works with custom function - but typing is not correct

* Renamed registry

* First test cases

* Captcha tests

* Pydantic for tests

* Improve prompts for multy step

* System prompt structure

* Handle errors like validation error

* Refactor error handling in agent

* Refactor error handling in agent

* Improved logging

* Update view

* Fix click parameter to index

* Simplify dynamic actions

* Use run instead of step

* Rename history

* Rename AgentService to Agent

* Rename ControllerService to Controller

* Pytest file

* Rename get state

* Rename BrowserService

* reversed dom extraction recursion to while

* Rename use_vision

* Rename use_vision

* reversed dom tree items and made browser less anoying

* Renaming and fixing type errors

* Renamed class names for agent

* updated requirements

* Update prompt

* Action registration works for user and controller

* Fix done call by returning ActionResult

* Fix if result is none

* Rename AgentOutput and ActionModel

* Improved prompt Passes 6/8 tests from test_agent_actions

* Calculate token cost

* Improve display

* Simplified logger

* Test function calling

* created super simple xpath extraction algo

* Tests logging

* tiny fixes to dom extraction

* Remove test

* Dont log number of clicks

* Pytest file

* merged per element js checks

* Check if driver is still open

* super fast processing

* fixed agent planning and stuff

* Fix example

* Fix example

* Improve error

* Improved error correction

* New line for step

* small type error fixes

* Test for pydantic

* Fix line

* Removed sample

* fixed readme and examples

---------

Co-authored-by: magmueller <mamagnus00@gmail.com>
2024-11-15 21:42:02 +01:00
Magnus Müller
5b5ee3e9b3 Merge pull request #19 from gregpr07/MagMueller-patch-1
Update README.md
2024-11-14 07:51:20 +01:00
Magnus Müller
7c209d1bec Update README.md
Include demo
2024-11-14 07:50:59 +01:00
Gregor Žunič
fedc08926c Merge branch 'feature/improving-extraction-layer' into main 2024-11-13 20:28:13 +01:00
Gregor Žunič
7729da6971 testig element highlighting 2024-11-13 13:52:28 +01:00
Magnus Müller
dfa1457531 Merge pull request #11 from tgaldes/issue_10_add_lxml_html_clean_dependency
Add lxml_html_clean as a dependency in pyproject.toml
2024-11-10 14:47:11 +01:00
Magnus Müller
264cb0a8bd Merge pull request #14 from jason19970210/patch-1
Update README.md with updating discord invitation link
2024-11-10 14:46:54 +01:00
jason19970210
f6fb5b4b9d Update README.md with updating discord invitation link
Update discord invitation link
2024-11-09 15:57:41 +08:00
Tyler Galdes
9b34692d54 Add lxml_html_clean as a dependency in pyproject.toml 2024-11-08 22:05:39 -05:00
Gregor Žunič
f11c37388d added highlighting of items 2024-11-07 19:02:02 +01:00
Gregor Žunič
7c5bc97e15 preserve element structure in outputs 2024-11-07 17:35:02 +01:00
magmueller
95d61b3325 Fix example 2024-11-06 20:02:57 +01:00
magmueller
a5b8f8ceda Fix typo and pip example 2024-11-06 19:41:27 +01:00
Gregor Žunič
77b5a9933e Merge pull request #4 from gregpr07:feature/pip-package
Feature/pip-package
2024-11-06 18:58:27 +01:00
Gregor Žunič
d1c76b8af2 updated readme 2024-11-06 18:57:53 +01:00
Gregor Žunič
00f2c3de0c pypi release files 2024-11-06 18:55:31 +01:00
Gregor Žunič
68201df624 src -> browser_use 2024-11-06 18:18:00 +01:00
Gregor Žunič
74e099948b more discord invites 2024-11-06 17:08:31 +01:00
Gregor Žunič
0c2942cb37 added discord buttons 2024-11-06 17:07:54 +01:00
Magnus Müller
3d89c72158 Merge pull request #2 from gregpr07/Example-improvement
Example showcase improvement
2024-11-06 03:01:10 +01:00
magmueller
63a5e8a9e8 Included limitations 2024-11-06 02:58:30 +01:00
magmueller
e4a13726d5 HN example 2024-11-06 02:47:57 +01:00
magmueller
3ee6c731a1 Extract hn content 2024-11-06 02:43:44 +01:00
magmueller
7473135da2 New examples for HN 2024-11-06 02:24:39 +01:00
magmueller
df2358d1bd Keep browser open 2024-11-06 02:24:26 +01:00
magmueller
f56c1dcece New Video 2024-11-06 01:48:19 +01:00