Documentation
    Preparing search index...

    Interface OkfEvaluationTarget

    Input target passed to the evaluator.

    interface OkfEvaluationTarget {
        domainContext?: string;
        expectedFields?: string[];
        extracted: string | OkfDocument | Record<string, unknown>;
        sourceText: string;
    }
    Index

    Properties

    domainContext?: string

    Optional domain description or guidelines (e.g. botanical, agronomic, legal)

    expectedFields?: string[]

    Optional expected fields that should have been extracted

    extracted: string | OkfDocument | Record<string, unknown>

    Generated/extracted OKF document, JSON payload, or formatted Markdown

    sourceText: string

    Ground-truth source text (e.g. raw OCR, scan excerpt, chapter text)