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

请问Prompt Designer是通过哪个函数实现的 #11

Open
AIchenkai opened this issue Apr 12, 2023 · 2 comments
Open

请问Prompt Designer是通过哪个函数实现的 #11

AIchenkai opened this issue Apr 12, 2023 · 2 comments

Comments

@AIchenkai
Copy link

我没有很确定的找到在你的论文中提到的Prompt Designer功能,请问这个功能是在哪个文件中实现的?是通过get_disease_info()向模型提问,还是在知识库里搜索匹配?

@zhaozh10
Copy link
Collaborator

在search_engine.py中的get_disease_info函数实现,由LLM自己指出需要查询的疾病关键字,然后在知识库里匹配,disease_info.json是我们爬取完毕的默沙东专业版医学资料

@AIchenkai
Copy link
Author

在search_engine.py中的get_disease_info函数实现,由LLM自己指出需要查询的疾病关键字,然后在知识库里匹配,disease_info.json是我们爬取完毕的默沙东专业版医学资料

谢谢,我明白了。那请问添加了这个处理后,对专业名词、数字等专业性比较强的内容上,准确性有明显的提升吗

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

3 participants