Download src/tests/test_qdrant.py from ZhangNguyen/Legislation_GraphRag: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/ZhangNguyen/Legislation_GraphRag/resolve/main/src/tests/test_qdrant.py
- Command line
-
hf download hf://spaces/ZhangNguyen/Legislation_GraphRag/src/tests/test_qdrant.py
-
curl -L -o test_qdrant.py https://huggingface.co/spaces/ZhangNguyen/Legislation_GraphRag/resolve/main/src/tests/test_qdrant.py
281 Bytes
| from src.storage.qdrant_store import get_qdrant_client,ensure_collection | |
| from src.app.settings import settings | |
| def main(): | |
| client = get_qdrant_client() | |
| ensure_collection(client) | |
| print("Ok. Collection:",settings.qdrant_collection) | |
| if __name__ == "__main__": | |
| main() |