[PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 5.0.0 [camel]

2025-05-20 Thread via GitHub


dependabot[bot] opened a new pull request, #18124:
URL: https://github.com/apache/camel/pull/18124

   Bumps 
[io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client)
 from 3.1.0 to 5.0.0.
   
   Release notes
   Sourced from https://github.com/pinecone-io/pinecone-java-client/releases";>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 https://docs.pinecone.io/reference/api/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 https://docs.pinecone.io/models/overview";>Model Gallery.
   
   Create index for model i.e. create an index with an associated embedding 
model
   Configure an existing index to associate it with an embedding model
   Upsert records
   Search records by id
   Search records by vector
   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 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(1);
   Index index = pinecone.getIndexConnection(indexName);
   // Upsert records
   HashMap record1 = new HashMap<>();
   
   
   
   ... (truncated)
   
   
   Changelog
   Sourced from https://github.com/pinecone-io/pinecone-java-client/blob/main/CHANGELOG.md";>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
   
   https://github.com/pinecone-io/pinecone-java-client/commit/cb00bc3bd7a873d5bdecc4deb24d28eb4cbc852f";>cb00bc3
 Generate code for 2025-04, automate ndjson handling, add backups, restore, 
an...
   https://github.com/pinecone-io/pinecone-java-client/commit/ee5d8821fa9e181d518963369f086c3b072aa186";>ee5d882
 Add integrated inference (https://redirect.github.com/pinecone-io/pinecone-java-client/issues/181";>#181)
   https://github.com/pinecone-io/pinecone-java-client/commit/c83ea24eb3e5b5c9400d26b1073dd7e58fcb9530";>c83ea24
 Prepare to release v4.0.1 (https://redirect.github.com/pinecone-io/pinecone-java-client/issues/179";>#179)
   https://github.com/pinecone-io/pinecone-java-client/commit/b4cc92cc43eff19e925862f26d02063d28349015";>b4cc92c
 Create new config per connection (https://redirect.github.com/pinecone-io/pinecone-java-client/issues/178";>#178)
   https://github.com/pinecone-io/pinecone-java-client/commit/6ed8d4dca975c5e19511e4cde81eb50d88ab";>6ed8d46
 Update rerank example in the README after breaking changes (https://redirect.github.com/pinecone-io/pinecone-java-client/issues/177";>#177)
   https://github.com/pinecone-io/pinecone-java-client/commit/902f14823320f1b3e9759aaef1f139d18146a0c8";>902f148
 Prepare to release Java SDK v4.0.0 (https://redirect.github.com/pinecone-io/pinecone-java-client/issues/176";>#176)
   https://github.com/pinecone-io/pinecone-java-client/commit/59b9f5f2178ef0c620d690b77a717c4490bc9cc2";>59b9f5f
 Add support to create sparse serverless index method (https://redirect.github.com/pinecone-io/pi

Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 5.0.0 [camel]

2025-05-20 Thread via GitHub


oscerd commented on PR #18124:
URL: https://github.com/apache/camel/pull/18124#issuecomment-2893256602

   Needs manual steps


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 5.0.0 [camel]

2025-05-20 Thread via GitHub


dependabot[bot] commented on PR #18124:
URL: https://github.com/apache/camel/pull/18124#issuecomment-2893256720

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`. You can also ignore 
all major, minor, or patch releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 5.0.0 [camel]

2025-05-20 Thread via GitHub


oscerd closed pull request #18124: chore(deps): Bump 
io.pinecone:pinecone-client from 3.1.0 to 5.0.0
URL: https://github.com/apache/camel/pull/18124


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 5.0.0 [camel]

2025-05-20 Thread via GitHub


github-actions[bot] commented on PR #18124:
URL: https://github.com/apache/camel/pull/18124#issuecomment-2893193332

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions 
to run
   
   * You can use the command `/component-test (camel-)component-name1 
(camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and 
`test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache 
Camel committers](https://camel.apache.org/community/team/#committers) have 
access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before 
sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org