Interface PineconeVectorStoreConfig

Configuration specific to Pinecone.

interface PineconeVectorStoreConfig {
    id: string;
    customProps?: Record<string, any>;
    type: "pinecone";
    apiKey: string;
    indexHost: string;
    namespace?: string;
    defaultDimension?: number;
}

Hierarchy (view full)

Properties

id: string

A unique identifier for this specific provider instance (e.g., "pinecone-main-prod", "weaviate-dev-local"). This ID is used by the VectorStoreManager to retrieve this provider.

customProps?: Record<string, any>

Any other custom properties or configurations specific to this provider instance not covered by standard fields.

type: "pinecone"

The type of the vector store provider (e.g., "pinecone", "weaviate", "in_memory", "lancedb"). This helps in selecting the correct implementation.

apiKey: string

Pinecone API key. Required.

indexHost: string

Pinecone index host URL (e.g. 'https://my-index-abc123.svc.aped-1234.pinecone.io'). This is the Data Plane endpoint for a specific index — NOT the control plane URL. Find it in the Pinecone console under your index details.

namespace?: string

Default namespace for operations.

Default

'' (default namespace)
defaultDimension?: number

Default embedding dimensions.

Default

1536