From 64c4ec8cdeb1b3c49c21d4701a8cc0f395d145d8 Mon Sep 17 00:00:00 2001 From: Eric Fung Date: Tue, 18 Jul 2023 17:38:32 -0400 Subject: [PATCH] Typo --- pinecone/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinecone/index.py b/pinecone/index.py index cd6f22e6c..d7b9b7fc4 100644 --- a/pinecone/index.py +++ b/pinecone/index.py @@ -104,7 +104,7 @@ def upsert(self, vectors (Union[List[Vector], List[Tuple]]): A list of vectors to upsert. A vector can be represented by a 1) Vector object, a 2) tuple or 3) a dictionary - 1) if a tuple is used, it must be of the form (id, values, meatadata) or (id, values). + 1) if a tuple is used, it must be of the form (id, values, metadata) or (id, values). where id is a string, vector is a list of floats, metadata is a dict, and sparse_values is a dict of the form {'indices': List[int], 'values': List[float]}. Examples: ('id1', [1.0, 2.0, 3.0], {'key': 'value'}, {'indices': [1, 2], 'values': [0.2, 0.4]}),