imClumsyPanda

Results 295 comments of imClumsyPanda

请问是在LLM对话模式下还是知识库问答模式下

一般情况下,出现这类问题是因为给llm输入的内容较多,建议检查一下文档load并分句完成后每段的最长长度,如果超出sentence_chunk_size,甚至超过chunk_size,可能会导致这一问题,推荐的解决办法是针对文档特点,创建一个textsplitter类,实现更好的分句效果。

可以 同一知识库可以存储不同文档,提问针对选定的知识库

是的 每个知识库可以添加多个文档 问答会基于单个知识库进行 枫 ***@***.***>于2023年5月9日 周二18:47写道: > @imClumsyPanda 我看文档都是 > vector_store.add_documents(docs) 是可以加载整个路径,可以把所有的知识放在一起回答是吧。 > > — > Reply to this email directly, view it on GitHub > , > or unsubscribe...

会 后续会增加其他chain yy ***@***.***>于2023年5月10日 周三18:21写道: > 你好,后续会考虑新增对长文本信息进行推理和语音理解功能吗?比如生成摘要 > > — > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . > You...

pip install langchain -i https://pypi.org/simple

可以看一下readme里的原理图,图中llm即为chatglm 694344851 ***@***.***>于2023年5月11日 周四17:31写道: > 这个知识库问答,哪部分关联到了chatglm,是不是没有这个chatglm,知识库问答也可单单拎出来 > > — > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . > You are...

相当于人带着课本去参加没预习过的开卷考试 换llm等于换人 换知识库等于换课本

应该是因为显存不满足默认模型要求,建议改成量化模型试试看