참고소스 수정본
This commit is contained in:
31
참고/neo4j-graphrag-python-main/examples/customize/retrievers/external/qdrant/README.md
vendored
Normal file
31
참고/neo4j-graphrag-python-main/examples/customize/retrievers/external/qdrant/README.md
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
### Start services locally
|
||||
|
||||
Run the following command to spin up Neo4j and Qdrant containers.
|
||||
|
||||
```bash
|
||||
docker compose -f tests/e2e/docker-compose.yml up
|
||||
```
|
||||
|
||||
### Write data (once)
|
||||
|
||||
Run this from the project root to write data to both Neo4J and Qdrant.
|
||||
|
||||
```bash
|
||||
uv run python -m examples.customize.retrievers.external.qdrant.populate_dbs
|
||||
```
|
||||
|
||||
### Install Qdrant client
|
||||
|
||||
```bash
|
||||
pip install qdrant-client
|
||||
```
|
||||
|
||||
### Search
|
||||
|
||||
```bash
|
||||
# search by vector
|
||||
uv run python -m examples.customize.retrievers.external.qdrant.vector_search
|
||||
|
||||
# search by text, with embeddings generated locally
|
||||
uv run python -m examples.customize.retrievers.external.qdrant.text_search
|
||||
```
|
||||
Reference in New Issue
Block a user