Commit Graph

8 Commits

Author SHA1 Message Date
imClumsyPanda 481aab97cb use RetrievalQA instead of ChatVectorDBChain 2023-04-10 22:55:37 +08:00
imClumsyPanda 12ee17f3b3 use RetrievalQA instead of ChatVectorDBChain 2023-04-10 22:55:22 +08:00
imClumsyPanda 2240ed1ec2 update requirements.txt 2023-04-09 23:31:26 +08:00
imClumsyPanda 7720bb58e0 Add llm_model_dict to choose llm and add chatglm-6b-int4 as an option 2023-04-09 23:10:44 +08:00
zhangwei 1b1107315c 根据4.7日更新代码,解决冲突
新增ernie系列模型作为embedding model,默认依旧使用GanymedeNil/text2vec-large-chinese
显存不足时可尝试使用ernie-tiny作为embedding模型
调用方式为embeddings = HuggingFaceEmbeddings(model_name=embedding_model_dict["ernie-tiny"], )
2023-04-07 12:01:15 +08:00
littlepanda0716 3cbc6aa77c update knowledge_based_chatglm.py 2023-04-07 10:11:26 +08:00
littlepanda0716 ca902e1a7b update function name and requirements.txt 2023-04-03 19:13:34 +08:00
littlepanda0716 f17d26addf first commit 2023-03-31 20:09:40 +08:00