Commit Graph

77 Commits

Author SHA1 Message Date
imClumsyPanda 2c1fd2bdd5 add api.py 2023-05-03 22:31:28 +08:00
imClumsyPanda a4e67a67b4 update local_doc_qa.py 2023-05-02 01:11:05 +08:00
imClumsyPanda 4df9d76f8a add streaming option in configs/model_config.py 2023-05-01 23:52:28 +08:00
imClumsyPanda 0e8cc0d16c add streaming option in configs/model_config.py 2023-05-01 23:52:28 +08:00
imClumsyPanda 98a8281b29 update text_splitter 2023-04-28 00:02:42 +08:00
imClumsyPanda 966def8cfe add stream support to webui.py 2023-04-26 23:27:15 +08:00
imClumsyPanda b4aefca555 add stream support to cli_demo.py 2023-04-26 23:27:15 +08:00
imClumsyPanda 88ab9a1d21 update webui.py and local_doc_qa.py 2023-04-26 23:27:15 +08:00
wangxinkai daafe8d5fa feat: 重写FAISS和HuggingFaceEmbedding,采用MMR相似向量检索 2023-04-26 23:27:15 +08:00
wangxinkai 059fe82887 feat: 添加mmr相似度搜索,支持返回相似度分数 2023-04-26 23:27:15 +08:00
imClumsyPanda a1033698dd update local_doc_qa.py, webui.py and README.md 2023-04-26 23:27:15 +08:00
imClumsyPanda 0706a29057 update embedding define in local_doc_qa.py and langchain version in requirements.txt 2023-04-22 12:30:27 +08:00
imClumsyPanda b9d8824fa5 Update local_doc_qa.py 2023-04-21 21:27:20 +08:00
imClumsyPanda ec677beed0 Update local_doc_qa.py 2023-04-21 21:27:20 +08:00
soon 37ceeae6e2 提交更 2023-04-21 21:27:20 +08:00
imClumsyPanda f147043253 fix bug in chatglm_llm.py 2023-04-20 12:50:51 +08:00
imClumsyPanda 7d4560e599 update local_doc_qa.py 2023-04-19 21:29:20 +08:00
keenzhu be5f14278c
Add files via upload
增加通过命令行导入docs目录下的所有txt文档,然后进行按句切割,然后通过openai的api获取向量,最后存储在Pinecone
2023-04-19 17:00:03 +08:00
imClumsyPanda 635aa2d2ac update webui.py 2023-04-18 22:31:55 +08:00
wangxinkai 5a0429b2af feat: add api for knowledge_based QA 2023-04-18 10:08:36 +08:00
imClumsyPanda a231f92d98 修复 webui.py 中 llm_history_len 和 vector_search_top_k 显示值与启动设置默认值不一致的问题 2023-04-18 10:07:35 +08:00
imClumsyPanda 8ae84c6c93 update local_doc_qa.py 2023-04-17 23:59:22 +08:00
imClumsyPanda 59375244b6 修复 webui.py 中 llm_history_len 和 vector_search_top_k 显示值与启动设置默认值不一致的问题 2023-04-15 20:01:54 +08:00
imClumsyPanda 8c469fda31 update webui.py 2023-04-14 22:57:07 +08:00
imClumsyPanda 3187423ed4 update cli_demo.py 2023-04-14 00:42:35 +08:00
imClumsyPanda 1c51d6cafc update cli_demo.py 2023-04-14 00:06:45 +08:00
imClumsyPanda a6184b01be 修改项目架构 2023-04-13 23:01:52 +08:00