James Collins
3b74d2150e
Organize all the llm stuff into a subpackage ( #3436 )
2023-04-28 12:00:54 -07:00
James Collins
2619740daa
Extract OpenAI API retry handler and unify ADA embeddings calls. ( #3191 )
...
* Extract retry logic, unify embedding functions
* Add some docstrings
* Remove embedding creation from API manager
* Add test suite for retry handler
* Make api manager fixture
* Fix typing
* Streamline tests
2023-04-25 11:12:24 -07:00
scout9ll
89125376ba
Fixed incorrect comment: Clear memory instead of Redis ( #3092 )
...
Co-authored-by: liaolin.qiu <liaolin.qiu@qingteng.cn >
2023-04-24 08:07:08 +01:00
James Collins
a28b8906a6
Add tests in pytest
2023-04-23 16:40:53 -07:00
James Collins
680c7b5aaa
Make local json cache when it doesn't exist
2023-04-23 15:43:04 -07:00
XFFXFF
2b87245e22
fix a missing import
2023-04-17 16:21:52 +08:00
Adrian Scott
c71c61dc58
Added one space after period for better formatting
2023-04-16 18:14:16 -05:00
jayceslesar
8990911522
unify annotations to future syntax
2023-04-16 14:02:48 -04:00
Imccccc
f67b81e200
Embedding Improvement
...
1. move embedding function into llm_utils
2. add try feature with in embedding function
2023-04-16 00:47:41 +08:00
BillSchumacher
1073954fb7
Reorg ( #1537 )
...
* Pi's message.
* Fix most everything.
* Blacked
* Add Typing, Docstrings everywhere, organize the code a bit.
* Black
* fix import
* Update message, dedupe.
* Increase backoff time.
* bump up retries
2023-04-15 13:56:23 +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