We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
llm_task1=LLMOperator(llm_client) llm_task2=LLMOperator(llm_client) input_task >> llm_task1 >> merge_task input_task >> merge_task merge_task >> llm_task2
fail with: Share data key share_data_key_model_name already exists.
The text was updated successfully, but these errors were encountered:
Can you show me your case in full? I'll try.
Sorry, something went wrong.
! 遇到同样的报错了,ValueError: Share data key share_data_key_model_name already exists 应该是无法复用llm_client的问题
感谢程老师,已解决。LLMOperator执行时会保存share_data,默认算子中存在SHARE_DATA_KEY唯一,当第二次调用时就会报这个错了,设计的key为SHARE_DATA_KEY_MODEL_NAME和SHARE_DATA_KEY_MODEL_OUTPUT,可以自己重写一个LLMOperator算子,添加overwrite=True即可
No branches or pull requests
fail with:
Share data key share_data_key_model_name already exists.
The text was updated successfully, but these errors were encountered: