Vector store (Pinecone)
Vector store (Pinecone) · Type
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
client | Client |
Methods
Section titled “Methods”addDocument
Section titled “addDocument”store.addDocument(document: Document)
No description yet.
addDocuments
Section titled “addDocuments”store.addDocuments(documents: array)
No description yet.
createCollection
Section titled “createCollection”store.createCollection(name: string, embeddingLength: int) → Response
No description yet.
createCollectionIfDoesNotExist
Section titled “createCollectionIfDoesNotExist”store.createCollectionIfDoesNotExist(name: string, embeddingLength: int) → bool
No description yet.
store.query(embedding: array, k?: int = 4, additionalArguments?: array = []) → Document[]
No description yet.
setClient
Section titled “setClient”store.setClient(client: Client)
No description yet.
setDistance
Section titled “setDistance”store.setDistance(distance: string)
No description yet.
setIndexHost
Section titled “setIndexHost”store.setIndexHost(indexHost: string)
No description yet.