openllmetry-js
openllmetry-js copied to clipboard
chore(deps): bump @pinecone-database/pinecone from 2.2.2 to 3.0.0 in /packages/sample-app
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 the2024-07API 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.0b4187c0v3 README tweaks (#244)02370e5Update readme for 2024-07 release (#242)3771e73Add console warning when using SDK in browser context (#240)890afaeImplement Deletion Protection (#238)2311277Remove support for Node<18.0.0(#239)6bfb064Add newCreateIndexSpectypes, regenerate from latest OpenAPI spec (#237)38080f4Add Inference API /embed endpoint to July RC branch (#230)fc10094AddsparseVectortoQueryByVectorValuestype (#236)8ded5c6Add openapi code generation script and api versioning (#235)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The following labels could not be found: sample-app.
Superseded by #430.