莘权 马
|
390065c680
|
feat: rebase geekan:env_refactor
|
2023-12-09 16:20:01 +08:00 |
|
莘权 马
|
ec8c703c5a
|
feat: merge geekan:main
|
2023-12-08 20:03:13 +08:00 |
|
莘权 马
|
5394da6d37
|
fixbug: azure call function
|
2023-12-08 11:17:06 +08:00 |
|
莘权 马
|
9d84c8f047
|
feat: +SummarizeCode, refactor project_name
|
2023-12-08 10:34:57 +08:00 |
|
莘权 马
|
1c0383dec3
|
feat: merge fixbug/rfc135_shenquan
|
2023-12-07 12:13:32 +08:00 |
|
莘权 马
|
9cc8fd887f
|
feat: +SummarizeCode, refactor project_name
|
2023-12-07 10:15:08 +08:00 |
|
莘权 马
|
526d56cf54
|
feat: upgrade openai 1.x
|
2023-12-06 10:57:17 +08:00 |
|
莘权 马
|
45aa451ec6
|
feat: upgrade openai to 1.x
|
2023-12-04 13:55:12 +08:00 |
|
莘权 马
|
78548c2ddc
|
feat: merge geekan:cli-etc
|
2023-11-28 18:16:50 +08:00 |
|
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 |
|
莘权 马
|
cda032948f
|
refactor: pre-commit run --all-files
|
2023-11-22 16:26:48 +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 |
|
刘棒棒
|
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 |
|
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 |
|
刘棒棒
|
daf29c41af
|
chore: change name.
|
2023-11-21 11:17:33 +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 |
|
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
|
7bf808ee25
|
renaming & provide example & small bug fix
|
2023-11-17 00:20:46 +08:00 |
|
garylin2099
|
0bf2ce707e
|
allow human to play any roles
|
2023-11-09 01:41:24 +08:00 |
|
leonzh0u
|
4b122903f4
|
bugfix indentation error
|
2023-10-24 23:18:02 -04:00 |
|
polease
|
78a5a2fe2f
|
Fix issue#326 by adjust indentation
|
2023-10-23 11:40:00 +08:00 |
|
zhouzinimg
|
ecea8574b5
|
修改命名
|
2023-10-18 22:46:33 +08:00 |
|
zhouzinimg
|
041da760e0
|
修正
|
2023-10-18 22:17:16 +08:00 |
|
zhouzinimg
|
9af9461b4f
|
新修改。
|
2023-10-18 19:40:41 +08:00 |
|
zhouzinimg
|
f3c7da32a0
|
按照要求修改
|
2023-10-16 22:53:28 +08:00 |
|
ziming
|
c18f384356
|
Merge branch 'main'
|
2023-09-25 22:24:09 +08:00 |
|
ziming
|
6997ddc49c
|
fixed
|
2023-09-19 20:41:10 +08:00 |
|
ziming
|
5709e48713
|
fixed
|
2023-09-19 20:40:58 +08:00 |
|
zhanglei
|
1463b7d8a6
|
update: moderation add asyncio func impl
|
2023-09-15 10:02:15 +08:00 |
|
zhanglei
|
ebb5ec9c0a
|
update:Modify based on comments
|
2023-09-14 20:18:11 +08:00 |
|
zhanglei
|
0bf0ab2917
|
update:Modify based on comments
|
2023-09-14 16:33:00 +08:00 |
|
zhanglei
|
9bf1e51d02
|
add: openai moderation
|
2023-09-14 15:21:34 +08:00 |
|
ziming
|
761d60f26d
|
Merge branch 'main' of https://github.com/geekan/MetaGPT
|
2023-09-05 22:27:21 +08:00 |
|