Skip to content

Commit c5641c3

Browse files
authored
fix: Rename inner product distance search function to inner_product (#168)
1 parent 5399a8d commit c5641c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/langchain_google_cloud_sql_pg/indexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DistanceStrategy(StrategyMixin, enum.Enum):
3030

3131
EUCLIDEAN = "<->", "l2_distance", "vector_l2_ops"
3232
COSINE_DISTANCE = "<=>", "cosine_distance", "vector_cosine_ops"
33-
INNER_PRODUCT = "<#>", "ip_distance", "vector_ip_ops"
33+
INNER_PRODUCT = "<#>", "inner_product", "vector_ip_ops"
3434

3535

3636
DEFAULT_DISTANCE_STRATEGY = DistanceStrategy.COSINE_DISTANCE

0 commit comments

Comments
 (0)