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. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-java-client/releases">io.pinecone:pinecone-client's releases</a>.</em></p> <blockquote> <h2>v5.0.0 Release</h2> <p>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 <code>2025-04</code> of the Pinecone API. You can read more about versioning <a href="https://docs.pinecone.io/reference/api/versioning">here</a>.</p> <h2>Features</h2> <h3>Indexes with Integrated Inference</h3> <p>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 <a href="https://docs.pinecone.io/models/overview">Model Gallery</a>.</p> <ol> <li>Create index for model i.e. create an index with an associated embedding model</li> <li>Configure an existing index to associate it with an embedding model</li> <li>Upsert records</li> <li>Search records by id</li> <li>Search records by vector</li> <li>Search records by text</li> </ol> <pre lang="java"><code>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; <p>import java.util.ArrayList;<br /> import java.util.HashMap;<br /> import java.util.List;<br /> ...</p> <p>Pinecone pinecone = new Pinecone.Builder(System.getenv("PINECONE_API_KEY")).build();<br /> String indexName = RandomStringBuilder.build("inf", 8);</p> <p>// Create index associated with a model<br /> HashMap<String, String> fieldMap = new HashMap<>();<br /> fieldMap.put("text", "chunk_text");<br /> CreateIndexForModelRequestEmbed embed = new CreateIndexForModelRequestEmbed()<br /> .model("multilingual-e5-large")<br /> .fieldMap(fieldMap);<br /> pinecone.createIndexForModel(indexName, CreateIndexForModelRequest.CloudEnum.AWS, "us-west-2", embed, DeletionProtection.DISABLED, new HashMap<>());</p> <p>// Wait for index to be created<br /> Thread.sleep(10000);</p> <p>Index index = pinecone.getIndexConnection(indexName);</p> <p>// Upsert records<br /> HashMap<String, String> record1 = new HashMap<>();<br /> </tr></table><br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-java-client/blob/main/CHANGELOG.md">io.pinecone:pinecone-client's changelog</a>.</em></p> <blockquote> <h3>5.0.0</h3> <ul> <li>Add support for backups and restore</li> <li>Add support for list, describe, and delete namespaces</li> <li>Generate code based on 2025-04 api spec</li> <li>Automate ndjson handling</li> </ul> <h3>4.0.1</h3> <ul> <li>Create a new config per index connection</li> </ul> <h3>4.0.0</h3> <ul> <li>Add support for sparse indexes</li> <li>Generate code based on 2025-01 open-api spec</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/cb00bc3bd7a873d5bdecc4deb24d28eb4cbc852f"><code>cb00bc3</code></a> Generate code for 2025-04, automate ndjson handling, add backups, restore, an...</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/ee5d8821fa9e181d518963369f086c3b072aa186"><code>ee5d882</code></a> Add integrated inference (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/181">#181</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/c83ea24eb3e5b5c9400d26b1073dd7e58fcb9530"><code>c83ea24</code></a> Prepare to release v4.0.1 (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/179">#179</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/b4cc92cc43eff19e925862f26d02063d28349015"><code>b4cc92c</code></a> Create new config per connection (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/178">#178</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/6ed8d46666dca975c5e19511e4cde81eb50d88ab"><code>6ed8d46</code></a> Update rerank example in the README after breaking changes (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/177">#177</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/902f14823320f1b3e9759aaef1f139d18146a0c8"><code>902f148</code></a> Prepare to release Java SDK v4.0.0 (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/176">#176</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/59b9f5f2178ef0c620d690b77a717c4490bc9cc2"><code>59b9f5f</code></a> Add support to create sparse serverless index method (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/175">#175</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/0f9a4838cf4012bac4331b601bbaf7be14321943"><code>0f9a483</code></a> Replace protoc with buf and add build script for generating code from the pro...</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/154dfd33a2ca16b20b6ef5967bab8a51ec8a4266"><code>154dfd3</code></a> remove commented code</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/6afb4dd54ab05700439065425f4462177e12ac26"><code>6afb4dd</code></a> generate code based on 2025-01 api spec</li> <li>Additional commits viewable in <a href="https://github.com/pinecone-io/pinecone-java-client/compare/v3.1.0...v5.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- 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