mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
@@ -28,8 +28,10 @@ client = qdrant_client.QdrantClient(
|
||||
api_key="<qdrant-api-key>", # For Qdrant Cloud, None for local instance
|
||||
)
|
||||
|
||||
index = QdrantVectorStore(client=client, collection_name="documents")
|
||||
vector_store = QdrantVectorStore(client=client, collection_name="documents")
|
||||
index = VectorStoreIndex.from_vector_store(vector_store=vector_store)
|
||||
|
||||
```
|
||||
|
||||
The library [comes with a notebook](https://github.com/jerryjliu/llama_index/blob/main/docs/examples/vector_stores/QdrantIndexDemo.ipynb)
|
||||
that shows an end-to-end example of how to use Qdrant within LlamaIndex.
|
||||
that shows an end-to-end example of how to use Qdrant within LlamaIndex.
|
||||
|
||||
Reference in New Issue
Block a user