openllmetry-js icon indicating copy to clipboard operation
openllmetry-js copied to clipboard

chore(deps): bump @pinecone-database/pinecone from 2.2.2 to 3.0.0 in /packages/sample-app

Open dependabot[bot] opened this issue 1 year ago • 1 comments

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

Release notes

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

Release v3.0.0

Features

API versioning

This updated release of the Pinecone TypeScript SDK depends on API version 2024-07. This v3 SDK release line should continue to receive fixes as long as the 2024-07 API version is in support.

Inference API

Try out Pinecone's new Inference API, currently in public preview.

import { Pinecone } from '@pinecone-database/pinecone';

const client = new Pinecone({ apiKey: 'YOUR_API_KEY' }); const model = 'multilingual-e5-large';

const text = [ 'Turkey is a classic meat to eat at American Thanksgiving.', 'Many people enjoy the beautiful mosques in Turkey.', ];

async function generateDocEmbeddings() { try { return await client.inference.embed( model, input: text, params: { inputType: 'passage', truncate: 'END' } ); } catch (error) { console.error('Error generating embeddings:', error); } }

Deletion Protection

Use deletion protection to prevent your most important indexes from accidentally being deleted. This feature is available for both serverless and pod indexes.

To enable this feature for existing indexes, use configureIndex.

import { Pinecone } from '@pinecone-database/pinecone';

const client = new Pinecone({ apiKey: 'YOUR_API_KEY' });

// Enable deletion protection await client.configureIndex('example-index', { deletionProtection: 'enabled' });

... (truncated)

Commits
  • b5a66e6 [skip ci] Publish release v3.0.0
  • b4187c0 v3 README tweaks (#244)
  • 02370e5 Update readme for 2024-07 release (#242)
  • 3771e73 Add console warning when using SDK in browser context (#240)
  • 890afae Implement Deletion Protection (#238)
  • 2311277 Remove support for Node <18.0.0 (#239)
  • 6bfb064 Add new CreateIndexSpec types, regenerate from latest OpenAPI spec (#237)
  • 38080f4 Add Inference API /embed endpoint to July RC branch (#230)
  • fc10094 Add sparseVector to QueryByVectorValues type (#236)
  • 8ded5c6 Add openapi code generation script and api versioning (#235)
  • 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)

dependabot[bot] avatar Aug 05 '24 13:08 dependabot[bot]

The following labels could not be found: sample-app.

dependabot[bot] avatar Aug 05 '24 13:08 dependabot[bot]

Superseded by #430.

dependabot[bot] avatar Aug 26 '24 13:08 dependabot[bot]