Class: PineconeVectorStore
Provides support for writing and querying vector data in Postgres.
Implements
Constructors
constructor
• new PineconeVectorStore(params?
): PineconeVectorStore
Parameters
Name | Type |
---|---|
params? | PineconeParams |
Returns
Defined in
packages/core/src/storage/vectorStore/PineconeVectorStore.ts:43
Properties
chunkSize
• chunkSize: number
Defined in
packages/core/src/storage/vectorStore/PineconeVectorStore.ts:41
db
• Optional
db: Pinecone
Defined in
packages/core/src/storage/vectorStore/PineconeVectorStore.ts:39
indexName
• indexName: string
Defined in
packages/core/src/storage/vectorStore/PineconeVectorStore.ts:40
storesText
• storesText: boolean
= true
Implementation of
Defined in
packages/core/src/storage/vectorStore/PineconeVectorStore.ts:29
Methods
add
▸ add(embeddingResults
): Promise
<string
[]>
Adds vector record(s) to the table.
Parameters
Name | Type | Description |
---|---|---|
embeddingResults | BaseNode <Metadata >[] | The Nodes to be inserted, optionally including metadata tuples. |