Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

Bumps @pinecone-database/pinecone from 2.2.2 to 4.1.0.

Release notes

Sourced from @​pinecone-database/pinecone's releases.

4.1.0


Features

Index tags

Users can now tag indexes with key:value pairs for categorizing and identifying indexes. You can add tags when creating an index, or modify/delete tags when configuring an index.

Example code:

import { Pinecone } from '@pinecone-database/pinecone';
const pc = new Pinecone();
await pc.createIndex({
  name: 'sample-index',
  dimension: 1536,
  spec: {
    serverless: {
      cloud: 'aws',
      region: 'us-west-2',
    },
  },
  tags: { team: 'data-science' },  // Index tag here
});

Retries

The upsert, configureIndex, and update operations now make use of a new RetryOnServerFailure class. This class takes in an asynchronous operation and retries it if the server respond with either of 2 new errors: a PineconeUnavailableError (503) or a PineconeInternalServerError (500). The RetryOnServerFailure class retries 3 times as a default with an exponential backoff and a jitter factor. If maxRetries exceeds 10, an error is thrown to avoid overloading the server.

Housekeeping

New Contributors

Full Changelog: pinecone-io/pinecone-ts-client@v4.0.0...4.1.0

v4.0.0


Features

This version of the Typescript client introduces two new endpoints: Rerank and Import.

Rerank

Rerank provides users the ability to rerank documents in descending relevance-order against a given query. Reranking documents is a common "second-pass" ranking strategy broadly used in retrieval applications.

Example code:

</tr></table> 

... (truncated)

Commits
  • 63bba87 [skip ci] Publish release v4.1.0
  • fa0fc61 Add sleep to codegen script (#321)
  • 0d0a220 Build out index tags tests a bit more (#319)
  • f71419d Add retries to configureIndex and update operations (#318)
  • 4516c53 Small fix in deleteAll documentation regardning namespaces (#314)
  • b6855c8 Add Index tags + small updates to generated code (#317)
  • d248f1e Remove git submodule cmds and update Vercel cmds in external-app tests (#...
  • df9e9d0 Add Retries to Upsert operation (#310)
  • 92b7e66 Refactor listPaginated tests + make README clearer (#312)
  • 26d31d7 Remove extra call to delete an already-deleted index in bulkImport integrat...
  • 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 [@pinecone-database/pinecone](https://github.com/pinecone-io/pinecone-ts-client) from 2.2.2 to 4.1.0.
- [Release notes](https://github.com/pinecone-io/pinecone-ts-client/releases)
- [Commits](pinecone-io/pinecone-ts-client@v2.2.2...4.1.0)

---
updated-dependencies:
- dependency-name: "@pinecone-database/pinecone"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 13, 2025

The following labels could not be found: instrumentation-pinecone.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 17, 2025

Superseded by #536.

@dependabot dependabot bot closed this Feb 17, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/packages/instrumentation-pinecone/pinecone-database/pinecone-4.1.0 branch February 17, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant