You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pinecone/manage.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,8 @@ def create_index(
74
74
pods: int=1,
75
75
pod_type: str='p1',
76
76
index_config: dict=None,
77
-
metadata_config: dict=None
77
+
metadata_config: dict=None,
78
+
source_collection: str=None,
78
79
):
79
80
"""Creates a Pinecone index.
80
81
@@ -105,6 +106,8 @@ def create_index(
105
106
:param index_config: Advanced configuration options for the index
106
107
:param metadata_config: Configuration related to the metadata index
107
108
:type metadata_config: dict, optional
109
+
:param source_collection: Collection name to create the index from
110
+
:type metadata_config: str, optional
108
111
:type timeout: int, optional
109
112
:param timeout: Timeout for wait until index gets ready. If None, wait indefinitely; if >=0, time out after this many seconds; if -1, return immediately and do not wait. Default: None
0 commit comments