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
Update generated code for fixing Collection Model's dimension error (#144)
## Problem
Vector dimension should be 20,000 but CollectionModel's docstring has
2,000.
## Solution
Generate code using the following commands with the updated openapi spec
2024-07.
```
git submodule init && git submodule update
./codegen/build-oas.sh 2024-07
```
## Type of Change
- [X] Bug fix (non-breaking change which fixes an issue)
## Test Plan
NA
* This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection.
165
+
* This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index).
166
166
* @param indexName The name of the index to configure. (required)
167
167
* @param configureIndexRequest The desired pod size and replica configuration for the index. (required)
168
168
* @return IndexModel
@@ -186,7 +186,7 @@ public IndexModel configureIndex(String indexName, ConfigureIndexRequest configu
186
186
187
187
/**
188
188
* Configure an index
189
-
* This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection.
189
+
* This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index).
190
190
* @param indexName The name of the index to configure. (required)
191
191
* @param configureIndexRequest The desired pod size and replica configuration for the index. (required)
192
192
* @return ApiResponse<IndexModel>
@@ -211,7 +211,7 @@ public ApiResponse<IndexModel> configureIndexWithHttpInfo(String indexName, Conf
211
211
212
212
/**
213
213
* Configure an index (asynchronously)
214
-
* This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection.
214
+
* This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index).
215
215
* @param indexName The name of the index to configure. (required)
216
216
* @param configureIndexRequest The desired pod size and replica configuration for the index. (required)
217
217
* @param _callback The callback to be executed when the API call finishes
0 commit comments