This release adds support for creating and configuring index readCapacity for BYOC indexes.
// Create a BYOC index with dedicated read capacity
await pinecone.createIndex({
name: 'my-byoc-index',
dimension: 1536,
metric: 'cosine',
spec: {
byoc: {
environment: 'aws-us-east-1-b921',
readCapacity: {
mode: 'Dedicated',
nodeType: 'b1',
manual: { replicas: 1, shards: 1 },
},
},
},
});It also includes support for maxCandidates and scanFactor in the Index.query operation. This parameter is only supported for dedicated (DRN) dense indexes:
const results = await index.query({
vector:[0.6, 0.2, 0.4, 0.7, 0.9],
topK: 10,
scanFactor: 2.0,
maxCandidates: 500,
});What's Changed
- pass git token with the create draft release with notes job by @austin-denoble in #377
- Implement
readCapacityconfiguration support for BYOC indexes by @austin-denoble in #378 - Implement
scan_factorandmax_candidatesby @austin-denoble in #379
Full Changelog: v7.0.0...v7.1.0