Commit Graph

969 Commits

Author SHA1 Message Date
magic.chen
68fa925083
fix: documents chat not working with chatglm2-6b (#275)
Close #274
2023-06-26 19:59:02 +08:00
aries_ckt
746da74116 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 18:56:39 +08:00
shiweisong.ssw
10d6e23815 fix: fix the bug of the router 2023-06-26 18:27:33 +08:00
staneyffer
b41be465ad fix: documents chat not working with chatglm2-6b 2023-06-26 18:13:31 +08:00
aries_ckt
9b86291a56 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 17:39:43 +08:00
shiweisong.ssw
6ff5cf517c feat: fetch chunk list 2023-06-26 17:35:46 +08:00
shiweisong.ssw
4063fcb732 feat: fetch documents 2023-06-26 16:34:58 +08:00
aries_ckt
cc215ca5cf Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 15:48:17 +08:00
shiweisong.ssw
fe7febc266 feat: fetch list when the page is ready 2023-06-26 15:45:48 +08:00
aries_ckt
6958372705 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 15:24:43 +08:00
aries_ckt
91d6edc4eb 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
acee2041ab
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
5930150b9c feat: fetch list 2023-06-26 15:17:31 +08:00
aries_ckt
a96a4e2e80 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-26 13:54:41 +08:00
shiweisong.ssw
4c148d36ce feat: modify the url 2023-06-26 11:26:39 +08:00
Aries-ckt
8a54ae742b
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
aa4115ef67
Update model_config.py 2023-06-25 23:29:43 +08:00
csunny
c19a7b12e1 docs: update readme for new llm support 2023-06-25 23:23:37 +08:00
csunny
d983a69d16 feat: support chatglm2-6b 2023-06-25 23:07:41 +08:00
csunny
192b289480 feat: add chatglm2-6b support 2023-06-25 23:05:50 +08:00
aries_ckt
6495ccf0e5 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-25 21:22:37 +08:00
shiweisong.ssw
f39c3ebbea feat: modify .gitignore 2023-06-25 20:16:55 +08:00
aries_ckt
57bfca2b43 Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-25 19:20:54 +08:00
shiweisong.ssw
adfa718a63 feat: modify the type of the button 2023-06-25 19:16:33 +08:00
aries_ckt
c460eb375e Merge remote-tracking branch 'origin/new-page-framework' into llm_framework 2023-06-25 19:14:29 +08:00
shiweisong.ssw
c71bca8255 feat: modify the type of the button 2023-06-25 19:13:23 +08:00
shiweisong.ssw
075713d36f feat: modify the route 2023-06-25 19:09:27 +08:00
shiweisong.ssw
23319f14bb fix: fix conflict 2023-06-25 18:31:33 +08:00
shiweisong.ssw
b935049e51 feat: finish the modal of add knowledge space 2023-06-25 18:22:59 +08:00
changhuiping.chp
6a2df06f88 feat: 布局初版 2023-06-25 18:09:53 +08:00
aries_ckt
d5df445074 Merge remote-tracking branch 'origin/dev_ty_06_end' into llm_framework 2023-06-25 16:08:28 +08:00
tuyang.yhj
9d3000fb26 WEB API independent 2023-06-25 15:32:41 +08:00
tuyang.yhj
1367f92955 Merge branch 'llm_framework' into dev_ty_06_end 2023-06-25 15:31:09 +08:00
tuyang.yhj
03576cfc5d Merge branch 'llm_framework' into DEV_TY_06 2023-06-25 14:47:30 +08:00
tuyang.yhj
d372e73cd5 WEB API independent 2023-06-25 14:46:46 +08:00
changhuiping.chp
b198f8d326 fix: 布局初步定型 2023-06-25 14:36:12 +08:00
changhuiping.chp
9b92df3743 feat: init next project 2023-06-25 10:38:31 +08:00
Joe Crypto
1af3ce4756 added plugins to gitignore 2023-06-23 01:20:44 +00:00
Joe Crypto
c4bafe455a added tunnel 2023-06-23 01:18:34 +00:00
joecryptotoo
c5b61e65b9
docker ignore plugins too 2023-06-22 16:28:48 -07:00
joecryptotoo
54d686554d
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
0558a8ba37
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
7283dcdd8f added plugins volume 2023-06-22 19:49:44 +00:00
Joe Crypto
46a2a34ae3 override .env.template 2023-06-22 19:47:14 +00:00
Joe Crypto
06d639de52 install zh_core_web_sm 2023-06-22 19:46:49 +00:00
Joe Crypto
dc8f62f3f8 fixed docker compose 2023-06-22 18:41:55 +00:00
joecryptotoo
b968727836
Update Dockerfile 2023-06-22 10:12:13 -07:00
joecryptotoo
2d456abaa5
Update docker-compose.yml 2023-06-22 10:08:37 -07:00
magic.chen
879f6ae7e7
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
cc422a2be4 style: format webserver.py
format file format
2023-06-22 23:39:23 +08:00