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

RagWithBaiduSearchPro报错 #428

Open
guru4elephant opened this issue Jul 25, 2024 · 1 comment
Open

RagWithBaiduSearchPro报错 #428

guru4elephant opened this issue Jul 25, 2024 · 1 comment

Comments

@guru4elephant
Copy link
Member

instruction为None时会报错,需要设置个值。

from appbuilder import RagWithBaiduSearchPro
from appbuilder import Message
tool = RagWithBaiduSearchPro(model="ERNIE-Bot")
result = tool.run(Message(query), stream=False, instruction=Message(""))
@userpj userpj mentioned this issue Jul 25, 2024
@userpj
Copy link
Contributor

userpj commented Jul 25, 2024

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