Class: QdrantVectorStore
Qdrant vector store.
Implements
Constructors
constructor
• new QdrantVectorStore(«destructured»
): QdrantVectorStore
Creates a new QdrantVectorStore.
Parameters
Name | Type |
---|---|
«destructured» | QdrantParams |
Returns
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:53
Properties
batchSize
• batchSize: number
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:39
collectionInitialized
• Private
collectionInitialized: boolean
= false
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:43
collectionName
• collectionName: string
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:40
db
• Private
db: QdrantClient
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:42
storesText
• storesText: boolean
= true
Implementation of
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:37
Methods
add
▸ add(embeddingResults
): Promise
<string
[]>
Adds the given nodes to the vector store.
Parameters
Name | Type | Description |
---|---|---|
embeddingResults | BaseNode <Metadata >[] | List of nodes |
Returns
Promise
<string
[]>
List of node IDs
Implementation of
Defined in
packages/core/src/storage/vectorStore/QdrantVectorStore.ts:180
buildPoints
▸ buildPoints(nodes
): Promise
<{ ids
: string
[] ; points
: PointStruct
[] }>
Builds a list of points from the given nodes.
Parameters
Name | Type |
---|---|
nodes | BaseNode <Metadata >[] |