leiwu30
7706b88f03
feat(core): Add stream data return and reception
...
1. add file: utils/steam_pipe.py
2. add demo: samples/flask_web_api.py
3. Other core code modifications, Add and use the StreamPipe class at night
4. Add flask library to requirements
2024-03-27 14:57:23 +08:00
seehi
aea06852ba
make the rag module optional
2024-03-22 11:15:31 +08:00
Alexander Wu
adb42f44d6
Merge pull request #1054 from mannaandpoem/main_update_fix_bug
...
Update process for "Fix bug"
2024-03-20 16:40:37 +08:00
Your Name
21c5d1955b
Update process for "Fix bug"
2024-03-20 14:27:11 +08:00
莘权 马
9a51038bd1
fixbug: #1031
2024-03-19 11:46:30 +08:00
Alexander Wu
e783e5b208
Merge pull request #974 from better629/feat_memory
...
Feat add rag
2024-03-17 23:39:12 +08:00
yzlin
5fc711ae82
minor updates
2024-03-13 16:50:19 +08:00
yzlin
3b001572d9
update tests, rm unused
2024-03-12 21:19:25 +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
yzlin
b5af9ccde6
fix unit tests for tool module
2024-03-11 16:18:28 +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
seehi
29d36948bf
rag pipeline
2024-03-08 00:40:55 +08:00
better629
cc91df59e5
replace langchain with llama-index
2024-03-08 00:39:15 +08:00
yzlin
0116de01b9
disentangle planner and tool module, optimize tool module, add react mode
2024-03-07 21:22:44 +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
莘权 马
5e6b665f15
fixbug: llm.aask unit test failed
2024-03-05 14:14:23 +08:00
莘权 马
e22a28215d
feat: merge geekan:main
2024-03-05 10:59:34 +08:00
yzlin
0a2273c7a0
small fixes
2024-03-04 10:45:00 +08:00
yzlin
0a01bdec6a
rename interpreter
2024-03-01 19:48:39 +08:00
yzlin
4c1ee630f6
merge mle & interpreter
2024-02-29 18:23:26 +08:00
mannaandpoem
eb3c6d14f9
Merge remote-tracking branch 'origin/main'
2024-02-29 16:50:50 +08:00
mannaandpoem
7864f01b01
Merge remote-tracking branch 'origin/main'
2024-02-29 16:46:36 +08:00
mannaandpoem
853d3d520a
Merge branch 'dev_split_code_plan_and_change'
2024-02-29 16:27:55 +08:00
Alexander Wu
b17cc3fa03
Merge pull request #939 from better629/feat_mock
...
Feat mock openai embed for document_store and memory UTs
2024-02-28 11:18:09 +08:00
yzlin
a2b85641c3
rm unnecessary function call
2024-02-27 17:59:50 +08:00
yzlin
219d361ca6
rm repetitive tool config for writing code; rm WriteCodeWithoutTools
2024-02-26 21:10:16 +08:00
lixiangtiandashen
dfa33fcdaa
Update role.py
...
由于提示词里要求llm选择的状态码是 0 到 状态数-1,所以我认为这里往states里添加动作对应状态时,也应当从0开始。
2024-02-22 04:31:24 +08:00
莘权 马
739452edbb
feat: merge geekan:dev
2024-02-19 11:02:10 +08:00
mannaandpoem
464de9e945
1. Split CODE_PLAN_AND_CHANGE into DEVELOPMENT_PLAN and IMPLEMENT_CHANGE
...
2. Update prompt
3. Adjust the position of the log for WriteCodePlanAndChange
2024-02-18 19:12:45 +08:00
yzlin
82a0d03e31
unified Interpreter naming
2024-02-18 17:06:39 +08:00
yzlin
1d5e5b75d3
add __init__ to avoid pypi import failure
2024-02-08 22:15:43 +08:00
geekan
a9b3098307
Merge pull request #860 from mannaandpoem/dev_lxb
...
Remove CODE_PLAN_AND_CHANGE_FILENAME and add code_plan_and_change_doc in CodingContext
2024-02-07 11:47:15 +08:00
yzlin
ee4aba206e
fix empty code when aask_code not returning language
2024-02-06 23:22:53 +08:00
yzlin
9343a6bd2c
mv pip success logic, rm redundant prompt
2024-02-05 15:40:41 +08:00
yzlin
748aabce70
add future; rename writecodebygenerate tools
2024-02-05 12:00:18 +08:00
yzlin
20393e9d7a
rename tool type
2024-02-05 11:38:07 +08:00
yzlin
4cfee3ba27
rm code steps, mv planner, mv ci mle
2024-02-04 23:23:18 +08:00
mannaandpoem
13d6159468
1. remove CODE_PLAN_AND_CHANGE_FILENAME
...
2. add code_plan_and_change_doc to _new_code_actions
2024-02-04 17:23:00 +08:00
yzlin
24d2c5c8e6
isolate codes to be restructured in the future
2024-02-04 10:45:02 +08:00
yzlin
891e35b92f
Merge branch 'dev' into code_intepreter
2024-02-02 20:45:45 +08:00
shenchucheng
f742827586
fix not fully defined error
2024-02-02 18:50:28 +08:00
yzlin
1da50f1825
remove ToolTypesEnum
2024-02-02 17:57:49 +08:00
莘权 马
0e864dc9da
Merge branch 'geekan/dev' into feature/rebuild
2024-02-02 17:20:14 +08:00
莘权 马
dadd09bfb5
feat: merge geekan:dev
2024-02-02 16:47:52 +08:00
shenchucheng
3125f4c0c7
remove extra value after model_validator in Role/ContextMixin
2024-02-02 16:35:51 +08:00
shenchucheng
f6824b078c
fix ContextMixin ut error
2024-02-02 16:13:29 +08:00