geekan
|
22288a342d
|
1. 动作优化
1. SummarizeCode动作:用于基于代码进行总结,思考bug、逻辑、todo
2. CodeReview动作优化:目前强制要求回答问题,有更高的成功率了
1. 增加了LGTM/LBTM的回答,在LGTM时会及时停止,不重写代码
2. 目前增加了设置中的参数code_review_k_times,与reflexion类似,设置为2
3. 仍然有概率发生指令不遵循,尤其是会有比较高的概率发生同时review多个代码文件,还没想好怎么解决 #FIXME
3. 增加了env到Action结构中,现在可以直接调用环境接口了
4. WriteDesign:去除了对project_name的纠正代码,现在引导下可以一次生成对
1. 修改了提示词中的##格式,改为了JSON格式
2. 数据结构
1. Document的标准化:Env->Repo->Document,其中Document/Asset/Code都是Document
1. 原用于检索的Document改为IndexableDocument
2. Repo结构引入:用于Document装载与元数据装载
3. RepoParser引入:写了一个简单的AST parser(后续可能要换tree-sitter),给出了整库symbol
4. Env中增加了set/get/set_doc/get_doc接口,用于set/get单个变量或者一个Document。这个逻辑后续或许会进一步简化
3. 配置优化
1. 默认更换为gpt-4-1106-preview,以获得最好的效果与成本
2. 提供~/.metagpt作为配置最高优先级目录,从中读取config.yaml
3. workspace可以灵活指定了,在config中配置
4. project_name可以由命令行指定,并且改为由ProductManager生成
4. metagpt作为默认命令行,而非python startup.py
metagpt --help
metagpt --project-name game_2048 "make a 2048 game"
metagpt "make a 2048 game"
metagpt --project-name game_2048 --inc "将2048改为4096"
metagpt --project-name game_2048 --auto-inc "make a 2048 game"
1. 使用新的METAGPT_ROOT生成方式,而非寻找git,以便cli安装
2. 命令行由fire换为了typer,它会带来相对更好的体验
3. project_name可以灵活指定了,在metagpt命令行输入中配置
5. 其他
1. 现在支持多国语言了,中文已测试
2. BossRequirement -> UserRequirement
3. 大量错误文本的修正,增加了可读性
4. 中量提示词优化,稍微提升了一些准确率
5. 暂时屏蔽了LongtermMemory相关逻辑,这个逻辑底层调用了langchain的FAISS,会带来~5秒加载耗时
6. 修复了安装包中的部分描述错误
7. 去除了config中在openai_proxy设定时对base的重复修改,这个修改应该在openai初始化时发生
8. 修复了JSON在中文存储时的特定问题,ensure_ascii=False
|
2023-11-27 15:48:12 +08:00 |
|
geekan
|
715a1d874a
|
fix config
|
2023-11-27 15:48:07 +08:00 |
|
geekan
|
331d74059f
|
1. 动作优化
1. SummarizeCode动作:用于基于代码进行总结,思考bug、逻辑、todo
2. CodeReview动作优化:目前强制要求回答问题,有更高的成功率了
2. 数据结构
1. Document的标准化:Env->Repo->Document,其中Document/Asset/Code都只用Document
1. 原用于检索的Document改为IndexableDocument
2. Repo结构引入:用于Document装载与元数据装载
3. RepoParser引入:写了一个简单的AST parser(后续可能要换tree-sitter),给出了整库symbol
3. 配置优化
1. 默认更换为gpt-4-1106-preview,以获得最好的效果与成本
2. 提供~/.metagpt作为配置最高优先级目录,从中读取config.yaml
3. workspace可以灵活指定了,在config中配置
4. metagpt作为默认命令行,而非python startup.py
1. 使用新的METAGPT_ROOT生成方式,而非寻找git,以便cli安装
2. 命令行由fire换为了typer,它会带来相对更好的体验
3. project_name可以灵活指定了,在metagpt命令行输入中配置
5. 其他
1. BossRequirement -> UserRequirement
2. 大量错误文本的修正,增加了可读性
3. 中量提示词优化,稍微提升了一些准确率
4. 暂时屏蔽了LongtermMemory相关逻辑,这个逻辑底层调用了langchain的FAISS,会带来~5秒加载耗时
5. 修复了安装包中的部分描述错误
|
2023-11-27 15:47:06 +08:00 |
|
Sirui Hong
|
6f345002c4
|
Merge pull request #499 from seehi/feature-update-readme
Update README
|
2023-11-27 12:31:59 +08:00 |
|
better629
|
9e97e6d3d0
|
Update README_JA.md
|
2023-11-24 10:07:38 +08:00 |
|
better629
|
7a41870015
|
Update README_CN.md
|
2023-11-24 10:07:12 +08:00 |
|
better629
|
7ef9fddc64
|
Update README.md
|
2023-11-24 10:06:42 +08:00 |
|
seehi
|
7f16427205
|
update readme
|
2023-11-22 11:52:47 +08:00 |
|
better629
|
b17846401e
|
Merge pull request #498 from better629/feat_chatglm
fix zhipuapi's key to init openai api_key when using openai sdk
|
2023-11-21 19:38:22 +08:00 |
|
better629
|
322aef6f1d
|
fix zhipuapi's key to init openai api_key when using openai sdk
|
2023-11-21 19:24:57 +08:00 |
|
garylin2099
|
f57355c889
|
Merge pull request #490 from orange-crow/feat_openai_ask_code_via_function
Feat openai ask code via function.
|
2023-11-21 17:59:35 +08:00 |
|
Sirui Hong
|
dfe9168509
|
Update llm.py
rm 'sk-' verification
|
2023-11-21 17:35:33 +08:00 |
|
刘棒棒
|
7a5c66b01e
|
chore: general_function_schema, general_tool_choice -> GENERAL_FUNCTION_SCHEMA, GENERAL_TOOL_CHOICE
|
2023-11-21 17:14:39 +08:00 |
|
刘棒棒
|
bec4bc0e83
|
chore: add comments for kwargs.
|
2023-11-21 17:01:03 +08:00 |
|
刘棒棒
|
45655a2a28
|
chore: add function signature to get_choice_function and get_choice_function_arguments.
|
2023-11-21 16:34:12 +08:00 |
|
Sirui Hong
|
9940022096
|
Merge pull request #492 from better629/feat_chatglm
Feat chatglm
|
2023-11-21 14:54:27 +08:00 |
|
better629
|
8124c1fdd6
|
Merge branch 'feat_chatglm' of github.com:better629/MetaGPT into feat_chatglm
|
2023-11-21 14:52:43 +08:00 |
|
better629
|
ded2044be7
|
rm useless func
|
2023-11-21 14:50:31 +08:00 |
|
better629
|
03de86958d
|
Merge branch 'main' into feat_chatglm
|
2023-11-21 14:45:51 +08:00 |
|
better629
|
9d1d8a9fe4
|
fix
|
2023-11-21 14:10:04 +08:00 |
|
刘棒棒
|
657571a192
|
feat: ask_code message support type list[str].
|
2023-11-21 12:01:28 +08:00 |
|
刘棒棒
|
4418fe8283
|
feat: ask_code message support type list[Message].
|
2023-11-21 11:40:15 +08:00 |
|
刘棒棒
|
66f647276e
|
Revert "chore: change name."
This reverts commit daf29c41af.
|
2023-11-21 11:19:43 +08:00 |
|
刘棒棒
|
fcc9bd6063
|
chore: openai -> openai>=0.28.0
|
2023-11-21 11:17:56 +08:00 |
|
刘棒棒
|
daf29c41af
|
chore: change name.
|
2023-11-21 11:17:33 +08:00 |
|
better629
|
5ad4845c2f
|
Merge pull request #494 from better629/readme
refactor readme to use online document links
|
2023-11-20 17:36:32 +08:00 |
|
better629
|
62cba95c7f
|
Merge branch 'main' into readme
|
2023-11-20 16:06:00 +08:00 |
|
better629
|
c212c94da3
|
fix
|
2023-11-20 15:37:44 +08:00 |
|
better629
|
fa6621a699
|
rm useless files
|
2023-11-20 15:15:09 +08:00 |
|
better629
|
920caa048a
|
change step order of pip-install
|
2023-11-20 15:11:55 +08:00 |
|
better629
|
33f0ca2aee
|
add optional for npm
|
2023-11-20 15:04:37 +08:00 |
|
better629
|
f8f938f333
|
fix config when open llm model hosts as openai interface
|
2023-11-20 14:46:31 +08:00 |
|
better629
|
33ddababff
|
update
|
2023-11-20 09:27:22 +08:00 |
|
better629
|
1b91e66e3a
|
update
|
2023-11-20 09:23:47 +08:00 |
|
better629
|
bf47b500bf
|
fix
|
2023-11-19 15:43:56 +08:00 |
|
better629
|
ef5cb6f6de
|
update readme with online docs url
|
2023-11-19 15:38:47 +08:00 |
|
better629
|
6ef3b213c3
|
fix small problem
|
2023-11-18 22:17:40 +08:00 |
|
better629
|
2c81cc3e0f
|
add zhipuai_api unittest and remove useless log
|
2023-11-18 22:00:52 +08:00 |
|
better629
|
8e201384bf
|
add use_system_prompt to judge if need to add system_prompt part
|
2023-11-18 21:41:56 +08:00 |
|
better629
|
66f27ca2d5
|
add General Async API for http-based LLM model
|
2023-11-18 21:41:56 +08:00 |
|
better629
|
96ce036bd4
|
add zhipuai api with extra async invoke methods
|
2023-11-18 21:41:56 +08:00 |
|
刘棒棒
|
62254a184e
|
chore: add examples for ask_code and aask_code.
|
2023-11-18 18:33:00 +08:00 |
|
刘棒棒
|
218eeef4b8
|
chore: messages supports more types.
|
2023-11-18 18:15:50 +08:00 |
|
刘棒棒
|
2a88158933
|
chore: remove and renamed function_schema.py
|
2023-11-18 18:14:38 +08:00 |
|
刘棒棒
|
aca50086c3
|
chore: add comment for general_function_schema.
|
2023-11-18 16:59:14 +08:00 |
|
Ben
|
b03326e6d8
|
Merge branch 'geekan:main' into feature_function_call
|
2023-11-18 16:13:03 +08:00 |
|
刘棒棒
|
0153bb5416
|
feat: add ask code via function.
|
2023-11-18 16:09:56 +08:00 |
|
garylin2099
|
820fee5df6
|
Merge pull request #481 from garylin2099/human_roleplay
allow human to play any roles
|
2023-11-17 16:50:46 +08:00 |
|
garylin2099
|
705a3e962b
|
formatting
|
2023-11-17 14:40:07 +08:00 |
|
Sirui Hong
|
f8ebfa9a74
|
Update README_JA.md
rm as waitlist
|
2023-11-17 13:57:28 +08:00 |
|