The read capacity configuration for an index. Omit it to use on-demand capacity.
import type { ReadCapacity } from '@pinecone-database/pinecone';const onDemand: ReadCapacity = { mode: 'OnDemand' };const dedicated: ReadCapacity = { mode: 'Dedicated', dedicated: { nodeType: 't1', scaling: 'Manual', manual: { replicas: 2, shards: 1 }, },}; Copy
import type { ReadCapacity } from '@pinecone-database/pinecone';const onDemand: ReadCapacity = { mode: 'OnDemand' };const dedicated: ReadCapacity = { mode: 'Dedicated', dedicated: { nodeType: 't1', scaling: 'Manual', manual: { replicas: 2, shards: 1 }, },};
Dedicated read nodes
The read capacity configuration for an index. Omit it to use on-demand capacity.