We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bd824 commit 9bfd157Copy full SHA for 9bfd157
langchain_iris/vectorstores.py
@@ -199,7 +199,7 @@ def distance_strategy(self) -> str:
199
if self._distance_strategy == DistanceStrategy.COSINE:
200
return self.table.c.embedding.cosine
201
elif self._distance_strategy == DistanceStrategy.DOT_PRODUCT:
202
- return self.table.c.embedding.DOT_product
+ return self.table.c.embedding.max_inner_product
203
# elif self._distance_strategy == DistanceStrategy.EUCLIDEAN:
204
# return "langchain_l2_distance"
205
else:
0 commit comments