Commit Graph

46 Commits (16b7e7a91e7b6c73ddf3e7193cea53f1b45671fa)

Author SHA1 Message Date
Richard Beales 16b7e7a91e
Update prompt.py to clarify how to call commands (#4027)
* Update prompt.py to clarify how to call commands

* new cassettes

* try again with a new cassette

* one last try with the cassette

* black dot

---------

Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
2023-05-15 15:55:33 +03:00
merwanehamadi 4143d212a5
Feature/basic proxy (#4164)
* basic proxy (#54)

* basic proxy (#55)

* basic proxy

* basic proxy

* basic proxy

* basic proxy

* add back double quotes

* add more specific files

* write file

* basic proxy

* Put back double quotes
2023-05-14 11:07:37 +12:00
Media 900de5fe63
Challenge: Kubernetes and documentation (#4121)
* challenge_kubes_and_readme

* docs

* testing

* black and isort

* revision

* lint

* comments

* blackisort

* docs

* docs

* deleting_cassette

* suggestions

* misspelling_errors

---------

Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
2023-05-13 12:21:21 -07:00
minfeng-ai 23e1e1ed53
fix typos (#3998)
Co-authored-by: Minfeng Lu <minfenglu@Minfengs-MacBook-Pro.local>
Co-authored-by: Richard Beales <rich@richbeales.net>
2023-05-08 14:10:58 +01:00
merwanehamadi 33a3e6f998
Feature/centralize prompt (#3990)
Co-authored-by: xiao.hu <454292663@qq.com>
2023-05-08 07:24:53 +01:00
merwanehamadi baa7873ec1
memory challenge c inconsistent (#3985) 2023-05-07 20:16:26 -05:00
Douglas Schonholtz dc959596fc
Memory Challenge C (#3908)
* Memory Challenge C

* Working cassettes

* Doc fixes

* Linting and doc fix

* Updated cassette

* One more cassette try

---------

Co-authored-by: merwanehamadi <merwanehamadi@gmail.com>
2023-05-07 16:28:43 -07:00
bszollosinagy ea08050049
BUGFIX: Selenium Driver object reference was included in the browsing results for some reason (#3642)
* * there is really no need to return the  reference to the Selenium driver along with the text summary and list of links.

* * removing unused second return value from browse_website()

* * updated cassette

* * updated YAML cassette for test_browse_website

* * after requirements reinstall, another update YAML cassette for test_browse_website

* * another update YAML cassette for test_browse_website, only as a placholder commit to trigger re-testing due to some docker TCP timeout issue

* * another update YAML cassette for test_browse_website

---------

Co-authored-by: batyu <batyu@localhost>
2023-05-04 23:11:21 +01:00
merwanehamadi b0163230a9
create information retrieval challenge a (#3770)
Co-authored-by: Richard Beales <rich@richbeales.net>
2023-05-04 17:44:10 +01:00
Nicholas Tindle d74428057e
Move task_complete command out of prompt (#3663)
* feat: move task_complete command out of prompt

* fix: formatting fixes

* Add the shutdown command to the test agents

* tests: update test vcrs

---------

Co-authored-by: James Collins <collijk@uw.edu>
2023-05-03 16:40:49 -07:00
merwanehamadi b0c6ed999c
Feature/tighten up ci pipeline (#3700) 2023-05-02 19:07:50 +01:00
kinance 4767fe63d3
Fix the maximum context length issue by chunking (#3222)
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-05-01 20:13:24 +02:00
k-boikov aab79fdf6d
added tests for clone_repository (#3558)
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
Co-authored-by: Richard Beales <rich@richbeales.net>
2023-04-30 10:41:45 +01:00
merwanehamadi dd96d98fa1
Feature/test summarization against memory challenge (#3567)
Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com>
2023-04-30 09:56:57 +01:00
merwanehamadi 6997bb0bdd
memory challenge B (#3550)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-04-30 01:44:21 +01:00
merwanehamadi cdd91f7ea3
Feature/challenge memory management (#3425)
Co-authored-by: JS <38794445+jonathansheets517@users.noreply.github.com>
Co-authored-by: Richard Beales <rich@richbeales.net>
2023-04-29 21:09:58 +01:00
merwanehamadi aa3e37ac14
Fix memory by adding it only when context window full (#3469)
* Fix memory by adding it only when context window full

* clean json utils
2023-04-28 21:07:49 +01:00
James Collins 3b74d2150e
Organize all the llm stuff into a subpackage (#3436) 2023-04-28 12:00:54 -07:00
rickythefox 20ef130341
Add tests for code/shell execution & improve config fixture (#1268)
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-28 14:51:29 +02:00
James Collins 94dc6f19aa
Add a regression test for the embedding (#3422) 2023-04-27 11:48:18 -07:00
Reinier van der Leer 3d89ed1787
Fix imports, type hints and fixtures for goal oriented tests (#3415) 2023-04-27 19:16:56 +02:00
merwanehamadi adbb47fb65
scrape text regression test (#3387)
Co-authored-by: James Collins <collijk@uw.edu>
2023-04-27 09:27:15 -07:00
Robin Richtsfeld 76bd192f82
Set `vcr_config` scope to "session" (#3361)
Co-authored-by: BillSchumacher <34168009+BillSchumacher@users.noreply.github.com>
2023-04-26 20:55:01 -05:00
merwanehamadi 02f546d2bc
Run the integration tests in the CI pipeline BUT without API keys (#3359)
* integration tests in ci pipeline

* Update CONTRIBUTING.md

Co-authored-by: Reinier van der Leer <github@pwuts.nl>

---------

Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-26 20:45:03 -05:00
merwanehamadi a3195d84d3
remove do nothing (#3369) 2023-04-26 19:55:02 -05:00
merwanehamadi 7a006afb17
fix cassettes recording (#3342) 2023-04-26 13:11:08 -07:00
merwanehamadi a6355a6bc8
use pytest-recording with VCR (#3283) 2023-04-26 09:57:05 -07:00
Andres Caicedo f8dfedf1c6
Add function and class descriptions to tests (#2715)
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-24 14:55:49 +02:00
James Collins aedd288dbe
Refactor/collect embeddings code (#3060)
* Collect all embedding code into a single module

* Collect all embedding code into a single module

* actually, llm_utils is a better place

* Oh, and remove the module now that we don't use it

---------

Co-authored-by: Nicholas Tindle <nick@ntindle.com>
2023-04-23 17:50:50 -05:00
James Collins dcd6aa912b
Add workspace abstraction (#2982)
* Add workspace abstraction

* Remove old workspace implementation

* Extract path resolution to a helper function

* Add api key requirements to new tests
2023-04-23 14:36:04 -05:00
Merwane Hamadi b7cd56f72b
move decorator higher up
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-04-23 00:45:54 +02:00
Merwane Hamadi eb5a8a87d8
add decorator to tests
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-04-23 00:45:53 +02:00
Merwane Hamadi 996a3b331a
Add CI smoke test (#2461) 2023-04-23 00:23:45 +02:00
Merwane Hamadi cf9a94a8b6 isort implemented 2023-04-17 13:42:01 -07:00
Richard Beales e849e4ff0b
Merge pull request #1836 from cs0lar/fix/weaviate_index_to_classname
fixes Weaviate index name to classname conversion
2023-04-17 20:21:39 +01:00
0xArty 627533bed6
minimall add pytest (#1859)
* minimall add pytest

* updated docs and pytest command

* proveted milvus integration test running if milvus is not installed
2023-04-16 21:55:53 +01:00
cs0lar 0b936a2bb8 fixes index name to classname conversion 2023-04-16 10:48:43 +01:00
cs0lar 51224229eb fixed merge conflicts 2023-04-15 20:32:31 +01:00
xuqi.wxq 5e189c83ee Fix Milvus as a long-term memory backend. 2023-04-16 01:45:38 +08:00
cs0lar b2bfd395ed fixed formatting 2023-04-15 15:49:24 +01:00
cs0lar 4c7deef9ae merged master and resolved conflicts 2023-04-15 06:51:04 +01:00
0xArty 328ba5e69e formatting 2023-04-14 20:42:28 +01:00
Dino Hensen d64f866bfa Convert to python module named autogpt.
Also fixed the Dockerfile.
Converting to module makes development easier.
Fixes coverage script in CI and test imports.
2023-04-14 10:27:41 -07:00
Drikus Roor d1ea6cf002 lint: Fix all E302 linting errors 2023-04-13 10:50:51 +02:00
Drikus Roor 1f837968ff fix: Fix flake8 errors based on the flake8 command with a narrower definition of errors 2023-04-12 22:12:25 +02:00
sarango 16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12:00