How to Prevent the Model from Extracting Incorrect Data?

#9
by Nafiy - opened

Hi, thanks for the great work!

I tested your model and found that sometimes the extraction is incorrect. For example, one of my schemas is:

schema = """{"Left ventricular mass, LVMASS":[{"abbreviation_or_name":"", "amount":float,"unit":""},]}"""

However, the extraction result sometimes looks like this:

{"Left ventricular mass, LVMASS":[{"abbreviation_or_name":"lv mass index", "amount":94.8,"unit":"g/m2"}]}

This is not what I want because "lv mass index" is another index in an echocardiography report.

How can I tell the model to avoid this situation?

Looking forward to your reply, thank you!

Sign up or log in to comment