Commit graph

2586 commits

Author SHA1 Message Date
刘棒棒
526025bbe3 change file name: crawle_webpage.py -> crawl_webpage.py 2024-01-25 15:01:05 +08:00
刘棒棒
0353f36f0d new file: examples/crawle_webpage.py 2024-01-24 15:21:32 +08:00
刘棒棒
0c8a844f5a add strip for result. 2024-01-24 12:06:07 +08:00
刘棒棒
3f2b512d29 new file: tests/metagpt/tools/libs/test_web_scraping.py 2024-01-24 10:53:37 +08:00
刘棒棒
dfe49a3312 update return value. 2024-01-24 10:53:03 +08:00
刘棒棒
ff5e7deb21 add strip for result. 2024-01-24 10:52:30 +08:00
林义章
d60a4c1cdb Merge branch 'update-CodeInterpreter._write_and_exec_code' into 'code_intepreter'
update CodeInterpreter._write_and_exec_code

See merge request agents/data_agents_opt!59
2024-01-23 13:44:30 +00:00
林义章
2d9a6c3c95 Merge branch 'fix-openai-tools_call-respond-bug' into 'code_intepreter'
Fix openai tools call respond bug

See merge request agents/data_agents_opt!58
2024-01-23 13:44:06 +00:00
刘棒棒
519f22f7bb update CodeInterpreter._write_and_exec_code 2024-01-23 20:53:08 +08:00
刘棒棒
bcda7ac951 add comments for openai tools_call respond bug. 2024-01-23 17:53:50 +08:00
刘棒棒
0cc0a16e52 add new test for tool_calls_rsp. 2024-01-23 17:50:04 +08:00
刘棒棒
cff4eff78d update CodeParser.parse_code. 2024-01-23 17:46:41 +08:00
刘棒棒
a06d8023d6 update CodeParser.parse_code. 2024-01-23 17:36:19 +08:00
刘棒棒
31813f2512 add new test for tool_calls_rsp. 2024-01-23 17:16:15 +08:00
刘棒棒
987eb6d38b fix: now support parsing code in message.content when using tools_call. 2024-01-23 17:06:22 +08:00
林义章
93538cc848 Merge branch 'add-test-for-aask_code-executecode' into 'code_intepreter'
Add test for aask code and executecode

See merge request agents/data_agents_opt!57
2024-01-22 13:42:26 +00:00
刘棒棒
0ad3de69a1 update _process_code. 2024-01-22 18:54:21 +08:00
刘棒棒
1bf9e023e4 add new test. 2024-01-22 18:53:40 +08:00
刘棒棒
3bfd0c8dad update truncate. 2024-01-22 18:36:23 +08:00
林义章
7f5f95d41b Merge branch 'tool_manage_new' into 'code_intepreter'
convert local class or function to tool, tool clarification at role initialization

See merge request agents/data_agents_opt!55
2024-01-22 09:12:02 +00:00
刘棒棒
64a296a29d update logger warning for JSONDecodeError. 2024-01-22 16:14:59 +08:00
刘棒棒
1793a5fec6 update function_rsps. 2024-01-22 16:09:23 +08:00
刘棒棒
c96b517774 add test. 2024-01-22 15:36:25 +08:00
刘棒棒
6cb2910d14 fix: now present the results of failure and success code in different ways. 2024-01-22 15:29:28 +08:00
yzlin
33e13b677b typo 2024-01-22 15:01:44 +08:00
yzlin
9b3987ff29 add docstring parser 2024-01-22 14:58:06 +08:00
刘棒棒
5ddaaaa347 add test: test_get_choice_function_arguments_for_aask_code. 2024-01-22 14:56:44 +08:00
yzlin
0f245f530e logging 2024-01-22 13:57:52 +08:00
林义章
8ed51b10b3 Merge branch 'fix-openai-return-bug' into 'code_intepreter'
fix: keep same return value in get_choice_function_arguments.

See merge request agents/data_agents_opt!53
2024-01-22 02:22:38 +00:00
刘棒棒
8084fca1d0 change default value of language_value. 2024-01-22 10:18:25 +08:00
林义章
e1a37ca76c Merge branch 'code_intepreter_fix_gpt_v_generator' into 'code_intepreter'
fix bug of save file and update prompt for gpt_v_generator tool

See merge request agents/data_agents_opt!52
2024-01-22 02:10:18 +00:00
mannaandpoem
9661c3c681 update IMAGE2WEBPAGE_PROMPT for gpt_v_generator tool 2024-01-22 09:15:17 +08:00
yzlin
540542834e allow select tool at role initialization & restructure writecodewithtools 2024-01-20 21:06:48 +08:00
yzlin
2ccfe31123 unittest for tool convert 2024-01-19 22:32:43 +08:00
yzlin
c4a60d89e0 make tool yaml from class or func docstring 2024-01-19 22:29:37 +08:00
刘棒棒
c6695a3023 fix: keep same return value in get_choice_function_arguments. 2024-01-19 15:37:28 +08:00
mannaandpoem
06b35a34a6 fix bug of save file and update prompt for gpt_v_generator tool 2024-01-19 10:00:56 +08:00
林义章
c7d46d0b0f Merge branch 'tool_manage_new' into 'code_intepreter'
Add tool registry, minimize MLEngineer

See merge request agents/data_agents_opt!50
2024-01-18 16:11:41 +00:00
yzlin
23fccdde67 update mock llm aask_code 2024-01-19 00:09:58 +08:00
yzlin
3faa094248 fix aask_code issues in ml_engineer 2024-01-18 23:45:37 +08:00
yzlin
88c4c8c90d integrate web scraping tool 2024-01-18 23:26:34 +08:00
yzlin
c32dcca293 fix schema reading bug 2024-01-18 21:22:34 +08:00
yzlin
1cabf2c503 change register arg name, integrate image2web tool 2024-01-18 21:22:34 +08:00
yzlin
9dc421b122 rename schema to schemas to avoid pydantic warning 2024-01-18 21:22:34 +08:00
yzlin
c8858cd8d4 minimize ml_engineer 2024-01-18 21:22:34 +08:00
yzlin
8a14dde219 tool_type renaming 2024-01-18 21:22:34 +08:00
yzlin
638dda31cf add unit tests for tool registry 2024-01-18 21:22:34 +08:00
yzlin
c8da839afe moving files 2024-01-18 21:22:34 +08:00
yzlin
d7ab4d315d renaming and integrate sd tool, fix import issue 2024-01-18 21:22:33 +08:00
yzlin
46cd219e81 add tool registry 2024-01-18 21:22:04 +08:00