functai for TypeScript - v0.1.0
    Preparing search index...

    Function exactMatch

    • The default metric: 1 when every output the answers have a value for equals the prediction's (text compared ignoring case and repeated white space), else 0. With several, each also gets <name>_match.

      Parameters

      • answers: Rec
      • prediction: Rec

      Returns Record<string, number>