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

执行 knext builder execute Disease 报错: ERROR: REPrompt.__init__() missing 1 required positional argument: 'spg_type_name' #236

Closed
lizhongxiang12138 opened this issue May 8, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@lizhongxiang12138
Copy link

执行 knext builder execute Disease 报错:
Connected to pydev debugger (build 223.7571.203)
ERROR: REPrompt.init() missing 1 required positional argument: 'spg_type_name'
prompt_config 没有 params 参数
image
image

@ZhiLyu
Copy link

ZhiLyu commented May 8, 2024

+1

1 similar comment
@tianchiguaixia
Copy link

+1

@abcFlyCoder
Copy link

同上报错:
4d5f510066788ef13aa9341c217e17a

@tianchiguaixia
Copy link

我解决了。因为版本问题。你直接参考语雀那个0.2版本操作。
50cb3feff37663f0f69ec30691bdb4a
7d8bff0c1d8a5a5a67c908df47cfe84

@abcFlyCoder
Copy link

能再具体点不,我看0.2和0.3的教程一模一样

@andylau-55
Copy link
Collaborator

感谢对OpenSPG的关注。这是一个bug,我们会在下个版本进行彻底解决,目前可在本地环境执行下 pip install openspg-knext -U 命令升级下knext版本进行解决

@andylau-55 andylau-55 added the bug Something isn't working label May 20, 2024
@myboyliu2025
Copy link

请问一下你的idea debug模型怎么设置。@lizhongxiang12138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants