नमस्ते

(Overview)
MostAIsummariesaskyoutotrustthemodel.ClinicalLenstreatseveryextractedfactasaclaim to verify.Pasteanoteanditpullsoutproblems,medications,vitals,allergies,andtheplan;hoveranyfactandahighlightersweepsacrossitsexact source words.Factsthemodelcan’tbackuparesetaside,nevershownasfact,andeverythingexportsasaFHIRR4bundle.
(Architecture)
Athree-steppipelinewhereonly the middle step is AI.Codesplitsthenoteintosentenceswithexactcharacteroffsets.Geminireturnsschema-constrainedJSONinwhicheveryfactmustcitesentenceIDsandaverbatimquote,re-validatedwithZod.Thendeterministic code verifies each quoteagainstthesource:grounded,citationcorrected,orflaggedandexcluded.Theprovidersitsbehindasmallinterface,soswappingmodelsisonefile.
(Engineering)
Imeasuredinsteadofguessing.Ahand-labeledevalof10notes,128facts,and12negationtrapsscores96.9% precision and recallwithzerotrapstriggered.Benchmarkingcutlatencyfromminutespernotetoabout 2.5 secondsbychoosingalightermodel.Whenapromptfixforduplicatessilentlydroppedrealdiagnoses,Ireverteditandmoveddeduplicationintotestedcode.TheUIhandlesrequestraces,touchinput,andreadableerrors.
Designedasegment, extract, verifypipelinesothemodel’soutputischeckedbycode,nottrusted.
Builtspan-levellinking:hoverafacttohighlightitsexact source words,orclickasentencetoseewhatcamefromit.
Wroteahand-labeledevalwithnegation trapsandascorerthatprefersunambiguousmatches,andreportedtheweaknesseshonestly.
Benchmarkedmodelsandcutlatencyfromminutes to ~2.5 secondswithnolossinverifiedaccuracy.
MappedverifiedfactstoFHIR R4withLOINC-codedvitalsandvalidator-safereferences.
Keptthepublicdemoatzero cost:precomputedsamples,inputcaps,andafree-tiermodelwithbillingdisabled.
Gallery



Built with
Explore this project
Inspect the live deployment or browse the repository code.
Haveaprojectinmind?
autkarsh052@gmail.com