Skip to content

Commit 5d12323

Browse files
authored
Typo in docstring for upsert() (#191)
## Problem Typo in the documentation ## Solution Fix the spelling mistake. ## Type of Change - [x] Non-code change (docs, etc) ## Test Plan Not needed?
1 parent 4640c4c commit 5d12323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pinecone/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def upsert(self,
104104
vectors (Union[List[Vector], List[Tuple]]): A list of vectors to upsert.
105105
106106
A vector can be represented by a 1) Vector object, a 2) tuple or 3) a dictionary
107-
1) if a tuple is used, it must be of the form (id, values, meatadata) or (id, values).
107+
1) if a tuple is used, it must be of the form (id, values, metadata) or (id, values).
108108
where id is a string, vector is a list of floats, metadata is a dict,
109109
and sparse_values is a dict of the form {'indices': List[int], 'values': List[float]}.
110110
Examples: ('id1', [1.0, 2.0, 3.0], {'key': 'value'}, {'indices': [1, 2], 'values': [0.2, 0.4]}),

0 commit comments

Comments
 (0)