Buckets:

download
raw
443 Bytes
import os
from functools import lru_cache
from sentence_transformers import SentenceTransformer
COLLECTION_NAME = "lakeflow_chunks"
@lru_cache
def get_qdrant_client():
from qdrant_client import QdrantClient
return QdrantClient(url=os.getenv("QDRANT_URL", "http://localhost:6333"))
@lru_cache
def get_embedding_model() -> SentenceTransformer:
return SentenceTransformer(
"sentence-transformers/all-MiniLM-L6-v2"
)

Xet Storage Details

Size:
443 Bytes
·
Xet hash:
d42857b157b4a270d82144a0507857a211042bd2a4c424319ec569a2123e79d0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.