501 Commits

Author SHA1 Message Date
imClumsyPanda
5290730dee update README.md v0.1.14 2023-05-31 23:01:43 +08:00
imClumsyPanda
27ef86f8e6 update streamlit ui 2023-05-31 22:57:18 +08:00
imClumsyPanda
e093f8694a add fastchat.md 2023-05-31 22:56:32 +08:00
imClumsyPanda
20f1daff1a add fastchat.md 2023-05-31 22:50:35 +08:00
imClumsyPanda
23052629ad update requirements.txt 2023-05-31 22:31:54 +08:00
glide-the
ab73f6ad93 适配远程LLM调用 2023-05-31 22:26:39 +08:00
glide-the
24324563d6 适配远程LLM调用 2023-05-31 22:11:28 +08:00
imClumsyPanda
99e9d1d730 update FAQ.md 2023-05-31 21:13:21 +08:00
imClumsyPanda
ae35b049ff update README.md 2023-05-31 21:05:44 +08:00
imClumsyPanda
b1ba2003be update webui.py 2023-05-31 20:55:45 +08:00
imClumsyPanda
a072905893 Merge branch 'master' into dev 2023-05-31 18:06:07 +08:00
imClumsyPanda
5c0c1eed93 update pdf_loader.py 2023-05-31 18:03:37 +08:00
imClumsyPanda
99ee2e9fd8
Update README.md 2023-05-31 16:28:43 +08:00
imClumsyPanda
46a7690df5
Update README.md 2023-05-31 16:28:18 +08:00
imClumsyPanda
ad613a67d6
Add files via upload 2023-05-31 16:27:54 +08:00
glide-the
0f2ea29194 调整项目结构,适配远程LLM调用生成问题。新增fastchat_openai_llm.py实现fastchat openai报文报文形式调用 2023-05-31 00:00:35 +08:00
imClumsyPanda
f5a85a1955 Merge branch 'master' into dev 2023-05-30 23:35:02 +08:00
liunux4odoo
88fee48d8c
use lru_cache to optimize loading of local vector store (#496)
* Add files via upload

* Update README.md

* use lru_cache to optimize loading of local vector store

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
Co-authored-by: liunux <liunux@office>
2023-05-30 23:05:39 +08:00
glide-the
0a605bf4b5 调整项目结构 2023-05-30 20:40:27 +08:00
zhoutongqing
875dae64bf
zhoutongqing:添加重新构建知识库功能 (#418)
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-30 20:32:42 +08:00
移花香
8477368f9c
delete_docs (#499)
删除文档的时候重新生成知识库(FAISS)内的数据
2023-05-30 19:42:44 +08:00
imClumsyPanda
8d669cdb4c
Update README.md 2023-05-29 22:09:57 +08:00
imClumsyPanda
e07183a08c
Add files via upload 2023-05-29 22:09:11 +08:00
imClumsyPanda
f7044f6fe0 update webui.py 2023-05-29 00:16:16 +08:00
imClumsyPanda
c7106317a0 update webui.py 2023-05-29 00:03:49 +08:00
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