mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-05 14:23:23 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
1c5f71beee
@ -221,6 +221,6 @@ Web UI 可以实现如下功能:
|
|||||||
- [x] VUE 前端
|
- [x] VUE 前端
|
||||||
|
|
||||||
## 项目交流群
|
## 项目交流群
|
||||||

|

|
||||||
|
|
||||||
🎉 langchain-ChatGLM 项目交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
|
🎉 langchain-ChatGLM 项目交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
|
||||||
|
|||||||
BIN
img/qqr_code_1.jpg
Normal file
BIN
img/qqr_code_1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 199 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 256 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 274 KiB |
@ -1,6 +1,4 @@
|
|||||||
|
|
||||||
from abc import ABC
|
from abc import ABC
|
||||||
|
|
||||||
from langchain.llms.base import LLM
|
from langchain.llms.base import LLM
|
||||||
from typing import Optional, List
|
from typing import Optional, List
|
||||||
from models.loader import LoaderCheckPoint
|
from models.loader import LoaderCheckPoint
|
||||||
@ -8,9 +6,6 @@ from models.base import (BaseAnswer,
|
|||||||
AnswerResult)
|
AnswerResult)
|
||||||
|
|
||||||
|
|
||||||
import transformers
|
|
||||||
|
|
||||||
|
|
||||||
class ChatGLM(BaseAnswer, LLM, ABC):
|
class ChatGLM(BaseAnswer, LLM, ABC):
|
||||||
max_token: int = 10000
|
max_token: int = 10000
|
||||||
temperature: float = 0.01
|
temperature: float = 0.01
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user