af58e9cff4
- Added a check to set expandedTopK to params.TopK if it is lower, ensuring the subquery limit is not less than the final limit. - Removed unnecessary type casting in the SQL query for embedding distance calculations, simplifying the query structure. This update improves the accuracy of vector retrieval operations in the PostgreSQL repository.