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
Merwane Hamadi
cf9a94a8b6
isort implemented
2023-04-17 13:42:01 -07:00
BillSchumacher
e758a4de3e
Update pinecone.py
...
Fix blank lines.
2023-04-15 15:03:33 -05: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
BillSchumacher
4bb7a598a5
Fix everything ( #1444 )
...
* Pi's message.
* Fix most everything.
* Blacked
2023-04-15 01:04:48 +01:00
0xArty
328ba5e69e
formatting
2023-04-14 20:42:28 +01:00
Merwane Hamadi
adf7c3ac98
added more autogpt prefixes in imports
2023-04-14 11:15:02 -07: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