How to modify autodistill ontology and use on custom dataset

how to modify autodistill ontology and use on custom dataset??
I have a dataset of cylinder head and i want to identify the hex_bolt from it.