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

怎么解决答案中包含了资料库中没有的答案? #2

Closed
zaraiah opened this issue Mar 10, 2023 · 1 comment
Closed

怎么解决答案中包含了资料库中没有的答案? #2

zaraiah opened this issue Mar 10, 2023 · 1 comment

Comments

@zaraiah
Copy link

zaraiah commented Mar 10, 2023

也就是openai瞎胡扯的问题。

@GanymedeNil
Copy link
Owner

就向量数据库而言不会出现没有数据的情况,只是会返回相似度很低的数据。可以加上“如果段落内容不相关就返回未查到"提示词。如下图所示:
image

@GanymedeNil GanymedeNil pinned this issue Mar 10, 2023
GanymedeNil added a commit that referenced this issue Mar 11, 2023
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