Commit Graph

962 Commits

Author SHA1 Message Date
aries_ckt
4a5b25b4f1 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 15:48:17 +08:00
shiweisong.ssw
8a36558559 feat: fetch list when the page is ready 2023-06-26 15:45:48 +08:00
aries_ckt
e9d70b8f90 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 15:24:43 +08:00
aries_ckt
db28894443 feat: knowledge management backend api
1.create knowledge space
2.list knowledge space
3.create knowledge document
4.list knowledge document
5.save document chunks
6.sync embedding document
2023-06-26 15:24:25 +08:00
magic.chen
7d7452ac95 More docker compose improvements (#268)
For me GPU0 is a 3080 and GPU1 is a 4090 while others may only have one
GPU. So let us make gpu 0 the default.

Also I found a better way to build the containers and added a
cloudflared tunnel container
2023-06-26 15:23:03 +08:00
shiweisong.ssw
63660c195b feat: fetch list 2023-06-26 15:17:31 +08:00
aries_ckt
364f251a12 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 13:54:41 +08:00
shiweisong.ssw
df36f53d74 feat: modify the url 2023-06-26 11:26:39 +08:00
Aries-ckt
cf9153ea23 feat:llm support for chatglm2 (#271)
Add support for ChatGLM2-6B,which is the second-generation version of
the open-source bilingual (Chinese-English) chat model
[ChatGLM-6B](https://github.com/THUDM/ChatGLM-6B).
2023-06-25 23:41:47 +08:00
magic.chen
132f8fff01 Update model_config.py 2023-06-25 23:29:43 +08:00
csunny
53cb9d3fca docs: update readme for new llm support 2023-06-25 23:23:37 +08:00
csunny
a9fc9f0929 feat: support chatglm2-6b 2023-06-25 23:07:41 +08:00
csunny
fc7cb1cce3 feat: add chatglm2-6b support 2023-06-25 23:05:50 +08:00
aries_ckt
09d3bc9ddd Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-25 21:22:37 +08:00
shiweisong.ssw
3fe076c924 feat: modify .gitignore 2023-06-25 20:16:55 +08:00
aries_ckt
471f662a90 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-25 19:20:54 +08:00
shiweisong.ssw
3846a17a8e feat: modify the type of the button 2023-06-25 19:16:33 +08:00
aries_ckt
a6190a061c Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-25 19:14:29 +08:00
shiweisong.ssw
44403165ac feat: modify the type of the button 2023-06-25 19:13:23 +08:00
shiweisong.ssw
7200a64809 feat: modify the route 2023-06-25 19:09:27 +08:00
shiweisong.ssw
74d3e74432 fix: fix conflict 2023-06-25 18:31:33 +08:00
shiweisong.ssw
cfd237935d feat: finish the modal of add knowledge space 2023-06-25 18:22:59 +08:00
changhuiping.chp
d718c95d24 feat: 布局初版 2023-06-25 18:09:53 +08:00
aries_ckt
ee3a6ded7d Merge remote-tracking branch 'origin/dev_ty_06_end' into llm_framework 2023-06-25 16:08:28 +08:00
tuyang.yhj
c57c2e60e8 WEB API independent 2023-06-25 15:32:41 +08:00
tuyang.yhj
04b4f6adf9 Merge branch 'llm_framework' into dev_ty_06_end 2023-06-25 15:31:09 +08:00
tuyang.yhj
2bc4642345 Merge branch 'llm_framework' into DEV_TY_06 2023-06-25 14:47:30 +08:00
tuyang.yhj
d753af1166 WEB API independent 2023-06-25 14:46:46 +08:00
changhuiping.chp
8a36f784b7 fix: 布局初步定型 2023-06-25 14:36:12 +08:00
changhuiping.chp
5db89e623c feat: init next project 2023-06-25 10:38:31 +08:00
Joe Crypto
19cc2ba6e5 added plugins to gitignore 2023-06-23 01:20:44 +00:00
Joe Crypto
572d99adf5 added tunnel 2023-06-23 01:18:34 +00:00
joecryptotoo
f61153a45f docker ignore plugins too 2023-06-22 16:28:48 -07:00
joecryptotoo
5641795d81 changed to gpu 0(first GPU)
For me GPU0 is a 3080 and GPU1 is a 4090 others may only have one GPU
2023-06-22 16:23:02 -07:00
magic.chen
2f3a06011a Fixed up docker-compose (#267)
You can't have two CMD statements in one Dockerfile. Each service should
have it's own container so I split webserver and llmserver into two
containers.

```
docker compose build
docker compose up
```
2023-06-23 07:08:13 +08:00
Joe Crypto
ccbcb19ff1 added plugins volume 2023-06-22 19:49:44 +00:00
Joe Crypto
a1ea86cd32 override .env.template 2023-06-22 19:47:14 +00:00
Joe Crypto
6e294f1a5e install zh_core_web_sm 2023-06-22 19:46:49 +00:00
Joe Crypto
5f3034a9e6 fixed docker compose 2023-06-22 18:41:55 +00:00
joecryptotoo
8627f40211 Update Dockerfile 2023-06-22 10:12:13 -07:00
joecryptotoo
743a47ce61 Update docker-compose.yml 2023-06-22 10:08:37 -07:00
magic.chen
72c53b6287 fix: EMBEDDING_MODEL env config (#265)
1.solve the problem that EMBEDDING_MODEL config did not work 
Close #264
2023-06-22 23:46:07 +08:00
aries_ckt
85fb12e3d0 style: format webserver.py
format file format
2023-06-22 23:39:23 +08:00
aries_ckt
9d305469ad fix: EMBEDDING_MODEL env config
solve the problem that EMBEDDING_MODEL config did not work
Close #264
2023-06-22 23:33:27 +08:00
magic.chen
497c4665fd Update README.md (#256) 2023-06-21 11:11:39 +08:00
magic.chen
2c5df2e27e Update requirements.txt
change huggingface-hub==0.14.1
update pymilvus==2.2.1

fix #237
2023-06-21 10:10:22 +08:00
magic.chen
9ee579d26f fix: custom chat exception (#257)
fix custom chat exception
raise user can understand error
2023-06-20 20:00:36 +08:00
chenketing
204f7618b1 fix: custom chat exception
fix custom chat exception
raise user can understand error
2023-06-20 19:50:00 +08:00
csunny
083791ca3b feat: define framework and split api
add cache for llm
add openapi module
add proxy module
2023-06-20 19:36:35 +08:00
magic.chen
d4f48dfbbe Update README.zh.md 2023-06-20 19:15:08 +08:00