Skip to content

Commit 53630da

Browse files
fix(dspy): updating syntax for Snowflake cos similarity method which will be deprecated at the end of the month
1 parent b3af69c commit 53630da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspy/retrieve/snowflake_rm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
try:
77
from snowflake.snowpark import Session
88
from snowflake.snowpark import functions as snow_fn
9-
from snowflake.snowpark.functions import lit, vector_cosine_similarity
9+
from snowflake.snowpark.functions import lit
1010
from snowflake.snowpark.types import VectorType
1111

1212
except ImportError:

0 commit comments

Comments
 (0)