-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何只回答知识库里面的内容 #1
Comments
我也遇到这个问题,个人感觉这个问题没办法彻底解决,毕竟模型是不可控的,只能多尝试几种prompt,微调模型尽量改善吧。有什么好方法也给我分享下。 |
在langchain-clm中学到一个,如果在知识库中检索时没检索到东西,可以不用调用llm,直接返回响应,告诉界面没有检索到结果 |
这种只能解决没有相关内容的情况,但还存在检索到相关内容,但还是回答出了给定内容之外的东西 |
嗯嗯,确实是,llm的模型幻觉这个确实不可控,只能通过调节温度来限制一些了 |
老哥,你这个有没有对应的学习视频啊,求分享 |
prompt设置了只让他回答知识库里面的内容,但是仍然会乱说,怎么办
The text was updated successfully, but these errors were encountered: