Pinecone Local is an in-memory Pinecone Database emulator available as a Docker image.
This page shows you how to build a CI/CD workflow with Pinecone Local and GitHub Actions to test your integration without connecting to your Pinecone account, affecting production data, or incurring any usage or storage fees.
Pinecone Local is not suitable for production. See Limitations for details.
This feature is in public preview.
Pinecone Local has the following limitations:
2025-01
API version, which is not the latest stable version.Pinecone Local does not currently support the following features:
Running code against Pinecone Local is just like running code against your Pinecone account, with the following differences:
Pinecone Local does not authenticate client requests. API keys are ignored.
The latest version of Pinecone Local uses Pinecone API version 2025-01
and requires Python SDK v6.x
or later, Node.js SDK v5.x
or later, Java SDK v4.x
or later, Go SDK v3.x
or later, and .NET SDK v3.x
or later.
Be sure to review the limitations of Pinecone Local before using it for development or testing.
Example
The following example assumes that you have started Pinecone Local without indexes. It initializes a client, creates a dense index and a sparse index, upserts records into the indexes, checks their record counts, and queries the indexes.
Set up a GitHub Actions workflow to do the following:
Here’s a sample GitHub Actions workflow that you can extend for your own needs:
GitHub Actions will automaticaly run your tests against Pinecone Local when the events you specified in your workflow occur.
For a list of the events that can trigger a workflow and more details about using GitHub Actions for CI/CD, see the GitHub Actions documentation.
Pinecone Local is an in-memory Pinecone Database emulator available as a Docker image.
This page shows you how to build a CI/CD workflow with Pinecone Local and GitHub Actions to test your integration without connecting to your Pinecone account, affecting production data, or incurring any usage or storage fees.
Pinecone Local is not suitable for production. See Limitations for details.
This feature is in public preview.
Pinecone Local has the following limitations:
2025-01
API version, which is not the latest stable version.Pinecone Local does not currently support the following features:
Running code against Pinecone Local is just like running code against your Pinecone account, with the following differences:
Pinecone Local does not authenticate client requests. API keys are ignored.
The latest version of Pinecone Local uses Pinecone API version 2025-01
and requires Python SDK v6.x
or later, Node.js SDK v5.x
or later, Java SDK v4.x
or later, Go SDK v3.x
or later, and .NET SDK v3.x
or later.
Be sure to review the limitations of Pinecone Local before using it for development or testing.
Example
The following example assumes that you have started Pinecone Local without indexes. It initializes a client, creates a dense index and a sparse index, upserts records into the indexes, checks their record counts, and queries the indexes.
Set up a GitHub Actions workflow to do the following:
Here’s a sample GitHub Actions workflow that you can extend for your own needs:
GitHub Actions will automaticaly run your tests against Pinecone Local when the events you specified in your workflow occur.
For a list of the events that can trigger a workflow and more details about using GitHub Actions for CI/CD, see the GitHub Actions documentation.