qdrant: new Qdrant implementation (#24164)

This commit is contained in:
Anush
2024-07-12 08:22:02 +05:30
committed by GitHub
parent 35784d1c33
commit 7014d07cab
8 changed files with 1082 additions and 35 deletions

View File

@@ -23,6 +23,7 @@ from typing import (
)
import numpy as np
from langchain_core._api.deprecation import deprecated
from langchain_core.documents import Document
from langchain_core.embeddings import Embeddings
from langchain_core.runnables.config import run_in_executor
@@ -65,6 +66,7 @@ def sync_call_fallback(method: Callable) -> Callable:
return wrapper
@deprecated(since="0.1.2", alternative="QdrantVectorStore", removal="0.5.0")
class Qdrant(VectorStore):
"""`Qdrant` vector store.