-
Notifications
You must be signed in to change notification settings - Fork 68
[PTDT-1115] User can create a relationship feature #921
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
Conversation
|
looks good to me |
| BBOX = "rectangle" | ||
| LINE = "line" | ||
| NER = "named-entity" | ||
| RELATIONSHIP = "edge" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the notebooks with Tool.Type.RELATIONSHIP? For instance, I see ontologies.ipynb lists out all possible Tool types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated 4 notebooks:
- examples/annotation_import/image.ipynb
- examples/annotation_import/pdf.ipynb
- examples/basics/ontologies.ipynb
- examples/prediction_upload/video_predictions.ipynb
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
bfa5a86 to
667dc97
Compare
| "source": [ | ||
| "tool_name = \"super\"\n", | ||
| "ontology_builder = OntologyBuilder(\n", | ||
| " tools=[ \n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks 69373ed
|
One small comment. Also, looks like there are some merge conflicts |
Add
Tool.Type.RELATIONSHIP, which when passed to OntologyBuilder, will create a relationship tool.How to test:
When run, will create a new ontology with a relationship tool