monarch-initiative / ontogpt

LLM-based ontological extraction tools, including SPIRES
https://monarch-initiative.github.io/ontogpt/
BSD 3-Clause "New" or "Revised" License
548 stars 68 forks source link

Make it easier to use custom schemas #384

Closed vemonet closed 1 month ago

vemonet commented 1 month ago

Using custom schemas seems to be an important part for using this tool in new systems

The current solution is quite technical, requiring to clone the repo and run a Makefile process: https://monarch-initiative.github.io/ontogpt/custom/

Are there plans to make this more straightforward? e.g. by directly passing the YAML schema through the CLI ontogpt -t mylinkmlschema.yml or are there limitations that prevent to do it this way easily?

caufieldjh commented 1 month ago

You're right @vemonet - adding custom schemas is currently more tedious than it needs to be. I'm not aware of any barriers to passing a YAML directly so I'll give that a quick implementation.

caufieldjh commented 1 month ago

Done - this will be in the next release.

vemonet commented 1 month ago

Nice, thanks!