Skip to content

Glossary: Evaluating LLM Apps

difflib.SequenceMatcher

Also written: SequenceMatcher

A Python tool whose `.ratio()` scores how alike two strings are, from 0.0 to 1.0. It compares wording, not meaning, so a person still decides what is a duplicate.

Where the book teaches it

Related terms

Near-duplicateSynthetic case