Output the distance in the vectorSearch method

Created on 11 March 2025, about 1 month ago

Problem/Motivation

Currently the vectorSearch method in the PostgresPgvectorClient only responds with the prepared output fields, but that is missing the actual vector score that might be important for picking if a vector is important enough to use.

Proposed resolution

Add to the query that a distance key is given back with the vectors distance from the resultset.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024