Match Modes¶
LongProbe supports three match modes for verifying retrieved chunks.
ID Match¶
Exact string match on chunk/document IDs.
Text Match¶
Case-insensitive substring matching.
Semantic Match¶
Word-frequency cosine similarity.
match_mode: "semantic"
semantic_threshold: 0.80
required_chunks:
- "Only the CFO and CEO may authorize payments"
Choosing a Match Mode¶
- ID: When you control chunk IDs
- Text: For exact phrases
- Semantic: When wording may vary