Qdrant-readme-2.py
· 219 B · Python
原始文件
from qdrant_client import QdrantClient
qdrant = QdrantClient(":memory:") # Create in-memory Qdrant instance, for testing, CI/CD
# OR
client = QdrantClient(path="path/to/db") # Persists changes to disk, fast prototyping
1 | from qdrant_client import QdrantClient |
2 | qdrant = QdrantClient(":memory:") # Create in-memory Qdrant instance, for testing, CI/CD |
3 | # OR |
4 | client = QdrantClient(path="path/to/db") # Persists changes to disk, fast prototyping |