utkarsharma2 commented on code in PR #39365:
URL: https://github.com/apache/airflow/pull/39365#discussion_r1587638109


##########
airflow/providers/pinecone/hooks/pinecone.py:
##########
@@ -216,7 +216,7 @@ def create_index(
         index_name: str,
         dimension: int,
         spec: ServerlessSpec | PodSpec,
-        metric: str | None = "cosine",
+        metric: str | None = None,

Review Comment:
   Could be breaking change if the default value in function 
`self.pinecone_client.create_index` is different from `cosine`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to