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
To fix this, we'd need to modify the category field name in ontobio.model.nlp.Token to be categories, update biolink's ontobio dependency to this new version, then redeploy biolink.
The text was updated successfully, but these errors were encountered:
When querying against
/nlp/annotate/entities
, the returned"category"
field for each token is always an empty list.For example,
results in (partial result):
Querying directly against Scigraph Ontology's API, e.g. via:
produces (again, in part):
I'm not sure, but it seems likely that this is because the field in
Token
(https://github.com/biolink/ontobio/blob/31658ad37eb02f0e061ca5c4de36618cab6ea02b/ontobio/model/nlp.py#L14) is namedcategory
, notcategories
as SciGraph's API is returning.To fix this, we'd need to modify the
category
field name inontobio.model.nlp.Token
to becategories
, update biolink's ontobio dependency to this new version, then redeploy biolink.The text was updated successfully, but these errors were encountered: