Skip to content
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

为什么报这个错 #568

Open
jiujianzx opened this issue Aug 21, 2024 · 5 comments
Open

为什么报这个错 #568

jiujianzx opened this issue Aug 21, 2024 · 5 comments

Comments

@jiujianzx
Copy link

image
知识库中问个非知识库的问题,直接回答我不知道,还霸气的不行

@jiujianzx
Copy link
Author

已经指令上明确指定非知识库问题用模型数据回答,还回答不知道。

@jiujianzx
Copy link
Author

image
回答完问题,发送按钮那块显示为停止是什么鬼

@sugarforever
Copy link
Owner

首先,请把这个issue的标题修改一下,当前标题不合适。

另外,这个项目是开源项目,知识库的构建也是基于“相关知识”问答这个前提。

知识库问答中目前系统提示词有约定,对于知识库中内容无关的提问,回答“ I don't know “

const SYSTEM_TEMPLATE = `Answer the user's question based on the context below.
Present your answer in a structured Markdown format.

If the context doesn't contain any relevant information to the question, don't make something up and just say "I don't know":

如果你对回答不满意,可以修改代码运行。这是一个开源项目。

@sugarforever
Copy link
Owner

image 回答完问题,发送按钮那块显示为停止是什么鬼

这里可能存在bug,我们会调试,修改。

但是,请你注意在开源社区交流的用词。你的言语对开源贡献者是极大的不尊重!请修改你的comments。谢谢!

@jiujianzx jiujianzx changed the title 这是什么鬼问题 为什么报这个错 Aug 22, 2024
@jiujianzx
Copy link
Author

不好意思,以为没人维护这个项目了哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants