ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying Pinecone client for anything not wrapped here (e.g. collections, assistants, inference).
List all indexes in the project.
Describe a single index (dimension, metric, host, spec, ready status).
Create a new index. options.spec selects the deployment shape -
{ serverless: { cloud, region } } for a serverless index or
{ pod: { environment, podType, ... } } for a pod-based index - and is
required by the underlying SDK, matching Pinecone's actual index
lifecycle (there is no dimension-less/spec-less index).
Delete an index by name. Irreversible - all vectors in every namespace are destroyed with it.
Upsert one or more vector records into indexName. If a record's id
already exists, its values/metadata are overwritten in full (not
merged) - this is the same "insert or fully replace" semantics as the
real Pinecone upsert API.
Find the topK records most similar to a query vector (options.vector)
or to an existing record's vector (options.id). See
QueryVectorsOptions/the real SDK's QueryOptions for
filter/includeMetadata/includeValues.
Optionalnamespace: stringFetch one or more records by id. Ids that don't exist are simply absent from records in the response.
Update an existing record by id. A provided values array overwrites
the stored vector; a provided metadata object is merged into the
existing metadata (only the given fields are added/changed, matching
the real SDK's partial-update semantics).
Delete records by id.
Delete every record matching a metadata filter (e.g. { genre: { $eq: 'classical' } }).
Delete every record in a namespace (or the default namespace, if none is given).
Record counts per namespace, the index's configured dimension, and (for pod-based indexes) fullness.
PineconeStorewraps the@pinecone-database/pineconeclient and exposes index administration plus the vector data-plane operations (upsert/query/fetch/update/delete) as a typed, promise-based API.Every data-plane method (
upsert,query,fetch,update,deleteByIds,deleteByFilter,deleteAll,describeIndexStats) targets a specific index by name and accepts an optionalnamespaceto scope the operation, mirroring the real SDK'sindex.namespace(ns)pattern - Pinecone partitions the vectors within a single index into namespaces, and most operations are namespace-scoped rather than index-wide.