Commit graph

2320 commits

Author SHA1 Message Date
yzlin
da98495657 add tool code for ast parsing 2024-03-25 17:36:38 +08:00
yzlin
e7423763bc Merge branch 'di_fixes' into add_tool_from_path 2024-03-25 16:15:08 +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
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
yzlin
e53a0acc8e register tools from path 2024-03-18 22:00:51 +08:00
mannaandpoem
ef3be47f28 Add Inference of SWE-bench for Data Interpreter 2024-03-18 14:30:53 +08:00
Alexander Wu
e783e5b208
Merge pull request #974 from better629/feat_memory
Feat add rag
2024-03-17 23:39:12 +08:00
betterwang
8c218a1e55 fix persist naming 2024-03-16 22:26:40 +08:00
seehi
5448de3e3e modify comment of ObjectNodeMetadata 2024-03-16 09:30:39 +08:00
seehi
d27026ad81 just change some func's position 2024-03-16 09:11:54 +08:00
seehi
ec2e8bdca3 for consistency, move rag.llm to rag.factories.llm 2024-03-16 09:03:34 +08:00
Alexander Wu
eb8e8460b8
Merge pull request #997 from liujun3660105/feat/add-cusotm-llm-config
feat:add user llm config
2024-03-15 23:32:56 +08:00
Alexander Wu
07672fc683
Merge pull request #986 from azurewtl/fixed-fail-to-reduce-message-length
fixbug#979 : `RuntimeError: fail to reduce message length`
2024-03-15 23:32:07 +08:00
seehi
8e8075317e rename RAGConfigRegistry to ConfigBasedFactory 2024-03-15 18:55:08 +08:00
seehi
f46cc95bc2 Merge branch 'feat_memory' of github.com:better629/MetaGPT into feat_memory 2024-03-15 15:36:29 +08:00
seehi
cb9543b2b9 rename ConfigFactory to RAGConfigRegistry 2024-03-15 15:36:10 +08:00
yzlin
0271cd7f77 fix repeated api call bug 2024-03-15 15:30:42 +08:00
better629
ba1866f7ca
Update openai_api.py 2024-03-15 15:19:18 +08:00
betterwang
b3d13ac992 update 2024-03-15 14:29:00 +08:00
seehi
e58cef6f18 update rsp_cache.json 2024-03-15 11:12:48 +08:00
seehi
666cac971f add runtime_checkable to support 3.10 2024-03-14 22:41:38 +08:00
better629
8a8e29902f fix anthropic_api _update_costs problem 2024-03-14 22:33:36 +08:00
better629
1306971d2d add yi-34b 2024-03-14 21:34:23 +08:00
seehi
468e574ef0 add NoEmbedding interface 2024-03-14 20:39:19 +08:00
seehi
6c95e601a0 add BM25IndexConfig 2024-03-14 17:44:37 +08:00
June
2a4934094c
Merge branch 'geekan:main' into feat/add-cusotm-llm-config 2024-03-14 08:34:56 +08:00
liujun
b2cfea2c74 fix:repair custom llm config 2024-03-14 08:32:18 +08:00
Alexander Wu
4cf6102921
Merge pull request #995 from geekan/code_interpreter
Restructure DataInterpreter
2024-03-14 01:26:51 +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
seehi
d29ebc91cc add context_window and num_output in rag_llm 2024-03-13 18:00:57 +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
seehi
33c6f1e17c rename func 2024-03-13 11:17:49 +08:00
liujun
e1123bae82 feat:add user llm config 2024-03-13 09:59:30 +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
Azure Wang
73d0d29e81 - change reserved parameter back to config.llm.max_token 2024-03-12 16:49:04 +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
Azure Wang
6487ae84b0 - updated MAX-TOKEN according to openai document
- minior optimization of code style
- fixed issues `RuntimeError: fail to reduce message length`
2024-03-11 22:27:59 +08:00