Commit graph

2258 commits

Author SHA1 Message Date
garylin2099
02e0eb0add
Merge pull request #1116 from garylin2099/di_fixes
Register tools from a path
2024-03-27 11:43:31 +08:00
yzlin
8b371eaad3 add test cases for tool convert 2024-03-27 11:41:04 +08:00
yzlin
a2493d99f1 add tool code for ast parsing 2024-03-25 17:35:12 +08:00
yzlin
67464c37f1 use ast to parse code texts and register a whole repo as tools 2024-03-25 16:09:31 +08:00
yzlin
28d293d490 docstring are usually english, discard jieba tokenizer 2024-03-25 15:57:31 +08:00
garylin2099
46bba83c1d
Merge pull request #1045 from garylin2099/di_fixes
fix bug for task type prompt, add tool recommender arg, support register tools by path
2024-03-19 19:46:34 +08:00
yzlin
8d4567ea19 support tool recommender spec during init 2024-03-19 19:36:59 +08:00
yzlin
cdc9015ec6 fix critical bug: human prior not injected 2024-03-19 17:53:26 +08:00
lidanyang
735c612818 fix bug of old version param 2024-03-19 11:15:24 +08:00
yzlin
e53a0acc8e register tools from path 2024-03-18 22:00:51 +08:00
garylin2099
7b06268f24
Merge pull request #1012 from garylin2099/di_fixes
fix repeated api call bug
2024-03-15 15:33:05 +08:00
yzlin
0271cd7f77 fix repeated api call bug 2024-03-15 15:30:42 +08:00
garylin2099
87d6d18a6b
Merge pull request #1004 from garylin2099/di_fixes
minor bug fixes
2024-03-13 23:47:34 +08:00
yzlin
b6eab0c638 fixed azure pricing plan 2024-03-13 23:39:46 +08:00
garylin2099
9f0ed61a15
Merge pull request #1002 from mannaandpoem/code_interpreter_update_terminate
update method of terminate
2024-03-13 20:13:32 +08:00
mannaandpoem
88cea9418c update method of terminate 2024-03-13 17:08:58 +08:00
mannaandpoem
60fd49ea60 update method of terminate 2024-03-13 16:52:53 +08:00
yzlin
5fc711ae82 minor updates 2024-03-13 16:50:19 +08:00
yzlin
93663784ab small bug fixes 2024-03-13 16:36:34 +08:00
yzlin
77eacec1b8 recover legacy task type 2024-03-13 16:29:28 +08:00
yzlin
9d453c5c10 avoid private fn registry, add some tests 2024-03-12 22:59:07 +08:00
yzlin
3b001572d9 update tests, rm unused 2024-03-12 21:19:25 +08:00
yzlin
19c0db8821 fix empty choices error when using azure 2024-03-12 18:05:50 +08:00
yzlin
e960ac8dc8 update requirement and example, recover legacy code 2024-03-12 16:43:24 +08:00
yzlin
a680a1a82f update examples 2024-03-12 16:11:57 +08:00
yzlin
38f21137ec Merge branch 'main' into code_interpreter 2024-03-12 15:13:14 +08:00
yzlin
3244e6cee5 Merge branch 'code_interpreter' into mi_refactor 2024-03-12 14:10:18 +08:00
garylin2099
612e4e15c6
Merge pull request #981 from mannaandpoem/code_interpreter_simplify_save_webpages
simplify save_webpages
2024-03-11 20:05:11 +08:00
mannaandpoem
9ad2f22c16 simplify save_webpages in gpt_v_generator.py 2024-03-11 19:59:12 +08:00
刘棒棒
980851136f chore 2024-03-11 17:07:54 +08:00
刘棒棒
09e3a8e1fa refine run_cell and parse_outputs. 2024-03-11 17:00:44 +08:00
mannaandpoem
478ba13b5f simplify save_webpages in gpt_v_generator.py 2024-03-11 16:56:47 +08:00
mannaandpoem
cc00161b98 simplify save_webpages in gpt_v_generator.py 2024-03-11 16:25:02 +08:00
yzlin
b5af9ccde6 fix unit tests for tool module 2024-03-11 16:18:28 +08:00
刘棒棒
3c9ed18f7e refine: rm is_success = "traceback" not in output.keys() 2024-03-11 14:51:02 +08:00
刘棒棒
9db705f20f refine: rm truncate. 2024-03-11 14:43:00 +08:00
yzlin
bff3ef02bc rm tool types 2024-03-11 13:58:19 +08:00
刘棒棒
bcde5171e0 refine parse_outputs in ExecuteNbCode. 2024-03-11 13:57:25 +08:00
yzlin
bf4b13ec4a simplify tool convert 2024-03-11 12:30:00 +08:00
刘棒棒
803359a758 refine: add terminate in Interpreter instead of Role. 2024-03-11 11:25:23 +08:00
刘棒棒
b5a534d617 fix: ipykernel_error that is Too many open files in system 2024-03-10 22:18:13 +08:00
yzlin
0116de01b9 disentangle planner and tool module, optimize tool module, add react mode 2024-03-07 21:22:44 +08:00
莘权 马
3fee7a5368 feat: +rfc197 example 2024-03-06 19:30:06 +08:00
莘权 马
8e85dd3bc6 feat: merge geekan:main 2024-03-05 16:03:57 +08:00
Alexander Wu
684ca961c3
Merge pull request #952 from garylin2099/v07-to-main
rename interpreter
2024-03-05 15:39:34 +08:00
Alexander Wu
1e5656df97
Merge pull request #948 from mannaandpoem/update_plan_and_improve_coverage
Update code plan and change and Improve test coverage
2024-03-05 15:37:13 +08:00
better629
8650fc2b19 fix langchain problem 2024-03-05 14:25:59 +08:00
莘权 马
0415881164 fixbug: llm.aask unit test failed 2024-03-05 14:18:45 +08:00
莘权 马
5e6b665f15 fixbug: llm.aask unit test failed 2024-03-05 14:14:23 +08:00
better629
f1f0ae4cc1 add anthropic_api 2024-03-05 13:58:51 +08:00