Class: QdrantVectorStore
Qdrant vector store.
Extends
Implements
Constructors
new QdrantVectorStore()
new QdrantVectorStore(
__namedParameters
):QdrantVectorStore
Creates a new QdrantVectorStore.
Parameters
• __namedParameters: QdrantParams
Returns
Overrides
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:59
Properties
batchSize
batchSize:
number
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:44
collectionInitialized
private
collectionInitialized:boolean
=false
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:48
collectionName
collectionName:
string
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:45
db
private
db:QdrantClient
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:47
embedModel
embedModel:
BaseEmbedding
Inherited from
Source
packages/llamaindex/src/storage/vectorStore/types.ts:86
storesText
storesText:
boolean
=true
Implementation of
VectorStoreNoEmbedModel
. storesText
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:42
Methods
add()
add(
embeddingResults
):Promise
<string
[]>
Adds the given nodes to the vector store.
Parameters
• embeddingResults: BaseNode
<Metadata
>[]
List of nodes
Returns
Promise
<string
[]>
List of node IDs
Implementation of
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:188
buildPoints()
buildPoints(
nodes
):Promise
<object
>
Builds a list of points from the given nodes.
Parameters
• nodes: BaseNode
<Metadata
>[]
Returns
Promise
<object
>
ids
ids:
string
[]
points
points:
PointStruct
[]
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:140
buildQueryFilter()
private
buildQueryFilter(query
):Promise
<null
|object
>
Qdrant filter builder
Parameters
• query: VectorStoreQuery
The VectorStoreQuery to be used
Returns
Promise
<null
| object
>
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:299
client()
client():
QdrantClient
Returns the Qdrant client.
Returns
QdrantClient
Qdrant client
Implementation of
VectorStoreNoEmbedModel
. client
Source
packages/llamaindex/src/storage/vectorStore/QdrantVectorStore.ts:91