The documentation does not provide an explanation for the embeddingDistance method, nor does it include any test code. It also seems that it is not being used internally either.

If this method is necessary, it would be helpful to add explanations and corresponding test cases. Conversely, if it is not being used, it might be better to remove it.

@tzolov

Comment From: ilayaperumalg

@dev-jonghoonpark Thanks for bringing this up. From this commit, I can see that the method embeddingDistance was added as an internal only but I don't seem to find a real usage of it. I think we can safely delete this method with the PgDistanceType enum in place. I will confirm this with @tzolov and close it.