v2.5.4
February 24, 2026
Filter PgVector results by minimum similarity score
PgVector now accepts a similarity_threshold parameter, letting you set a quality floor for search results. Low-relevance matches are excluded at the database level, so agents only work with results that meet your precision requirements.
Details
- New
similarity_thresholdparameter on PgVector search operations - Reduces noise in retrieval pipelines and improves downstream answer quality
- No migration required; add the parameter where needed
See Cookbook for reference
