Lei Zhang
5ae044f53d
Integrate plugin.handle_text_embedding hook ( #2804 )
...
* add feature custom text embedding in plugin
* black code format
* _get_embedding_with_plugin()
* Fix docstring & type hint
---------
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-07-15 03:10:32 +02:00
Reinier van der Leer
050c52a008
Fix CommandRegistry state initialization
2023-07-09 20:32:59 +02:00
lengweiping1983
8b8b3a2cdd
Improve command system; add aliases for commands ( #2635 )
...
* Command name supports multiple names
* Separate CommandRegistry.commands and .command_aliases
* Update test_commands.py
* Add __contains__ operator to CommandRegistry
* Update error message for unknown commands
---------
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-07-08 17:29:55 +02:00
Erik Peterson
857d26d101
Add OpenAI function call support ( #4683 )
...
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-06-22 04:52:44 +02:00
merwanehamadi
10d7747ae2
Use JSON format for commands signature ( #4714 )
...
* Use JSON for command signature
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
* Improve plugin backward compatibility (#4716 )
* Fixed plugin test
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
* Fix Docker-CI
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
* Put back commands, clean typing and signatures
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
---------
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
Co-authored-by: Erik Peterson <e@eriklp.com >
Co-authored-by: Luke K (pr-0f3t) <2609441+lc0rp@users.noreply.github.com >
2023-06-17 08:39:17 -07:00
Erik Peterson
195a7fcad8
Refactor module layout of command classes ( #4706 )
2023-06-15 11:34:41 -07:00
merwanehamadi
ee9f10a8d8
remove unused imports automatically ( #4449 )
...
* remove unused imports automatically
* add linters to pr template
* remove useless try statement
2023-05-28 05:50:50 -07:00
k-boikov
f07fcdf0a7
Pull auto-gpt-plugin-template from GitHub instead of PyPI ( #4402 )
...
* switch from pypi to github for auto-gpt-plugin-template
* adapt tests to new plugin interface
2023-05-26 14:48:36 +02:00
BillSchumacher
d7679d755f
Fix all commands and cleanup
2023-04-19 18:17:04 -05:00
BillSchumacher
4c7b582454
apply black
2023-04-18 19:09:15 -05:00
BillSchumacher
86d3444fb8
isort, add proper skips.
2023-04-18 18:59:23 -05:00
Evgeny Vakhteev
894026cdd4
reshaping code and fixing tests
2023-04-18 12:52:09 -07:00
Evgeny Vakhteev
9fd80a8660
tests, model
2023-04-17 20:51:27 -07:00
Evgeny Vakhteev
193c80849f
separating OpenAI Plugin base class
2023-04-17 18:42:42 -07:00