You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be label_ instead of label. I'd open the PR, but it feels weird to have label be the non-string version of the entity so maybe the real problem is upstream.
Thanks for bringing this up and identifying the problem! This is a known issue, I thought we fixed this already 🤔 #367 fixes this and will be part of v0.6.3 (released probably tomorrow).
The relation task tells the LLM:
However, it generates prompt text like:
Reproduce via:
The problem is a single character difference here:
spacy-llm/spacy_llm/tasks/rel/task.py
Line 74 in e0bee0d
It should be
label_
instead oflabel
. I'd open the PR, but it feels weird to havelabel
be the non-string version of the entity so maybe the real problem is upstream.The text was updated successfully, but these errors were encountered: