提交

52 次代码提交

作者 SHA1 备注 提交日期
Zhengxiao Du 24b1bc08aa Merge pull request #151 from xusenlinzy/main
兼容 openai function call 接口
2023-11-04 15:34:47 +08:00
xusenlin e8c0639aa7 Merge branch 'main' of https://github.com/xusenlinzy/ChatGLM3 2023-11-03 12:59:27 +08:00
xusenlin 0ea4b11716 Compatible with openai function api interface 2023-11-03 12:59:12 +08:00
xusenlin 922eb5fdbc Merge branch 'THUDM:main' into main 2023-11-02 18:06:49 +08:00
duzx16 111787e743 Update README.md 2023-11-02 12:52:58 +08:00
duzx16 e8bc6f4932 Update README.md 2023-11-02 12:50:33 +08:00
duzx16 318fa81230 Merge branch 'main' of github.com:THUDM/ChatGLM3 2023-11-02 12:44:36 +08:00
duzx16 2c0674c6a9 Update README.md 2023-11-02 12:44:20 +08:00
Zhengxiao Du de00d0fc87 Merge pull request #118 from lr-tsinghua11/langchain
chatglm3-6b & langchain
2023-11-02 12:28:42 +08:00
duzx16 6c7f866211 Merge branch 'main' of github.com:THUDM/ChatGLM3 2023-11-02 12:00:08 +08:00
duzx16 4950a8b52b Update README.md 2023-11-02 11:59:47 +08:00
duzx16 6a28671751 Update README.md 2023-11-02 11:59:12 +08:00
lr-tsinghua11 0bfca070a3 chatglm3-6b & langchain 2023-11-01 22:07:35 +08:00
xusenlin b2dc91b2cf Add logs for openai api 2023-11-01 17:31:09 +08:00
xusenlin f807d1a21a fix typo 2023-11-01 17:22:38 +08:00
xusenlin 3eb9e8e573 Support max_length parameter for generation 2023-11-01 17:17:48 +08:00
xusenlin 057702bbc2 Fix api base 2023-11-01 17:09:37 +08:00
xusenlin c78d89480d Support tool using for openai api mode 2023-11-01 17:08:15 +08:00
Zhengxiao Du 117570ca88 Merge pull request #93 from hellopahe/main
raise an exception when input_ids are too large, prevent program from crashing.
2023-11-01 10:07:29 +08:00
hellopahe 490f4cba29 fix: raise an exception when input_ids are too large, prevent program from crashing. 2023-10-31 20:12:27 +08:00
Zhengxiao Du 29511179d1 Merge pull request #86 from li-plus/chatglm-cpp
Add chatglm.cpp project link
2023-10-31 19:44:45 +08:00
Zhengxiao Du 6c916bddc3 Merge pull request #80 from eltociear/patch-1
Fix typo in PROMPT_en.md
2023-10-31 19:44:14 +08:00
lijiahao 073162f313 Add chatglm.cpp project link 2023-10-31 14:22:45 +08:00
Ikko Eltociear Ashimine 1d2746af21 Fix typo in PROMPT_en.md
opetional -> optional
2023-10-31 03:00:21 +09:00
duzx16 ce64272aa4 Update README.md 2023-10-30 16:55:42 +08:00
Zhengxiao Du 80e877e2f7 Merge pull request #67 from Longin-Yu/en-doc
Add en doc
2023-10-30 16:50:10 +08:00
Longin-Yu 667fe99fcb Add en doc 2023-10-30 15:28:55 +08:00
Longin-Yu 4d1c78a6a5 Add en doc 2023-10-30 15:23:56 +08:00
duzx16 8bc51f7783 Update README.md 2023-10-29 20:44:51 +08:00
Zhengxiao Du bd50fdeddf Merge pull request #47 from xusenlinzy/main
Add openai api support
2023-10-29 20:16:38 +08:00
xusenlin 77c9e4bb34 Update openai_api_demo.py 2023-10-29 17:14:51 +08:00
xusenlin 0f28b4d962 Add support for openai api 2023-10-29 16:57:56 +08:00
xusenlin 20ea1e2b4e Add support for openai api 2023-10-29 16:20:32 +08:00
duzx16 9ff15559a2 Add figure for composite demo 2023-10-28 21:11:59 +08:00
duzx16 849acb3e36 Update tool using README.md 2023-10-28 21:04:16 +08:00
duzx16 2cf2ef98de Add notification for stream_chat 2023-10-28 21:01:33 +08:00
Aohan Zeng e137281460 Merge pull request #32 from THUDM/composite-demo
Add composite demo
2023-10-28 19:14:25 +08:00
abmfy f38b941b63 Add composite demo (directory) 2023-10-28 09:27:38 +00:00
lambda 6a47566bd2 Update README.md 2023-10-28 09:21:33 +00:00
abmfy 7b79f13d1b add composite demo 2023-10-28 09:20:24 +00:00
duzx16 40c6dc126e Update sampling parameters 2023-10-27 21:06:27 +08:00
duzx16 51c2bda560 Fix clean button 2023-10-27 21:04:59 +08:00
Zhengxiao Du 7eed0fe489 Merge pull request #13 from JamePeng/main
Improve web_demo2.py code and operation(agent prompt support)
2023-10-27 20:53:55 +08:00
duzx16 7f07d636b7 Update README.md 2023-10-27 20:44:23 +08:00
duzx16 03ccc15a50 Update README.md 2023-10-27 20:36:08 +08:00
duzx16 96d3d55f4d Update README.md 2023-10-27 20:33:15 +08:00
JamePeng e9837877d0 Improve web_demo2.py code and operation(agent prompt support)
1、改用chat_input来提交不用每次点两下发送按钮。
2、增加清理会话历史的功能,不需要用clear_cache卸载模型耗费时间。
3、sidebar增加一个agent prompt的输入和启用,方便web_demo使用的时候反复复制agent prompt输入的麻烦。(只有启用勾选才会生效)
4、代码部分增加一些注释,每部分代码的作用比较清晰
2023-10-27 18:18:19 +08:00
duzx16 51bdef9e1d Add model scope link 2023-10-27 15:05:16 +08:00
duzx16 8e7ec197da Fix model path 2023-10-27 15:02:39 +08:00
duzx16 c8cf8dbbc5 Update README.md 2023-10-27 14:21:18 +08:00