Commit Graph

750 Commits

Author SHA1 Message Date
Chiquitita 22c6192561
Update MyFAISS.py (#1041)
* Update MyFAISS.py

使用remove_ids从faiss索引中删除向量时,索引中剩余的待索引向量idx仍然是连续的  0, 3, 4 - > 0, 1, 2

#为了保证index_to_docstore_id中的idx和faiss索引中的idx相一致,需要将index_to_docstore_id中的idx重排序

* Update MyFAISS.py
2023-08-10 21:54:42 +08:00
Laurence Rotolo 3db73d458b
Merge pull request #1039 from nanayashiki1215/IFlytek/IFlytekVoice
添加语音模块
2023-08-10 15:43:54 +08:00
Pan 4fd07c36c3 添加讯飞语音识别(流式版)与语音合成(流式版)模块,以及在设置中添加语音开启、关闭相关配置选项 2023-08-10 13:46:33 +08:00
imClumsyPanda b1361be6df
Update README.md 2023-08-10 09:45:41 +08:00
imClumsyPanda b9da9cdcb5
Add files via upload 2023-08-10 09:45:15 +08:00
imClumsyPanda df9b539f74
Update README.md 2023-08-07 10:40:35 +08:00
imClumsyPanda 2a17f7ff10
Add files via upload 2023-08-07 10:40:11 +08:00
imClumsyPanda d7039d05a1 update MyFAISS.py 2023-08-06 16:49:52 +08:00
YikunHan 0ad63aee63
Update FAQ.md (#1006) 2023-08-06 16:39:58 +08:00
imClumsyPanda 515dcc1b5f update MyFAISS.py and cli_demo.py 2023-08-04 23:27:13 +08:00
imClumsyPanda c987a95c92 Merge remote-tracking branch 'origin/master' 2023-08-04 23:26:50 +08:00
imClumsyPanda 2eb35291b2 update MyFAISS.py and cli_demo.py 2023-08-04 23:26:42 +08:00
imClumsyPanda 904eaa58c4
Update README.md 2023-08-02 11:01:02 +08:00
imClumsyPanda 6b03914446
Add files via upload 2023-08-02 11:00:38 +08:00
imClumsyPanda 00cb7bf598 add support for chatglm2-6b-32k 2023-08-01 10:58:05 +08:00
imClumsyPanda dfe7bee243 Merge branch 'master' into dev 2023-07-31 19:54:43 +08:00
Zhi-guo Huang fef931d2b8
Merge pull request #859 from cylee0909/chatglm2cpp
support chatglm2cpp
2023-07-28 22:24:51 +08:00
cylee 4235270a32
Merge branch 'dev' into chatglm2cpp 2023-07-28 14:41:14 +08:00
hzg0601 161c9e6c50 fix typo 2023-07-28 03:59:29 +08:00
hzg0601 9326c63a62 Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev 2023-07-27 23:27:53 +08:00
hzg0601 cd91290bfb 删除reqirements的中文 2023-07-27 14:28:58 +08:00
hzg0601 c431bee941 删除requirements的中文 2023-07-27 14:27:11 +08:00
hzg0601 310a865ccd 删除requirements的中文 2023-07-27 14:26:50 +08:00
imClumsyPanda f7a32f9248
Update README.md 2023-07-27 09:23:31 +08:00
imClumsyPanda 36a1c72573
Add files via upload 2023-07-27 09:23:07 +08:00
liunux4odoo 8732dcc1c4 恢复被PR659覆盖的model_config 2023-07-27 08:42:17 +08:00
imClumsyPanda 01a54d1042 add chatglm-fitness-RLHF made by @BoFan-tunning to llm_model_dict in model_config.py 2023-07-26 21:41:27 +08:00
imClumsyPanda 0a062ba07b update img 2023-07-26 21:37:22 +08:00
hzg0601 34a2af118b update model_config.py 2023-07-26 18:04:35 +08:00
hzg0601 e8ff31be1f 1.使api.py里可以使用args.py的参数;2.兼容args.py和model_config.py的控制方式;3.更新fastchat调用模型名的说明 2023-07-26 17:46:02 +08:00
hzg0601 58a5de92a5 1.更改加载lora的方式;2.允许api.py调用args.py的命令行;3. FastChat路径提示 2023-07-26 17:05:37 +08:00
liunux4odoo 5f74f70515 fix: streamlit ui在上传多个文件到知识库时出错 2023-07-25 22:36:49 +08:00
YuhaoWU 466f0c9c97
安装教程conda create新增默认的/envs下面,而不只是只能要额外指定路径 用-p (#482)
* Update 安装教程中conda虚拟环境的创建与激活
2023-07-25 16:58:25 +08:00
liunux4odoo 18d453cc18 merge PR 659: make chat api support streaming 2023-07-25 13:23:16 +08:00
imClumsyPanda db80358df8
Update model_config.py
fix openai api url
2023-07-25 11:16:02 +08:00
liunux4odoo f21fea41b4 bug fix:
api.py中,所有chat接口的参数history,其元素应支持None,方便其他框架调用。
否则以history=[[None,'some thing']]调用时会返回422错误。
2023-07-25 08:53:28 +08:00
Zhi-guo Huang 1f8924eeac
Merge branch 'dev' into chatglm2cpp 2023-07-24 14:44:00 +08:00
lichongyang 62ba7679fe support chatglm2cpp 2023-07-24 14:41:51 +08:00
imClumsyPanda 3f627af745
Update README.md 2023-07-24 08:32:21 +08:00
imClumsyPanda b586ee6e1f
Add files via upload 2023-07-24 08:31:54 +08:00
imClumsyPanda fdd353e48a Merge branch 'master' into dev 2023-07-23 18:40:04 +08:00
imClumsyPanda ff5d2ecc1e update img 2023-07-23 18:39:49 +08:00
imClumsyPanda 0f43845a98 merge master 2023-07-23 18:38:51 +08:00
hzg0601 1e1075b98a Merge branch 'dev' of github.com:imClumsyPanda/langchain-ChatGLM into dev 2023-07-21 23:13:11 +08:00
hzg0601 b2278f2f25 更改api.py的chat函数的history的类型为Optional,修复chat接口不可调用的问题 2023-07-21 23:12:28 +08:00
liunux4odoo a6f42e7c8e fix iss#889:
when init_model on startup, set llm model's history_len to LLM_HISTORY_LEN from model_config.
2023-07-21 23:07:50 +08:00
Ma Zhiming 3f76cb5f47
[Fix] INSTALL.md (#907)
* Update INSTALL.md

* Update INSTALL.md
2023-07-21 16:42:53 +08:00
hzg0601 3b6819f091 更改默认的LLM_MODEL 2023-07-21 15:35:17 +08:00
hzg0601 6ec1e56e03 Merge branch 'dev' of github.com:imClumsyPanda/langchain-ChatGLM into dev 2023-07-21 15:29:53 +08:00
Zhi-guo Huang acee2d5ad2
Merge pull request #905 from chinainfant/dev
解决加载ptuning检查点失败的问题
2023-07-21 15:32:37 +08:00