Skip to content

Commit 7cb2477

Browse files
authored
fix: change default to pinecone serverless_region default (#522)
> I'm using the "opinionated writes" feature for the Pinecone destination connector and getting this error: Your free plan does not support indexes in the us-west-2 region of aws. To create indexes in this region, upgrade your plan. But I don't want to upgrade my free plan. Is there any way to force this index to be created in us-east-1 instead? Per [the docs on Regions available for serverless indexes](https://docs.pinecone.io/troubleshooting/available-cloud-regions#regions-available-for-serverless-indexes), we need to change our default to a starter plan friendly value. This PR addresses that
1 parent fc9e1b1 commit 7cb2477

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.38
2+
3+
* **Fix pinecone serverless_region default value to be compatible with starter plans**
4+
15
## 1.0.37
26

37
* **Added ability to use libraries in Sharepoint connector**

unstructured_ingest/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.37" # pragma: no cover
1+
__version__ = "1.0.38" # pragma: no cover

unstructured_ingest/processes/connectors/pinecone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def create_destination(
240240
destination_name: str = "unstructuredautocreated",
241241
destination_type: Literal["pod", "serverless"] = "serverless",
242242
serverless_cloud: str = "aws",
243-
serverless_region: str = "us-west-2",
243+
serverless_region: str = "us-east-1",
244244
pod_environment: str = "us-east1-gcp",
245245
pod_type: str = "p1.x1",
246246
pod_count: int = 1,

0 commit comments

Comments
 (0)