Skip to main content

agrag.eval.extraction.extraction_case

extraction_case(chunk_text:str, predicted:ExtractionResult, gold:ExtractionResult) -> LLMTestCase

Build a test case that holds a predicted and a gold extraction.

Parameters:

Returns:

  • LLMTestCase – A test case with serialized predicted and gold extractions.