Commit Graph

476 Commits

Author SHA1 Message Date
imClumsyPanda 89fe20b59f update QR Code 2023-05-28 19:22:55 +08:00
imClumsyPanda 486586c647 Merge branch 'master' into dev 2023-05-28 19:22:19 +08:00
Ding Junyao f7e120fe56
add tree func for reading files in dirs (#471) 2023-05-27 22:00:43 +08:00
liunux4odoo 4295f6069d
添加streamlit ui (#480)
* update QR Code

* Add files via upload

* Update README.md

* add streamlit ui including all functions of webui

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-27 21:58:30 +08:00
imClumsyPanda c7b069de09
Update README.md 2023-05-27 15:38:45 +08:00
imClumsyPanda ec3ccd3363
Add files via upload 2023-05-27 15:38:18 +08:00
glide-the 3324c12d69 增加cpu加载模型逻辑 2023-05-26 22:52:55 +08:00
glide-the 561c40afee Merge remote-tracking branch 'origin/dev' into dev 2023-05-26 22:32:25 +08:00
glide-the 994401670b 拓展功能检查依赖提示安装 2023-05-26 22:32:12 +08:00
keenzhu 11bcb58ae6 增加rss订阅,以及添加了依赖文件 2023-05-26 18:50:20 +08:00
keenzhu 9dc9ac6380 添加依赖feedparser 2023-05-26 18:46:18 +08:00
keenzhu 8d4ef39c6c 添加RSS_loader.py用作从RSS订阅知识库 2023-05-26 18:43:55 +08:00
glide-the 1c5f71beee Merge remote-tracking branch 'origin/dev' into dev 2023-05-26 01:49:26 +08:00
glide-the 5f010823aa Build an abstract dialogue model using classes and methods to represent different dialogue elements
Fixes # None

Before submitting
If you want to review, please refer to the quick start example provided in langchain/chains/dialogue_answering/main.py. You may need to set the openaikey and the following startup parameters: --dialogue-path: the location of the dialogue file, --embedding-model: the HuggingFaceEmbeddings model to use (defaults to GanymedeNil/text2vec-large-chinese) if not specified.

Regarding the format of the dialogue file, please refer to the following information:

```text
sun:
Has the offline model been run?

glide-the:
Yes, it has been run, but the results are not very satisfactory.

glide-the:
It lacks chat intelligence and falls far behind in terms of logic and reasoning.

sun:
Are you available for voice chat?

glide-the:
I'm considering using this offline model: https://huggingface.co/chat

glide-the:
voice chat okay.

glide-the:
You can take a look at the dev_agent branch of the langchain-chatglm project.

glide-the:
There's a dialogue model question-answering example under the agent.

sun:
Alright.

glide-the:
The specified chat record file is exported from WeChat.
```
2023-05-26 01:49:07 +08:00
glide-the cf07c014c4 Build an abstract dialogue model using classes and methods to represent different dialogue elements.
This class serves as a fundamental framework for constructing dialogue models.
2023-05-26 01:47:29 +08:00
glide-the 25e5ab1282 增加call_行为 2023-05-26 01:46:59 +08:00
imClumsyPanda f0955768f5 update QR Code 2023-05-26 00:24:51 +08:00
imClumsyPanda 3d33191bd7 update chatglm_llm.py 2023-05-25 23:04:53 +08:00
imClumsyPanda e4df46bcaa merge master 2023-05-25 22:57:51 +08:00
imClumsyPanda 684b893d4e update README.md 2023-05-25 22:45:27 +08:00
imClumsyPanda a867cca747
Delete qr_code_21.jpg 2023-05-25 22:44:05 +08:00
imClumsyPanda a1fd0b8750
Update chatglm_llm.py 2023-05-25 22:00:17 +08:00
glide-the c4ee36b8ac 删除 AnswerResultStream 、generate_with_callback收集器 2023-05-25 21:07:40 +08:00
glide-the e7b06a9072 删除流式请求中的缓存清理 2023-05-25 20:58:04 +08:00
imClumsyPanda 92185962ce
Update README.md 2023-05-25 12:34:17 +08:00
imClumsyPanda d0c2cfbd0c
Update README.md 2023-05-25 10:58:31 +08:00
imClumsyPanda 22ac29a665
Update README.md 2023-05-25 10:55:02 +08:00
imClumsyPanda 26070ced34
Add files via upload 2023-05-25 10:54:35 +08:00
imClumsyPanda 67e8416181
Add files via upload 2023-05-25 10:49:10 +08:00
fxjhello 5eccb58759 Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev 2023-05-24 09:24:57 +08:00
fxjhello 46ae480e66 修改dockerfile 2023-05-24 09:24:20 +08:00
imClumsyPanda bde1585cd5 Merge branch 'master' into dev 2023-05-24 00:21:07 +08:00
imClumsyPanda 52c6f2d29f fix int4 and int8 model init bug 2023-05-24 00:20:03 +08:00
imClumsyPanda dd40c5d179 Merge branch 'master' into dev 2023-05-24 00:16:03 +08:00
imClumsyPanda 1ee12266e8 更新 requirements.txt 2023-05-24 00:12:59 +08:00
glide-the a1b1b78108 使用model_config默认配置启动
llama_llm.py 删除流式输出
base.py、shared.py 删除多余代码
fastchat_llm.py 业务实现
2023-05-23 23:10:31 +08:00
zhubao315 eeea00e294
Update Dockerfile-cuda (#446) 2023-05-23 16:14:07 +08:00
imClumsyPanda 3d17478588
Update README.md 2023-05-23 08:35:33 +08:00
imClumsyPanda 42a22c927b
Add files via upload 2023-05-23 08:35:01 +08:00
imClumsyPanda 3fd47b0d40 Merge branch 'master' into dev 2023-05-22 18:19:38 +08:00
imClumsyPanda 78e940f0a7 update README.md 2023-05-22 18:16:31 +08:00
imClumsyPanda bca32cae83 update local_doc_qa.py 2023-05-22 18:09:23 +08:00
glide-the 6f8da56083
Update loader.py
删除低显存加载参数
2023-05-22 16:12:01 +08:00
fxjhello 52cf43a479 数据格式处理 2023-05-22 14:03:27 +08:00
imClumsyPanda 9f7eb3cea8
更新 requirements.txt 2023-05-22 13:20:18 +08:00
imClumsyPanda c79058f064
更新 local_doc_qa.py 2023-05-22 13:14:23 +08:00
fxjhello 1e43fcfbe3 Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev 2023-05-22 12:00:07 +08:00
fxjhello c439e66fa2 前端代理地址修改 2023-05-22 11:59:39 +08:00
imClumsyPanda ad843a646d update api.py 2023-05-22 11:53:11 +08:00
fxjhello 8742001982 Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev 2023-05-22 11:45:45 +08:00