Commit Graph

748 Commits

Author SHA1 Message Date
yhjun1026
449515fe13 fix plugin mode bug;Optimize the parsing logic for model response 2023-06-13 22:38:10 +08:00
csunny
25c34cb48f feature: add plugin of dashboard (#201) 2023-06-13 21:44:27 +08:00
csunny
77d2abba5d fix: conflicts 2023-06-13 21:41:18 +08:00
csunny
a00bb87047 Merge branch 'ty_test' of https://github.com/csunny/DB-GPT into dbgpt_doc 2023-06-13 21:39:33 +08:00
Shinexy
3a446d404b Feature xuyuan openai proxy (#197)
1. add openai proxy, support chatgpt model only if you provide openai
secret key, please configure in the .env file, in addition, you can
configure your own ChatGPT proxy server. Note that you should first set
the parameter 'LLM_MODEL=proxyllm'.
> PROXY_API_KEY=sk-xxx
> PROXY_SERVER_URL=https://api.openai.com/v1/chat/completions
> LLM_MODEL=proxyllm

2. Support multi-process start llmserver service
> gunicorn llmserver:app -w 4 -k uvicorn.workers.UvicornWorker -b
0.0.0.0:8000 &

3. Support free definition of port for webserver service. default is
7860
> WEB_SERVER_PORT=7860

4. Added configuration file .plugin_env to define plugin variables.
2023-06-13 21:24:50 +08:00
xuyuan23
f755c533cd solve merge conflict. 2023-06-13 21:22:05 +08:00
csunny
d839180d67 Todo: add retry for generate 2023-06-13 21:17:03 +08:00
yhjun1026
30ecd9f005 fix plugin mode bug;Optimize the parsing logic for model response 2023-06-13 21:03:21 +08:00
yhjun1026
206eb4732b fix plugin mode bug;Optimize the parsing logic for model response 2023-06-13 21:01:44 +08:00
yhjun1026
dc0c82abc1 fix plugin mode bug;Optimize the parsing logic for model response 2023-06-13 20:34:33 +08:00
yhjun1026
18bacbd7f7 fix plugin mode bug;Optimize the parsing logic for model response 2023-06-13 20:33:34 +08:00
magic.chen
7627867863 fix:default knowledge init error (#199)
1.fix default knowledge init error
2.knowledge_init.py bug
2023-06-13 19:57:09 +08:00
aries-ckt
38ca7c1cb2 fix:knowledge init 2023-06-13 19:50:10 +08:00
csunny
1f78c21c08 debug: more detail error info 2023-06-13 19:46:03 +08:00
csunny
77bc959819 Merge branch 'dbgpt_doc' of https://github.com/csunny/DB-GPT into llm_fxp 2023-06-13 19:26:07 +08:00
magic.chen
3818cbf8bb fix:db chat (#198)
1. change the radio name with db chat
2. tutorials doc update
2023-06-13 19:25:23 +08:00
aries-ckt
669e5cc3dc update:db chat 2023-06-13 19:20:19 +08:00
csunny
e057f4d3af Merge branch 'dbgpt_doc' of https://github.com/csunny/DB-GPT into llm_fxp 2023-06-13 18:02:38 +08:00
magic.chen
ad8e0e353a Dev gpt4all (#178)
add model from gpt4all @csunny
2023-06-13 17:59:26 +08:00
sheri528
fcdc3b600d Merge remote-tracking branch 'upstream/llm_fxp' into dev_gpt4all 2023-06-13 17:48:36 +08:00
xuyuan23
acc2c5806c remove comment code 2023-06-13 17:45:49 +08:00
xuyuan23
24457dc286 reformat file proxy_llm.py 2023-06-13 17:42:11 +08:00
magic.chen
fa59d2bcf0 feature:chat to db (#196)
1.complement of the official documentation
2.feature:chat o db, you can chat to db metadata info.
2023-06-13 17:29:15 +08:00
aries-ckt
7aa59596d2 update:db chat 2023-06-13 17:12:20 +08:00
aries-ckt
5d440dce94 Merge remote-tracking branch 'origin/dbgpt_doc' into dev 2023-06-13 17:10:16 +08:00
csunny
9dc6e016c3 fix: readme file 2023-06-13 16:53:01 +08:00
csunny
3d3d6c75fb Merge branch 'main' of https://github.com/csunny/DB-GPT into dbgpt_doc 2023-06-13 16:48:55 +08:00
csunny
6101069cfe fix: readme demo replace 2023-06-13 16:48:30 +08:00
aries-ckt
904d32655e update:doc 2023-06-13 16:04:44 +08:00
xuyuan23
6a8ee91834 add plugin_env file, define plugin config strategy. 2023-06-13 15:58:24 +08:00
aries-ckt
827d156688 Merge remote-tracking branch 'origin/main' into dev 2023-06-13 15:51:49 +08:00
yhjun1026
4e5ce4d98b Merge remote-tracking branch 'origin/feature-xuyuan-openai-proxy' into ty_test
# Conflicts:
#	pilot/model/llm_out/proxy_llm.py
2023-06-13 15:17:06 +08:00
yhjun1026
4690ac26ea fix 2023-06-13 15:14:50 +08:00
Aries-ckt
93512d6263 Update README.md to set Discord address (#194) 2023-06-13 14:43:20 +08:00
magic.chen
555ae71ab5 Update README.md 2023-06-13 14:41:54 +08:00
sheri528
cc3c2d7799 update sleep interval 2023-06-13 14:35:14 +08:00
sheri528
5da4b38964 format code 2023-06-13 14:22:55 +08:00
sheri528
a88e8aa51b update stream output 2023-06-13 14:11:23 +08:00
aries-ckt
7124c34017 update:doc 2023-06-13 10:56:58 +08:00
xuyuan23
c03bd6fe97 Merge branch 'main' into feature-xuyuan-openai-proxy 2023-06-13 09:49:57 +08:00
magic.chen
c979348a74 Update run.sh (#192)
modify variable error
2023-06-13 09:28:39 +08:00
highroom
cbe769eb92 Update run.sh
modify varible error
2023-06-12 22:59:46 +08:00
Aries-ckt
17b190b691 proxy llm, support stream format (#190) 2023-06-12 22:11:45 +08:00
xuyuan23
6e3b48c7c4 support multi process to launch llmserver, add openai proxy api. 2023-06-12 21:29:16 +08:00
aries-ckt
f29cbaab79 Merge remote-tracking branch 'origin/dbgpt_doc' into dev 2023-06-12 20:59:21 +08:00
aries-ckt
6a7c4aa5f6 feature:ppt embedding 2023-06-12 20:57:00 +08:00
xuyuan23
62eb6c383e add openai proxy, support chatgpt model only if you provide open ai secret key. 2023-06-12 17:29:35 +08:00
csunny
5b156e9a54 fix: lint the docs 2023-06-12 17:27:34 +08:00
yhjun1026
85176111b9 Merge branch 'llm_fxp' into ty_test 2023-06-12 16:57:20 +08:00
magic.chen
ea66a5097b fix translate problems (#186) 2023-06-11 23:15:33 +08:00