LLM_Model / qdrant_instance.py
shreekantkalwar's picture
ensemble
b3e9a96
raw
history blame contribute delete
466 Bytes
from qdrant_client import QdrantClient, models
import os
from dotenv import load_dotenv
load_dotenv()
print("Connecting to Qdrant...")
qdrant_m3 = QdrantClient(
url=os.getenv("QDRANT_URL_M3"),
api_key=os.getenv("QDRANT_API_KEY_M3"),
)
qdrant_large = QdrantClient(
url=os.getenv("QDRANT_URL_LARGE"),
api_key=os.getenv("QDRANT_API_KEY_LARGE"),
)
# qdrant = QdrantClient(host="localhost", port=6333)