Skip to content

Bump io.pinecone:pinecone-client from 3.1.0 to 5.0.0 in /modules/pinecone #10304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2025

Bumps io.pinecone:pinecone-client from 3.1.0 to 5.0.0.

Release notes

Sourced from io.pinecone:pinecone-client's releases.

v5.0.0 Release

This version of the Pinecone Java SDK introduces indexes with integrated inference, backups and restore, and ability to work more explicitly with namespaces. It also supports version 2025-04 of the Pinecone API. You can read more about versioning here.

Features

Indexes with Integrated Inference

This release adds the following method for integrated inference. Together these methods provide a way for you to easily store your data and let us manage the process of creating embeddings. To learn about available models, see the Model Gallery.

  1. Create index for model i.e. create an index with an associated embedding model
  2. Configure an existing index to associate it with an embedding model
  3. Upsert records
  4. Search records by id
  5. Search records by vector
  6. Search records by text
import io.pinecone.clients.Index;
import io.pinecone.clients.Pinecone;
import io.pinecone.helpers.RandomStringBuilder;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.openapitools.db_control.client.model.CreateIndexForModelRequest;
import org.openapitools.db_control.client.model.CreateIndexForModelRequestEmbed;
import org.openapitools.db_control.client.model.DeletionProtection;
import org.openapitools.db_data.client.ApiException;
import org.openapitools.db_data.client.model.SearchRecordsRequestQuery;
import org.openapitools.db_data.client.model.SearchRecordsResponse;
import org.openapitools.db_data.client.model.UpsertRecord;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
...
Pinecone pinecone = new Pinecone.Builder(System.getenv("PINECONE_API_KEY")).build();
String indexName = RandomStringBuilder.build("inf", 8);
// Create index associated with a model
HashMap<String, String> fieldMap = new HashMap<>();
fieldMap.put("text", "chunk_text");
CreateIndexForModelRequestEmbed embed = new CreateIndexForModelRequestEmbed()
.model("multilingual-e5-large")
.fieldMap(fieldMap);
pinecone.createIndexForModel(indexName, CreateIndexForModelRequest.CloudEnum.AWS, "us-west-2", embed, DeletionProtection.DISABLED, new HashMap<>());
// Wait for index to be created
Thread.sleep(10000);
Index index = pinecone.getIndexConnection(indexName);
// Upsert records
HashMap<String, String> record1 = new HashMap<>();
</tr></table>

... (truncated)

Changelog

Sourced from io.pinecone:pinecone-client's changelog.

5.0.0

  • Add support for backups and restore
  • Add support for list, describe, and delete namespaces
  • Generate code based on 2025-04 api spec
  • Automate ndjson handling

4.0.1

  • Create a new config per index connection

4.0.0

  • Add support for sparse indexes
  • Generate code based on 2025-01 open-api spec
Commits
  • cb00bc3 Generate code for 2025-04, automate ndjson handling, add backups, restore, an...
  • ee5d882 Add integrated inference (#181)
  • c83ea24 Prepare to release v4.0.1 (#179)
  • b4cc92c Create new config per connection (#178)
  • 6ed8d46 Update rerank example in the README after breaking changes (#177)
  • 902f148 Prepare to release Java SDK v4.0.0 (#176)
  • 59b9f5f Add support to create sparse serverless index method (#175)
  • 0f9a483 Replace protoc with buf and add build script for generating code from the pro...
  • 154dfd3 remove commented code
  • 6afb4dd generate code based on 2025-01 api spec
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client) from 3.1.0 to 5.0.0.
- [Release notes](https://github.com/pinecone-io/pinecone-java-client/releases)
- [Changelog](https://github.com/pinecone-io/pinecone-java-client/blob/main/CHANGELOG.md)
- [Commits](pinecone-io/pinecone-java-client@v3.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: io.pinecone:pinecone-client
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 1, 2025
@dependabot dependabot bot requested a review from a team as a code owner June 1, 2025 22:45
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code modules/pinecone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants