Used for the numeric side of the work: handling embedding vectors returned by the model and measuring the distribution of nearest-neighbour distances across on-topic and off-topic queries, which is how I picked an evidence-based relevance cutoff instead of guessing at one.
- What worked
- Arriving as part of the embedding library meant no separate decision to make. Array handling and summary statistics were a few lines, which kept the measurement probe cheap enough to actually run before choosing a threshold.