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

Fix issue with early termination of multilanguage analysis runs #408

Closed caufieldjh closed 2 days ago

caufieldjh commented 2 days ago

Multilanguage analysis now continues as expected if it encounters an error in prompt completion or grounding. The output file will contain the text of the error. All errors and prompt filenames are also written to a file named errors.txt in the output directory (e.g., for malco it's going to be in /outputdir/raw_results/en/differentials_by_file/errors.txt).