There was an error while loading. Please reload this page.
2 parents 931d529 + 7db8287 commit 79374bdCopy full SHA for 79374bd
src/vanna/pinecone/pinecone_vector.py
@@ -111,7 +111,7 @@ def _get_indexes(self) -> list:
111
112
def _check_if_embedding_exists(self, id: str, namespace: str) -> bool:
113
fetch_response = self.Index.fetch(ids=[id], namespace=namespace)
114
- if fetch_response["vectors"] == {}:
+ if fetch_response.vectors == {}:
115
return False
116
return True
117
0 commit comments